/* Import Roboto font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* 🎨 Global Color Variables for DTC Website */
:root {
  /* 🌟 Primary Brand Colors */
  --primary-color: #ffc44d; /* Main CTA Button, Highlights */
  --secondary-color: #333; /* Secondary Accent (Dark Blue) */
  --tertiary-color: #cd0d0d; /* Additional Accent (Warm Yellow) */

  /* 🖥️ Background Colors */
  --background-light: #f8f9fa; /* Light Backgrounds */
  --background-dark: #000000; /* Dark Sections */
  --background-gray: #000000; /* Light Gray Sections */
  --background-card: #ffffff; /* Light Gray Sections */
  --background-light-grey: #ededed; /* Light Backgrounds */

  /* 📝 Text Colors */
  --text-primary: #4e4c4c; /* Main Text Color */
  --text-secondary: #ffffff; /* Secondary Text (Muted) */
  --text-inverse: #ffffff; /* Text on Dark Backgrounds */
  --text-card: #333333; /* Text on Dark Backgrounds */
  --text-dark: #333333;

  /* 🚀 UI Element Colors */
  --error-color: #d32f2f; /* Errors, Warnings */
  --success-color: #28a745; /* Success Messages */
  --info-color: #007bff; /* Informational Highlights */
  --overlay-bg: rgba(0, 0, 0, 0.8); /* Pop-ups, Modal Overlays */

  /* 🎨 Button & Link Colors */
  --button-main: #083541; /* CTA Hover Effect */
  --button-hover: #e0522a; /* CTA Hover Effect */
  --button-disabled: #cccccc; /* Disabled Button */
  --link-color: #12467d; /* Hyperlink Color */
  --link-hover: #004494; /* Hyperlink Hover */

  /* 📱 Responsive & Misc */
  --mobile-nav-bg: rgba(20, 33, 61, 0.95); /* Mobile Navigation */
  --border-color: #e0e0e0; /* Borders & Dividers */
  --shadow-color: rgba(0, 0, 0, 0.1); /* Box Shadows */
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background-light);
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
}
  
/* Header and Navigation */
header {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgb(0, 0, 0);
    position: relative;
    z-index: 1000;
    width: 100%;
    box-sizing: border-box;
}

/* Logo container */
.logo-container {
    display: flex;
    align-items: center;
    min-width: 200px; /* Ensure minimum width for logo area */
}

.logo {
    height: 50px;
    margin-right: 10px;
}

/* Desktop and Mobile Logo Display */
.desktop-logo {
    display: block;
}

.mobile-logo {
    display: none;
}

.company-name {
    font-size: 1.5rem;
    text-decoration: none;
    color: #000;
}

/* Desktop Navigation */
.desktop-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin-right: 2rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-left: 1rem;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    header {
        justify-content: space-between;
        padding: 1rem;
    }

    .logo-container {
        flex: 0 1 auto;
    }

    /* Show mobile logo, hide desktop logo */
    .desktop-logo {
        display: none;
    }

    .mobile-logo {
        display: block;
    }

    .hamburger {
        display: block;
        position: static; /* Remove absolute positioning */
    }
}

/* Hamburger Animation */
.hamburger.menu-open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.menu-open .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.menu-open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Styles */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(0, 0, 0);
    z-index: 999;
    flex-direction: column;
    padding: 2rem;
    align-items: center;
    justify-content: flex-start;
    padding-top: 80px; /* Reduced from 100px to bring items up */
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    width: 100%;
    padding-top: 1rem; /* Add some space at the top */
}

.mobile-nav-links li {
    margin: 1rem 0;
}

.mobile-nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    display: block;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center; /* Ensures both text and image are centered */
    flex-wrap: wrap;
    padding: 2rem;
    text-align: center;
    gap: 2rem; /* Adds spacing between text and image */
    background-color: var(--background-light-grey);
  }
  
  /* Hero Image */
  .hero-image {
    max-width: 500px; /* Limit the size */
    height: auto; /* Maintain aspect ratio */
    width: 100%; /* Ensure responsiveness */
    object-fit: cover;
    display: block;
    margin: 0 auto; /* Ensures centering */
    border-radius: 10px; /* Optional */
  }
  
