:root {
--primary-color: #461740; /* Deep Purple */
--accent-color: #ef7a23;  /* Orange */
--accent-hover: #e6615a; /* Red/Orange Hover */
--text-dark: #252525;
--text-light: #666666;
--bg-light: #f9f9f9;
--white: #ffffff;
--font-heading: 'Poppins', sans-serif;
--font-body: 'Raleway', sans-serif;
}


* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}

body {
 font-family: var(--font-body);
 color: var(--text-light);
 line-height: 1.6;
 background-color: var(--white);
 overflow-x: hidden;
}

a {
 text-decoration: none;
 color: inherit;
 transition: all 0.3s ease;
}

.container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 20px;
}

/* =========================================
   Top Bar
========================================= */
.top-bar {
 background-color: var(--primary-color);
 color: var(--white);
 padding: 10px 0;
 font-size: 14px;
}

.top-bar-content {
 display: flex;
 justify-content: center;
 gap: 30px;
}

.top-bar a {
 color: var(--white);
 font-weight: 600;
}

.top-bar a:hover {
 color: var(--accent-color);
}

/* =========================================
   Main Header & Navigation
========================================= */
.main-header {
 background-color: var(--white);
 padding: 20px 0;
 box-shadow: 0 4px 6px rgba(0,0,0,0.05);
 position: sticky;
 top: 0;
 z-index: 1000;
}

.header-container {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 justify-content: space-between;
}

.brand-logo img {
 max-width: 200px;
 height: auto;
}

.header-contact {
 display: flex;
 gap: 20px;
 font-family: var(--font-heading);
 font-weight: 600;
 color: var(--primary-color);
}

.header-contact a:hover {
 color: var(--accent-color);
}

/* Navigation Styles */
.main-nav {
 width: 100%;
 margin-top: 20px;
 border-top: 1px solid #eee;
 padding-top: 15px;
}

.nav-menu {
 display: flex;
 justify-content: center;
 list-style: none;
 gap: 30px;
}

.nav-menu > li > a {
 font-family: var(--font-heading);
 font-weight: 600;
 color: var(--text-dark);
 font-size: 16px;
 padding: 10px 0;
 display: block;
}

.nav-menu > li > a:hover {
 color: var(--accent-color);
}

/* Dropdown Styles */
.dropdown {
 position: relative;
}

.dropdown i {
 font-size: 12px;
 margin-left: 5px;
}

.dropdown-menu {
 display: none;
 position: absolute;
 top: 100%;
 left: 0;
 background-color: var(--primary-color);
 min-width: 220px;
 list-style: none;
 box-shadow: 0 10px 15px rgba(0,0,0,0.1);
 z-index: 100;
 border-radius: 0 0 5px 5px;
}

.dropdown:hover .dropdown-menu {
 display: block;
 animation: fadeIn 0.3s ease;
}