/* Desktop: Add Left Padding */
@media (min-width: 1200px) {
    .hero {
      flex-direction: row; /* Ensure text and image are in a row */
      text-align: left; /* Align text to the left */
      padding-left: 15rem; /* Add 10rem left padding */
      padding-right: 15rem; /* Add 10rem left padding */
    }
    
    .hero-text {
      flex: 1;
      text-align: left;
    }
  
    .hero-image {
      flex: 1;
      max-width: 450px; /* Adjust size */
      margin: 0 auto; /* Center properly */
    }
  }
  
  @media (max-width: 768px) {
    .hero {
      flex-direction: column;
      text-align: center;
    }
  
    .hero-text {
      max-width: 100%;
    }
  
  
    .hero-image {
        max-width: 100%; /* Ensures image does not exceed container */
        height: auto; /* Keeps the original aspect ratio */
        object-fit: cover; /* Ensures the image doesn't stretch */
        display: block;
      }
      
  }
  
  
  
.cta {
    background-color: #ffc44d;
    color: #000;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
}
  
/* Carousel */
.carousel {
    padding: 2rem;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    background-color: var(--background-light-grey);
}
  
.carousel-container {
    display: flex; /* Change back to flex for horizontal scrolling */
    overflow-x: auto;
    gap: 1.5rem;
    margin-top: 1.5rem;
    scroll-behavior: smooth; /* Smooth scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scrollbar-width: thin; /* Firefox */
    padding-bottom: 1rem; /* Space for scrollbar */
}
  
/* Hide scrollbar but keep functionality */
.carousel-container::-webkit-scrollbar {
    height: 6px;
}

.carousel-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.carousel-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.product {
    flex: 0 0 80%; /* Mobile: 1 full card + 20% peek */
    min-width: 250px;
    background-color: var(--background-card);
    color: var(--text-card);
    padding: 1.5rem;
    border-radius: 12px;
}

/* Desktop: 4 full cards + 20% peek */
@media (min-width: 768px) {
    .product {
        flex: 0 0 22%; /* 4 cards (4 × 22% = 88%) + 12% peek of next */
        min-width: 180px;
    }
}

/* Instagram Carousel Section */
.ig-carrousel {
    padding: 2rem;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
}

.ig-carrousel h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Common Ninja Component Styling */
.commonninja_component {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

/* Ensure Common Ninja content doesn't overflow */
.commonninja_component iframe,
.commonninja_component div,
.commonninja_component * {
    max-width: 100% !important;
    overflow-x: hidden !important;
}



/* Responsive Instagram Carousel */
@media (max-width: 1200px) {
    .ig-carrousel {
        max-width: 95%;
        padding: 0rem;
    }
}

@media (max-width: 992px) {
    .ig-carrousel {
        max-width: 95%;
        padding: 0rem;
    }
    
    .ig-carrousel h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .ig-carrousel {
        width: 95%;
        padding: 0rem;
        margin: 0px auto;
        overflow: hidden;
    }
    
    .ig-carrousel h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .commonninja_component {
        overflow: hidden;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .ig-carrousel {
        width: 98%;
        padding: 0rem;
        margin: 0px auto;
        overflow: hidden;
    }
    
    .ig-carrousel h2 {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
    }
    
    .commonninja_component {
        overflow: hidden;
        width: 100%;
        max-width: 100%;
    }
}
  
.product img {
    max-width: 100%;
    border-radius: 12px;
    height: auto;
}
  
/* Footer Styles */
.footer {
  background-color: #000;
  color: white;
  padding: 40px 0 20px;
}

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

/* Footer Content Layout */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-left-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-right: 4rem;
  flex-shrink: 0;
}

.footer-logo-section {
  flex-shrink: 0;
}

.footer-logo {
  height: 200px;
  width: auto;
}

.footer-right-section {
  display: flex;
  gap: 40px;
  flex: 1;
  justify-content: flex-end;
}

.footer-column {
  min-width: 150px;
  flex: 1;
  max-width: 200px;
}

.footer-column h4 {
  color: white;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-column p {
  margin: 8px 0;
  font-size: 14px;
}

.footer-column a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-column a:hover {
  opacity: 0.8;
}

/* Footer Menu */
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin: 8px 0;
}

.footer-menu a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.footer-menu a:hover {
  opacity: 0.8;
}

/* Footer Social Section */
.social-section {
  margin-top: 20px;
}

.social-section h4 {
  color: white;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-links a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.social-links a:hover {
  opacity: 0.8;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.back-to-top {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.back-to-top:hover {
  opacity: 0.8;
}

/* Mobile Footer Layout */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
  }
  
  .footer-left-section {
    order: 2;
    margin-top: 30px;
    align-items: center !important;
    text-align: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding-right: 0rem;
  }
  
  .footer-logo {
    height: 80px;
    margin: 0 auto !important;
  }
  
  .footer-right-section {
    order: 1;
    flex-direction: column !important;
    gap: 30px;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    text-align: center !important;
  }
  
  .footer-column {
    min-width: auto !important;
    text-align: center !important;
    max-width: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
  }
  
  .footer-bottom {
    flex-direction: column !important;
    gap: 15px;
    text-align: center !important;
    align-items: center !important;
  }
  
  .social-links {
    align-items: center !important;
    justify-content: center !important;
  }
  
  .footer-menu {
    text-align: center !important;
    align-items: center !important;
  }
  
  .footer-menu li {
    text-align: center !important;
  }
}

/* Back to Top Link */
.back-to-top {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--text-secondary);
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-top: 1rem;
    text-align: center;
}

.back-to-top:hover {
    background-color: var(--text-secondary);
    color: var(--background-dark);
}
  
/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
  
    .hero-text {
        max-width: 100%;
    }
  
    .hero-image {
        max-width: 100%;
        margin-top: 1rem;
    }

    .nav-links ul {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .carousel {
        width: 95%;
        padding: 1rem;
    }
    
    .product {
        width: calc(85% - 1.125rem); /* Show most of one item with peek at next */
        min-width: 250px;
    }
}

@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }
}

/* Inventory Section */
.inventory {
    padding: 0.2rem;
    text-align: center;
}
  

/* Inventory Grid Container - Default (Desktop) */
/* Inventory Grid Container */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Default responsive grid */
    gap: 1rem;
    margin-top: 2rem;
    width: 100%; /* Use full available space */
    max-width: 100vw;
    padding: 0; /* Remove unnecessary padding */
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
  
  /* Desktop: Limit to 6 Columns */
  @media (min-width: 1200px) {
    .grid-container {
      grid-template-columns: repeat(6, 1fr); /* Maximum 6 columns */
    }
  }
  
  /* Medium Screens: Reduce to 4 Columns */
  @media (max-width: 1199px) {
    .grid-container {
      grid-template-columns: repeat(4, 1fr);
    }
  }
  
  /* Tablets & Small Screens: Reduce to 3 Columns */
  @media (max-width: 992px) {
    .grid-container {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  /* Mobile: Reduce Side Margins Even Further */
  @media (max-width: 768px) {
    .grid-container {
      grid-template-columns: repeat(2, minmax(0, 1fr)); /* Force two equal columns */
      padding: 0 0.5rem; /* Reduce padding to maximize space */
      max-width: 98vw; /* Nearly full width */
    }
  }
  
  /* Extra Small Screens: Still Keep 2 Equal Columns */
  @media (max-width: 500px) {
    .grid-container {
      grid-template-columns: repeat(2, minmax(0, 1fr)); /* Maintain equal columns */
      padding: 0 0.25rem; /* Reduce padding further */
      max-width: 98vw;
    }
  }
  
.card {
  background-color: var(--background-card);
  color: var(--text-card);
    border-radius: 8px;
    text-align: center;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
  
.card-img {
    width: 100%; /* Full width of the container */
    aspect-ratio: 1 / 1; /* Enforce square aspect ratio */
    object-fit: cover; /* Crop the image to fill the container */
    border-radius: 8px; /* Optional: Rounded corners */
    margin-bottom: 0.5rem;
  }
  
.card-brand,
.card-model,
.card-reference,
.card-price {
    margin: 0.5rem 0;
}
  
.cta {
    background-color: var(--button-main);
    color: var(--text-secondary);
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
}

/* Product Details */
.product-details {
    padding: 2rem;
    text-align: center;
  }
  
  .product-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  

  /* Product Image - Rounded Corners */
.product-image {
    max-width: 500px; /* Ensure it doesn't exceed 500px */
    max-height: 500px; /* Maintain square bounds */
    width: 100%; /* Responsive sizing */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensures proper alignment */
    margin: 0 auto; /* Centers the image */
    border-radius: 20px; /* Adjust this value for more or less rounding */
  }
  
  
  .product-info {
    max-width: 600px;
    text-align: center;
  }
  
  .product-info h2,
  .product-info p {
    margin: 0.5rem 0;
  }
  

  /* Loader Styles */
.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }
  
 /* Loading Spinner */
.spinner {
  display: none; /* Hidden by default */
  margin: 20px auto;
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top: 5px solid #ffc44d; /* Matches CTA color */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Error Message */
.error-message {
  color: red;
  text-align: center;
  font-size: 1.2rem;
  display: none; /* Hidden by default */
}

  
  /* Pop-up Styles */
.popup {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-light);
    color: var(--text-primary);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding-top: 0rem;
  }
  
  /* Pop-up Content */
  .popup-content {
    background-color: var(--background-light);
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
  }
  
  /* Ensure brand, model, and reference text is visible */
  .popup-content h2,
  .popup-content p {
    color: #000000; /* Black text for readability */
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
  }
  .popup-content h3 {
    color: #011815; /* Black text for readability */
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    text-align: left;
  }

  /* Close button */
  .close-popup {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    color: #000; /* Black for visibility */
    font-size: 2rem;
    cursor: pointer;
  }
  
/* General Form Styling */
.popup-form {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  width: 100%; /* Ensure form takes full width */
  text-align: left; /* Center button */
}

/* Style Input Fields */
.popup-form input,
.popup-form textarea {
  width: 100%; /* Ensure all fields take full width */
  max-width: 100%; /* Prevent overflow */
  padding: 0.75rem;
  border: 1px solid #777777;
  border-radius: 5px;
  background-color: var(--background-light);
  color: var(--text-primary);
  font-size: 1rem;
  box-sizing: border-box; /* Ensures padding doesn't affect width */
}

/* Ensure Message Field Matches Other Inputs */
.popup-form textarea {
  resize: vertical; /* Allow vertical resizing */
  height: 100px; /* Match typical input field height */
}

/* Center the Submit Button */
.popup-form button {
  display: block;
  margin: 1rem auto 0; /* Centers button below the message field */
  padding: 0.75rem 2rem;
  font-size: 1.2rem;
  background-color: var(--button-main);
  color: var(--text-secondary);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

/* Button Hover Effect */
.popup-form button:hover {
  background-color: var(--button-main);
}

  
  /* Submit Button */
  .popup-form .cta {
    background-color: var(--button-main);
    color: var(--text-secondary);
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
  }
  
  /* Thank You Message */
  .thank-you-message h3 {
    color: #000;
  }
  
  .thank-you-message p {
    color: #000;
  }
  
  /* Contact Page Container */
.contact-container {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: transparent;
    color: var(--text-primary);
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
}

/* Contact Form Styles */
/* Ensure the contact container is responsive */
.contact-container {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: transparent;
    color: var(--text-primary);
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
}
  
  /* Ensure form fields do not overflow */
  .contact-form {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  
  .contact-form label {
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--text-primary);
  }
  
  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    width: 100%; /* Ensures inputs don't exceed container width */
    max-width: 100%; /* Prevents overflow */
    padding: 0.75rem;
    border: 1px solid #2f2d2d;
    border-radius: 5px;
    background-color: #ffffff;
    color: #000000;
    font-size: 1rem;
    box-sizing: border-box; /* Prevents width from expanding */
    height: 48px; /* Consistent height for all form elements */
    margin-bottom: 1.5rem;
  }
  
  .contact-form textarea {
    height: auto; /* Allow textarea to expand */
    min-height: 48px;
    resize: vertical;
  }
  
  .contact-form button {
    margin-top: 0.5rem;
  }
  
  /* Thank You Message */
  .thank-you-message h3 {
    color: #000000;
  }
  
  .thank-you-message p {
    color: #000000;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .contact-container {
      width: 100%;
      padding: 1rem;
    }
  }

  
  /* About Page Container */
.about-container {
    max-width: 800px;
    margin: 3rem auto;
    text-align: center;
    padding: 2rem;
    background-color: var(--background-light);
    color: var(--text-primary);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  }
  
  /* About Page Images */
  .about-images {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
  }
  
  .about-image {
    max-width: 45%; /* Keep images responsive */
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .about-container {
      width: 90%;
      padding: 1.5rem;
    }
  
    .about-images {
      flex-direction: column;
      align-items: center;
    }
  
    .about-image {
      max-width: 90%;
    }
  }
  
  /* Image Carousel */
.carousel {
  position: relative;
  width: 90%;
  max-width: 500px;
  margin: 20px auto;
  text-align: center;
}

.carousel-images {
  position: relative;
  display: flex;
  overflow: hidden;
  justify-content: center;
}

.carousel-slide {
  display: none; /* Hide non-active images */
  width: 100%;
}

.carousel-slide.active {
  display: block; /* Show active image */
}

.carousel-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background-color: gray;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-dot.active {
  background-color: var(--button-main);
}

/* Mobile Menu Header Styles */
.mobile-menu-header {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  width: 100%;
}

.mobile-logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-header .logo {
  height: 100px;
  width: auto;
}

.mobile-menu-header .company-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-dark);
  text-decoration: none;
}