.dropdown-menu li a {
 color: var(--white);
 padding: 12px 20px;
 display: block;
 border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dropdown-menu li:last-child a {
 border-bottom: none;
}

.dropdown-menu li a:hover {
 background-color: var(--accent-color);
 padding-left: 25px;
}

/* Mobile Toggle */
.nav-toggle, .nav-toggle-label {
 display: none;
}

/* =========================================
   Buttons
========================================= */
.btn-primary, .btn-secondary {
 display: inline-block;
 padding: 12px 30px;
 border-radius: 50px;
 font-family: var(--font-heading);
 font-weight: 600;
 text-transform: uppercase;
 letter-spacing: 1px;
 cursor: pointer;
}

.btn-primary {
 background-color: var(--accent-color);
 color: var(--white);
 border: 2px solid var(--accent-color);
}

.btn-primary:hover {
 background-color: transparent;
 color: var(--accent-color);
}

.btn-secondary {
 background-color: var(--primary-color);
 color: var(--white);
 margin-top: 20px;
}

.btn-secondary:hover {
 background-color: var(--accent-hover);
}

/* =========================================
   Hero Carousel Section
========================================= */
.hero-carousel {
 position: relative;
 width: 100%;
 height: 60vh;
 min-height: 400px;
 background-color: var(--primary-color);
 overflow: hidden;
}

.carousel-container {
 position: relative;
 width: 100%;
 height: 100%;
}

.slide {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 opacity: 0;
 transition: opacity 0.8s ease-in-out;
 display: flex;
 align-items: center;
 justify-content: center;
}

.slide.active {
 opacity: 1;
 z-index: 10;
}

.slide img {
 position: absolute;
 width: 100%;
 height: 100%;
 object-fit: cover;
 z-index: -1;
 filter: brightness(0.6);
}

.slide-content {
 text-align: center;
 color: var(--white);
 max-width: 800px;
 padding: 0 20px;
}

.slide-content h1 {
 font-family: var(--font-heading);
 font-size: 3.5rem;
 margin-bottom: 15px;
 color: var(--white);
 text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
 font-size: 1.2rem;
 margin-bottom: 30px;
 text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Carousel Buttons */
.prev-slide, .next-slide {
 position: absolute;
 top: 50%;
 transform: translateY(-50%);
 background: rgba(0,0,0,0.5);
 color: white;
 border: none;
 font-size: 2rem;
 padding: 15px 20px;
 cursor: pointer;
 z-index: 20;
 transition: background 0.3s;
}

.prev-slide { left: 20px; }
.next-slide { right: 20px; }

.prev-slide:hover, .next-slide:hover {
 background: var(--accent-color);
}

/* =========================================
   Intro & Highlights Grid (3 Columns)
========================================= */
.intro-section {
 padding: 80px 20px;
}

.section-title {
 text-align: center;
 max-width: 800px;
 margin: 0 auto 60px;
}

.section-title h2 {
 font-family: var(--font-heading);
 font-size: 2.2rem;
 color: var(--text-dark);
 margin-bottom: 25px;
}

.highlights-grid {
 display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 30px;
}

.highlight-card {
 background: var(--white);
 border-radius: 10px;
 overflow: hidden;
 box-shadow: 0 5px 20px rgba(0,0,0,0.08);
 transition: transform 0.3s ease;
 display: flex;
 flex-direction: column;
}

.highlight-card:hover {
 transform: translateY(-5px);
 box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.card-image img {
 width: 100%;
 height: 250px;
 object-fit: cover;
 display: block;
}

.card-content {
 padding: 30px 20px;
 text-align: center;
 flex-grow: 1;
 display: flex;
 flex-direction: column;
}

.card-content h3 {
 font-family: var(--font-heading);
 font-size: 1.5rem;
 color: var(--primary-color);
 margin-bottom: 15px;
}

.card-content p {
 margin-bottom: 20px;
 color: var(--text-light);
 flex-grow: 1;
}

.card-content .btn-secondary {
 align-self: center;
 margin-top: auto;
}

/* =========================================
   Footer
========================================= */
.site-footer {
 background-color: var(--primary-color);
 color: var(--white);
 padding: 60px 0 30px;
 text-align: center;
 margin-top: 40px;
}

.footer-content img {
 max-width: 250px;
 margin-bottom: 30px;
 filter: brightness(0) invert(1);
}

.footer-info {
 margin-bottom: 30px;
 font-size: 1.1rem;
}

.footer-info p {
 margin-bottom: 10px;
}

.copyright {
 border-top: 1px solid rgba(255,255,255,0.1);
 padding-top: 20px;
 font-size: 0.9rem;
 color: #ccc;
}

/* =========================================
   Keyframes & Utilities
========================================= */
@keyframes fadeIn {
 from { opacity: 0; transform: translateY(10px); }
 to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   Responsive Media Queries
========================================= */
@media (max-width: 992px) {
 .highlights-grid {
	 grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
	}
}

@media (max-width: 768px) {
 .header-contact {
  display: none;
 }

 .nav-toggle-label {
  display: block;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
  padding: 10px;
 }

 .nav-menu {
  display: none;
  flex-direction: column;
  width: 100%;
  gap: 0;
 }

 .nav-menu > li {
  width: 100%;
  text-align: left;
  border-bottom: 1px solid #eee;
 }

 .nav-menu > li > a {
  padding: 15px;
 }

 .dropdown-menu {
  position: relative;
  box-shadow: none;
  background-color: #f5f5f5;
  border-radius: 0;
 }

 .dropdown-menu li a {
  color: var(--text-dark);
  padding: 10px 30px;
  border-bottom: 1px solid #e0e0e0;
 }

 .nav-toggle:checked ~ .nav-menu {
  display: flex;
 }

 .top-bar-content {
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
 }

 .slide-content h1 {
  font-size: 2.5rem;
 }
 
 .hero-carousel {
  height: 50vh;
 }
}
	/* =========================================
   Inner Pages & Category Styles
========================================= */
.page-banner {
 background-color: var(--primary-color);
 color: var(--white);
 padding: 60px 20px;
 margin-bottom: 40px;
}

.page-banner h1 {
 font-family: var(--font-heading);
 font-size: 2.5rem;
 margin-bottom: 10px;
}

.page-banner p {
 font-size: 1.1rem;
 opacity: 0.9;
}

.text-center {
 text-align: center;
}

.category-section {
 padding-bottom: 80px;
}

/* =========================================
   Single Product Page Styles
========================================= */
.breadcrumbs {
 padding: 20px 20px 0;
 font-size: 0.9rem;
 color: var(--text-light);
}

.breadcrumbs a {
 color: var(--primary-color);
 font-weight: 600;
}

.breadcrumbs a:hover {
 color: var(--accent-color);
}

.single-product-layout {
 display: flex;
 flex-wrap: wrap;
 gap: 50px;
 padding: 40px 20px 60px;
}

.product-gallery {
 flex: 1;
 min-width: 300px;
}

.main-product-image {
 width: 100%;
 max-width: 600px; /* Prevents the image from getting too wide */
 height: auto;
 max-height: 600px; /* Prevents tall ../images from taking over the screen */
 object-fit: contain; /* Ensures the whole product is visible without cutting anything off */
 border-radius: 10px;
 box-shadow: 0 10px 30px rgba(0,0,0,0.1);
 display: block;
 margin: 0 auto; /* Centers the image inside its column */
}

.product-info {
 flex: 1;
 min-width: 300px;
 display: flex;
 flex-direction: column;
 justify-content: center;
}

.product-brand-logo {
 max-width: 150px;
 margin-bottom: 20px;
}

.product-info h1 {
 font-family: var(--font-heading);
 font-size: 2.5rem;
 color: var(--primary-color);
 line-height: 1.2;
 margin-bottom: 10px;
}

.product-tagline {
 font-size: 1.2rem;
 color: var(--accent-color);
 font-weight: 600;
 margin-bottom: 25px;
}

.feature-list {
 list-style: none;
 margin: 20px 0 30px;
}

.feature-list li {
 margin-bottom: 10px;
 font-weight: 500;
 color: var(--text-dark);
}

.feature-list i {
 color: var(--accent-color);
 margin-right: 10px;
}

.product-actions {
 display: flex;
 gap: 15px;
 flex-wrap: wrap;
}

.product-actions .btn-secondary {
 margin-top: 0;
 background-color: #f1f1f1;
 color: var(--text-dark);
}

.product-actions .btn-secondary:hover {
 background-color: #ddd;
}

/* Product Specifications Table */
.product-specs {
 padding: 0 20px 80px;
}

.product-specs h2 {
 font-family: var(--font-heading);
 font-size: 2rem;
 color: var(--primary-color);
 margin-bottom: 30px;
 border-bottom: 2px solid #eee;
 padding-bottom: 10px;
}

.spec-table {
 width: 100%;
 max-width: 800px;
 border-collapse: collapse;
}

.spec-table th, .spec-table td {
 padding: 15px;
 border-bottom: 1px solid #eee;
 text-align: left;
}

.spec-table th {
 background-color: var(--bg-light);
 color: var(--text-dark);
 font-weight: 600;
 width: 40%;
}

@media (max-width: 768px) {
 .single-product-layout {
  flex-direction: column;
 }
 .product-info h1 {
  font-size: 2rem;
 }
}
/* =========================================
   Contact Page Styles (UPDATED)
========================================= */
.contact-page-layout {
    display: grid;
    grid-template-columns: 40% 60%; /* Strictly forces a 2-column layout */
    gap: 60px;
    padding: 40px 20px 80px;
    align-items: start; /* Prevents the info box from stretching to the height of the form */
}

.contact-details h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info-list {
    list-style: none;
    margin-top: 30px;
}

.contact-info-list li {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--text-dark);
}

.contact-info-list i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Modern Form Elements */
.modern-form .form-group {
    margin-bottom: 20px;
}

.modern-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.modern-form input,
.modern-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    transition: border-color 0.3s;
}

.modern-form input:focus,
.modern-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-submit-btn {
    width: 100%;
    margin-top: 10px;
    border: none;
}

/* PHP Alerts (Success/Error Messages) */
.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 25px;
    font-weight: 600;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Force everything to stack on tablets and phones */
@media (max-width: 992px) {
    .contact-page-layout {
        grid-template-columns: 80%; /* Stacks to 1 column */
        gap: 40px;
    }
    .contact-form-wrapper {
        padding: 30px 20px;
    }
}
/* About Page Flexbox Layout */
.about-layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 60px 20px 80px;
}

.about-text {
    width: 47%;
}

.about-image {
    width: 47%;
}

@media (max-width: 992px) {
    .about-text,
    .about-image {
        width: 100%;
        margin-bottom: 40px;
    }
}