/* Ensure header stays white on all pages */
.feature-module header,
.contact-module header,
.services-intro header {
  background-color: white;
}

/* Mobile specific adjustments */
@media (max-width: 768px) {
    header {
        padding: 1rem; /* Ensure consistent padding */
        position: relative; /* For proper z-index handling */
    }

    .hamburger {
        position: absolute; /* Position absolutely */
        right: 1rem; /* Align to right */
        top: 50%; /* Center vertically */
        transform: translateY(-50%); /* Perfect vertical centering */
    }
}

/* Remove the blur from hero-banner::before */
.hero-banner::before {
    display: none;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3); /* Lighter overlay for the whole section */
    /* Remove backdrop-filter from here */
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .carousel-container {
        grid-template-columns: repeat(3, 1fr); /* 3 items for medium screens */
    }
}

@media (max-width: 992px) {
    .carousel-container {
        grid-template-columns: repeat(2, 1fr); /* 2 items for tablet */
    }
}

@media (max-width: 768px) {
    .carousel {
        width: 95%;
        padding: 1rem;
    }
    
    .carousel-container {
        grid-template-columns: repeat(2, 1fr); /* Keep 2 items for mobile */
    }
    
    .product {
        min-width: auto; /* Let grid handle the width */
    }
}

/* Watch Hero Section */
.watch-hero {
    padding: 2rem;
    background-color: var(--background-light);
}

.watch-hero-images {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 0 auto;
    max-width: 1200px;
}

.hero-watch-image {
    max-width: 45%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Collection Description */
.collection-description {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 2rem;
    text-align: center;
}

.collection-description h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.collection-description p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-primary);
}

/* Models Gallery */
.models-gallery {
    padding: 2rem;
    background-color: var(--background-light-grey);
}

.models-gallery h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.models-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.model-item {
    display: flex;
    background-color: var(--background-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.model-image {
    flex: 0 0 40%;
}

.model-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.model-info {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.model-info h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.model-info p {
    margin: 0.5rem 0;
}

.model-info .reference {
    color: var(--text-primary);
    font-weight: bold;
}

.model-info .model-desc {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.model-info .specs {
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.model-info .specs p {
    margin: 0;
}

.model-info .pricing {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.model-info .retail {
    color: var(--text-primary);
    text-decoration: line-through;
    opacity: 0.8;
}

.model-info .used {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .watch-hero-images {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-watch-image {
        max-width: 100%;
    }

    .model-item {
        flex-direction: column;
    }

    .model-image {
        flex: 0 0 auto;
    }

    .model-info {
        padding: 1.5rem;
    }
}

/* About Page Styles */
.about-hero {
    background-color: var(--background-dark);
    color: var(--text-secondary);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-story {
    padding: 4rem 2rem;
    background-color: var(--background-light);
}

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

.service-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.highlight-item {
    padding: 2rem;
    background-color: var(--background-light-grey);
    border-radius: 10px;
    text-align: center;
}

.service-process {
    padding: 4rem 2rem;
    background-color: var(--background-light-grey);
    text-align: center;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.step {
    padding: 2rem;
    background-color: var(--background-light);
    border-radius: 10px;
}

.cta-section {
    padding: 4rem 2rem;
    text-align: center;
    background-color: var(--background-light);
}

.cta-section .cta-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background-color: var(--tertiary-color);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

/* Responsive Design */
@media (max-width: 992px) {
    .service-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-highlights {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
    }
}

/* Contact Buttons Container */
.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* WhatsApp Button */
.whatsapp-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
    background-color: #25D366; /* WhatsApp green */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.whatsapp-button:hover {
    background-color: #128C7E; /* Darker shade for hover */
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
}

/* Make buttons stack on mobile */
@media (max-width: 768px) {
    .contact-buttons {
        flex-direction: column;
    }
    
    .whatsapp-button {
        justify-content: center;
    }
}

/* New Hero Section */
.new-hero {
    background-color: #000;
    color: white;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.new-hero-container {
    max-width: 100%;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    gap: 0;
}

.new-hero-images {
    flex: 1;
    display: flex;
    gap: 0;
    align-items: center;
    height: 100%;
}

.new-hero-image {
    width: 50%;
    height: 100vh;
    object-fit: cover;
    border-radius: 0;
}

.new-hero-content {
    position: absolute;
    left: 4rem;
    bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    z-index: 10;
    animation: fadeInFromBottom 1.2s ease-out;
}

.new-hero-text {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.2;
    color: white;
}

.new-hero-text .wixui-rich-text__text {
    color: white;
}

.new-hero-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 1rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.new-hero-cta:hover {
    background-color: white;
    color: #000;
}

.new-hero-cta .arrow {
    font-size: 1.4rem;
    font-weight: bold;
}

/* Mobile styles for new hero */
@media (max-width: 768px) {
    .new-hero {
        padding: 2rem 1rem;
        min-height: 60vh;
    }
    
    .new-hero-container {
        flex-direction: column;
        gap: 2rem;
        height: auto;
    }
    
    .new-hero-images {
        flex-direction: column;
        gap: 1rem;
        height: auto;
    }
    
    .new-hero-image {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    
    /* Hide Rolex image on mobile */
    .rolex-image {
        display: none;
    }
    
    .new-hero-content {
        position: static;
        align-items: center;
        text-align: center;
        right: auto;
        bottom: auto;
    }
    
    .new-hero-text {
        font-size: 2rem;
        text-align: center;
    }
    
    .new-hero-cta {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}

/* Hero Banner Section */
.hero-banner {
    display: none;
    background-image: url('/images/hublot-trio.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--text-light);
    text-align: center;
}

/* Ensure content stays above the blur */
.hero-banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6); /* Slightly darker background */
    border-radius: 10px;
    backdrop-filter: blur(10px); /* Blur effect only on the content box */
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: adds depth */
}

.hero-banner h1 {
  margin: 0;
  font-size: 3rem;
  line-height: 1.2;
  color: var(--text-secondary);
}

.hero-banner p {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.hero-banner-content .cta-button {
    background-color: #ffc44d; /* Match the hero button color */
    color: #000; /* Black text like the hero button */
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.hero-banner-content .cta-button:hover {
    background-color: #e6a833; /* Match the hover state */
}

/* Services Module */
.services-module {
    background-color: #000000;
    padding: 4rem 2rem;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-header h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 1rem;
}

.services-header p {
    font-size: 1.2rem;
    color: #ffffff;
    margin: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

/* Desktop styles for services module */
@media (min-width: 1024px) {
    .services-container {
        max-width: 1600px;
    }
    
    .services-grid {
        gap: 4rem;
    }
    
    .service-card {
        padding: 3rem;
    }
}

/* Tablet styles for services module */
@media (max-width: 1023px) and (min-width: 769px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Mobile styles for services module */
@media (max-width: 768px) {
    .services-module {
        padding: 2rem 1rem;
    }
    
    .services-header h2 {
        font-size: 2rem;
    }
    
    .services-header p {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}

.service-card {
    background-color: rgb(0, 0, 0);
    padding: 0rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.service-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(360deg);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card p {
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-cta {
    display: inline-block;
    background-color: #ffffff00;
    color: #ffffff;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0);
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.service-cta:hover {
    background-color: var(--button-main);
}

/* Testimonials Section */
.testimonials-section {
    background-color: white;
    padding: 4rem 2rem;
    margin-top: -40px; /* Overlap the ig-carrousel by 40px */
    position: relative;
    z-index: 10; /* Ensure testimonials appear above the carousel */
}

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

.testimonials-section h2 {
    text-align: left;
    font-size: 2.5rem;
    font-weight: 300;
    color: #333;
    margin-bottom: 3rem;
}

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

.testimonial-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px var(--button-main);
}

.testimonial-card p {
    color: #333;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
    font-size: 1.1rem;
}

/* Mobile styles for testimonials */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 2rem 1rem;
    }
    
    .testimonials-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-card p {
        font-size: 1rem;
    }
}

/* Footer Social Section */
.social-section {
  text-align: center;
  margin: 20px 0;
}

.social-section h4 {
  color: white;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-links a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.social-links a:hover {
  opacity: 0.8;
}

/* Contact Page Layout */
.contact-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
}

.contact-form-section {
  flex: 0 0 50%;
  width: 50%;
  padding: 3rem 2rem;
  box-sizing: border-box;
}

.contact-image-section {
  flex: 0 0 50%;
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-image {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  border-radius: 0;
  animation: fadeInFromBottom 1.2s ease-out;
}

@keyframes fadeInFromBottom {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Contact Layout */
@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .contact-form-section {
    flex: none;
    width: 100%;
    order: 1;
  }
  
  .contact-image-section {
    flex: none;
    width: 100%;
    order: 2;
  }
  
  .contact-image {
    width: 100%;
    height: 50vh;
  }
}

/* Form Row Layout */
.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  flex: 1;
}

/* Date Row Layout */
.date-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.date-row select {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid #ffc44d;
  border-radius: 5px;
  background-color: var(--background-light);
  color: var(--text-primary);
  font-size: 1rem;
  box-sizing: border-box;
}

/* Radio Button Group */
.radio-group {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.radio-label input[type="radio"] {
  margin: 0;
  cursor: pointer;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
}

.radio-label span {
  color: var(--text-primary);
  font-size: 1rem;
}

/* File Upload Styling */
input[type="file"] {
  display: none; /* Hide the default file input */
}

.file-upload-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgb(47, 45, 45);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 1rem 2rem;
  border: 2px solid rgb(173, 170, 170);
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  background-color: transparent;
  width: fit-content;
  margin-bottom: 1rem;
}

.file-upload-label:hover {
  background-color: white;
  color: #000;
}

/* Disabled state */
.file-upload-label.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.file-upload-label.disabled:hover {
  background-color: transparent;
  color: white;
}

/* Mobile Responsive for Form Elements */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .date-row {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .radio-group {
    flex-direction: column;
    gap: 1rem;
  }
  
  .radio-label input[type="radio"] {
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
  }
}

/* Photo List Styling */
.photo-list {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.photo-item {
  position: relative;
  width: 100px;
  height: 100px;
  border: 2px solid #ffffff;
  border-radius: 8px;
  overflow: hidden;
  background-color: #000000;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-item .remove-photo {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: rgba(255, 0, 0, 0.8);
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-item .remove-photo:hover {
  background-color: rgba(255, 0, 0, 1);
}

.photo-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  font-size: 10px;
  padding: 2px 4px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-form button {
  margin-top: 0.5rem;
}

.date-row select {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid #2f2d2d;
  border-radius: 5px;
  background-color: #ffffff;
  color: #000000;
  font-size: 1rem;
  box-sizing: border-box;
  height: 48px; /* Match other form elements */
  margin-bottom: 1.5rem;
}

/* Responsive Fix for Mobile Screens */
@media (max-width: 768px) {
  .contact-container {
    width: 100%;
    padding: 1rem;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    width: 100%;
  }
}

/* Commitment Section */
.commitment-section {
  background-image: url('/images/rolex-daytona.avif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.commitment-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.commitment-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
}

.commitment-content p {
  font-size: 2.5rem;
  line-height: 1.8;
  color: white;
  font-weight: 300;
  margin: 0;
}

/* Mobile styles for commitment section */
@media (max-width: 768px) {
  .commitment-section {
    padding: 4rem 1rem;
  }
  
  .commitment-content p {
    font-size: 1.1rem;
    line-height: 1.6;
  }
}

