/* A simple reset and some base styles */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    background-color: #FCFCFC; /* Off-White */
    color: #263238; /* Deep Charcoal */
    line-height: 1.6;
}

.container {
    width: min(1400px, calc(100% - 2rem));
    margin: auto;
    padding: 0 1rem;
    overflow: hidden;
    max-width: 1400px; /* Added for better control on very large screens */
}

/* A general purpose button style */
.cta-button {
    background-color: #F9A03F; /* Bold Orange */
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.2s ease-in-out;
}

.cta-button:hover {
    background-color: #E88E2B; /* Darker Orange */
}

/* Header and Navigation */
header {
    background: #FCFCFC;
    color: #263238;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border-bottom: 1px solid transparent; /* Start with a transparent border */
}

/* New rule for the scrolled state */
header.scrolled {
    border-bottom-color: #ECEFF1; /* Add border color on scroll */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* Add the subtle shadow on scroll */
}

header .container {
    display: flex;
    justify-content: space-between; /* This will push logo left and nav right */
    align-items: center;
    position: relative; /* Added for positioning the hamburger menu */
    overflow: visible; /* Allow the mobile nav to extend outside the header container */
}

header nav {
    display: block; /* Desktop default layout; mobile overrides this inside the media query */
}

header .container nav ul li a.onpagemenuoption {
  color: #d1720d;
}

header .container nav ul li:hover a.onpagemenuoption {
  color: #000000; /* black text when hovering the active page item */
}

header .container nav ul li {
  padding: 0.8rem 1rem;
}

header .container nav ul li a {
    position: relative;
    display: inline-block;
    line-height: 1.1;
}

header .container nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0.05rem;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: width 0.25s ease;
}

header .container nav ul li:hover a::after,
header .container nav ul li a:focus-visible::after {
    width: 100%;
}

header .container nav ul li:hover {
  
  border-radius: 999px;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  background: #F9A03F;
  box-shadow: 0 8px 20px rgba(218, 62, 15, 0.12);
  transform: translateY(-2px);
}

/* Mobile touch-active state for nav items - different from desktop */
@media (max-width: 768px) {
  header .container nav ul li a {
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, text-shadow 0.2s ease;
  }

  header .container nav ul li a:active,
  header .container nav ul li a:focus-visible,
  header .container nav ul li a.mobile-touch-active {
    background: rgba(249, 160, 63, 0.26);
    color: #F9A03F;
    text-shadow: 0 0 14px rgba(249, 160, 63, 0.55);
    transform: translateY(1px) scale(1.04);
  }

  header nav.is-active ul li a {
    padding: 1rem 1rem;
    color: #263238;
    border-radius: 16px;
    margin: 0.35rem 0;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    letter-spacing: 0.12em;
    font-size: 1.25rem;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, text-shadow 0.2s ease;
  }

  header nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 0.75rem 1rem 1rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
    z-index: 1005;
  }

  header nav.is-active {
    display: flex;
  }

  header .container nav ul {
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 0;
  }

  header .container nav ul li {
    min-height: auto;
  }

  header .container nav ul li {
    width: 100%;
    padding: 0;
  }

  header .container nav ul li a {
    width: 100%;
    display: block;
    padding: 0.95rem 1.25rem;
    border-radius: 18px;
  }

  .mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(38, 50, 56, 0.22);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1000;
  }

  .mobile-nav-backdrop.is-active {
    opacity: 1;
    pointer-events: auto;
  }

  header .container nav ul li a::after {
    width: 0;
    opacity: 0;
    display: none;
  }

  header .container nav ul li:hover a::after,
  header .container nav ul li a:focus-visible::after {
    width: 0;
  }

  header nav.is-active ul li a:hover,
  header nav.is-active ul li a:focus-visible {
    background: rgba(249, 160, 63, 0.18);
    color: #D46A00;
    text-shadow: 0 0 16px rgba(249, 160, 63, 0.55);
  }

  /* Remove desktop hover pill effect on mobile to preserve mobile-only glow */
  header .container nav ul li:hover {
    background: none;
    transform: none;
    box-shadow: none;
  }
}

/* Desktop focus-visible enhancement */
header .container nav ul li a:focus-visible {
  outline: 2px solid #F9A03F;
  outline-offset: 4px;
  border-radius: 4px;
}

header a {
    color: #263238;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 25px;
}

header .logo {
    /* This is now just a container for the image */
    /* Helps ensure the image inside aligns correctly */
    display: flex;
    align-items: center;
    /* margin-right: auto; is no longer needed */
    cursor: pointer;
}
header .logo img {
    display: block;
    height: 125px; /* You can adjust this value to get the perfect size */
    width: auto; /* Maintains the aspect ratio */
    transition: transform 0.25s ease-in-out;
    transform-origin: center center;
}

header .logo:hover img,
header .logo:focus-within img {
    transform: scale(1.05);
}

header .logo.admin-hint img {
    filter: drop-shadow(0 0 6px rgba(249, 160, 63, 0.5));
}

header ul {
    padding: 0;
    list-style: none;
    margin: 0;
    display: flex;
    gap: 1.5rem;
}

/* --- Hamburger Menu Styles --- */
.hamburger-menu {
    display: none; /* Hidden by default on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute; /* Take hamburger out of flex flow */
    z-index: 1010; /* Ensure it's above the nav */
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: currentColor; /* Use the header's current text color */
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

/* Animation for hamburger to 'X' */
.hamburger-menu.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-menu.is-active span:nth-child(2) { opacity: 0; }
.hamburger-menu.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero Section */
.hero {
    /* You would add a background image of a watch here */
      /* 1. Add the background image with a semi-transparent dark overlay for text readability */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/herowatch.jpg');/*https://images.unsplash.com/photo-1523170335258-f5ed11844a49?q=80&w=2070&auto=format&fit=crop');*/
    
    /* 2. Ensure the image covers the whole section and is centered */
    background-size: cover;
    background-position: center;

    /* 3. Change text color to white to stand out against the dark background */
    color: #fff;
    padding: 7.25rem 0; /* Increased padding to make the whole section larger */
    text-align: center;

    /* Add the fade-in animation */
    animation: fadeIn 1.5s ease-in-out;

    /* Watermark branding background */
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "ETHAN WATCHES";
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11.4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.42);
    letter-spacing: 4px;
    text-transform: uppercase;
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
    filter: blur(0.12px);
    text-shadow: 0 0 28px rgba(255, 255, 255, 0.14);
}

@media (max-width: 768px) {
  .hero::before {
    font-size: 7.4rem;
    top: 45%;
    left: 50%;
    opacity: 0.32;
  }
}

/* Styles for the text inside the hero section */
.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.0rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.8rem; /* Adjust as needed */
    margin-top: 0.5rem;
}

.hero .cta-button {
    margin-top: 1rem;
}

/* Brand Story Section */
.brand-story {
    padding: 4rem 0;
    background-color: #f0f0f0;
    text-align: center;
}

.brand-story h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #263238;
}

.brand-story-content {
    max-width: 700px;
    margin: 0 auto;
}

.brand-story p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

/* A section to feature a few key services */
.featured-services {
    padding: 3rem 0;
    text-align: center;
}

.featured-services h2 {
    
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

.featured-services p {
    font-size: 1.1rem;
    margin-bottom: 0rem;
}

/* New style for the service links */
a.service-link {
    text-decoration: none;
    color: inherit; /* Inherit color from parent, so text inside .service-item keeps its color */
    display: block; /* Make the link a block element to contain the div properly */
}

/* New styles for the services grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive columns */
    gap: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.service-item {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-item .service-icon {
    height: 60px;
    margin-bottom: 1rem;
}

.service-item h3 {
    margin-bottom: 0.5rem;
}

/* Testimonials Section */
#testimonials {
    padding: 3rem 0;
    background-color: #fff; /* A clean white background */
}

#testimonials h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

/* New wrapper to enable the slider */
.testimonial-slider-wrapper {
    overflow: hidden;
    position: relative;
    /* Add a gradient mask for a smooth fade-out effect on the sides */
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.testimonials-grid {
    /* New CSS Animation Slider */
    display: flex; /* Use flexbox for a single row */
    width: fit-content; /* Make the container as wide as its content */
    animation: scroll 100s linear infinite; /* The continuous scroll animation */
    margin: 0 auto;
}

.testimonial-slider-wrapper:hover .testimonials-grid {
    animation-play-state: paused; /* Pause the animation on hover */
}

.testimonial-item {
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* Add some horizontal margin to prevent items from touching on wide grids */
    margin: 1rem; /* Add margin for spacing */
    width: 350px; /* Give each item a fixed width */
    flex-shrink: 0; /* Prevent items from shrinking */
    background: #FCFCFC;
}

.testimonial-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%; /* Circular photo */
    object-fit: cover; /* Ensures the image covers the area without distortion */
    margin-bottom: 1rem;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.testimonial-item blockquote {
    margin: 0 0 1rem 0;
    font-style: italic;
    color: #546E7A;
    flex-grow: 1; /* Allows the quote to take up available space, aligning authors */
}

.testimonial-author {
    font-weight: bold;
    margin: 0;
    color: #263238;
}

.testimonial-service {
    font-size: 0.9rem;
    color: #78909C;
    margin-top: 0.25rem;
}

/* --- Testimonial Slider Dots --- */
.testimonial-dots {
    display: none; /* Hide dots as they are not compatible with this slider type */
}

/* Watch Builder Section */
#watch-builder {
    padding: 4rem 0;
    background: #f4f6f8; /* A slightly different background to separate the section */
}

#watch-builder h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.customizer-interface {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.watch-panel {
    background: #fff;
    border-radius: 30px;
    padding: 1.75rem;
    box-shadow: 0 22px 55px rgba(17,24,39,0.08);
    width: 100%;
    max-width: 360px;
}

.watch-display {
    position: relative;
    width: 280px;
    height: 340px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.watch-strap {
    position: absolute;
    left: calc(50% - 32px);
    width: 64px;
    height: 128px;
    border-radius: 32px;
    background: linear-gradient(180deg, #5d4d3f 0%, #382611 100%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
    z-index: 1;
}

.watch-strap.top {
    top: -120px;
}

.watch-strap.bottom {
    bottom: -120px;
    transform: rotate(180deg);
}

.watch-strap.metal {
    background: linear-gradient(180deg, #e5ebf1 0%, #bcc3ce 50%, #e4e9ef 100%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6);
}

.watch-case {
    width: 240px;
    height: 240px;
    position: relative;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff, #d9e3ec 35%, #b0bfcf 100%);
    border: 18px solid #afc0cc;
    box-shadow: inset 0 10px 22px rgba(255,255,255,0.9), inset 0 -8px 28px rgba(0,0,0,0.08), 0 18px 35px rgba(0,0,0,0.14);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.watch-case::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 20%, rgba(255,255,255,0.35), transparent 28%);
}

.watch-case::after {
    content: "";
    position: absolute;
    inset: 24px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
}

.watch-case.gold {
    background: radial-gradient(circle at 30% 30%, #fff4d6, #dbc28b 40%, #bb9c5f 100%);
    border-color: #d3af6b;
}

.watch-dial {
    width: 180px;
    height: 180px;
    position: relative;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
    display: flex;
    justify-content: center;
    align-items: center;
}

.watch-dial::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.75), transparent 72%);
}

.watch-dial.black {
    background: radial-gradient(circle at 30% 30%, #2a3139, #12171d 85%);
}

.watch-hand {
    position: absolute;
    border-radius: 999px;
    transform-origin: center 80%;
}

.watch-hand.hour {
    width: 8px;
    height: 58px;
    top: 45px;
    background: #263238;
}

.watch-hand.minute {
    width: 6px;
    height: 84px;
    top: 28px;
    background: #263238;
    transform: rotate(35deg);
}

.watch-dial.black .watch-hand {
    background: #f9f3df;
}

.watch-center {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #263238;
    z-index: 2;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.35);
}

.watch-dial.black .watch-center {
    background: #f9f3df;
}

.customization-options {
    max-width: 420px;
    flex-grow: 1;
}

.customization-options fieldset {
    border: 1px solid #ddd;
    border-radius: 20px;
    margin-bottom: 1.25rem;
    padding: 1rem 1rem 0.75rem;
}

.customization-options legend {
    font-weight: 700;
    padding: 0 0.5rem;
}

.customizer-note {
    margin-bottom: 1.25rem;
    color: #5e6d77;
}

.contact-customizer-link {
    margin: 0.75rem 0 1rem;
    font-size: 0.98rem;
    color: #455a6b;
}

.contact-customizer-link a {
    color: #d1720d;
    text-decoration: none;
    border-bottom: 1px solid rgba(209,114,13,0.35);
}

.contact-customizer-link a:hover {
    color:#1e7bff;
    border-bottom-color: #1e7bff;
}

.submit-feedback {
    margin-top: 1rem;
    font-size: 0.95rem;
    min-height: 1.2rem;
}

.quote-details.hidden {
    display: none;
}

.contact-form button {
    align-self: start;
    width: auto;
}

.watch-hand.hour {
    width: 8px;
    height: 60px;
    top: 45px;
}

.watch-hand.minute {
    width: 5px;
    height: 90px;
    top: 20px;
    transform: rotate(35deg);
}

.watch-dial.black .watch-hand {
    background: #f9f3df;
}

.watch-center {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #263238;
    z-index: 2;
}

.watch-dial.black .watch-center {
    background: #f9f3df;
}

.customization-options {
    max-width: 420px;
    flex-grow: 1;
}

.customization-options fieldset {
    border: 1px solid #ddd;
    border-radius: 20px;
    margin-bottom: 1.25rem;
    padding: 1rem 1rem 0.75rem;
}

.customization-options legend {
    font-weight: 700;
    padding: 0 0.5rem;
}

.customizer-note {
    margin-bottom: 1.25rem;
    color: #5e6d77;
}

.watch-summary {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 24px;
    background: #f8fafb;
    border: 1px solid #e4e9ef;
}

.watch-summary h3 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    color: #263238;
}

.watch-summary ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.watch-summary ul li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e7eef3;
    color: #455a6b;
}

.watch-summary ul li:last-child {
    border-bottom: none;
}

.contact-content {
    padding: 4rem 0;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.05fr);
    gap: 1.5rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 1.75rem;
    box-shadow: 0 16px 35px rgba(17,24,39,0.06);
    min-width: 0;
}

.contact-card h2 {
    margin-top: 0;
    margin-bottom: 0.85rem;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 1rem;
}

.contact-list li {
    margin-bottom: 1rem;
    color: #455a6b;
}

.contact-list a {
    color: #263238;
    text-decoration: none;
    border-bottom: 1px solid rgba(38,50,56,0.15);
}

.contact-form {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    min-width: 0;
}

.contact-form label {
    font-weight: 600;
    color: #263238;
    display: grid;
    row-gap: 0.45rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border: 1px solid #dee4ea;
    border-radius: 16px;
    padding: 0.95rem 1rem;
    font: inherit;
    color: #263238;
    background: #f9fbfd;
}

.contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #f9a03f;
    box-shadow: 0 0 0 4px rgba(249,160,63,0.12);
}

.contact-form button {
    align-self: start;
    width: auto;
}

.quote-details {
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem;
    border-radius: 20px;
    background: #f7f8fb;
    border: 1px solid #e4eaef;
}

.quote-details h3 {
    margin-top: 0;
    font-size: 1rem;
    color: #263238;
}

.quote-image {
    margin-top: 1rem;
    text-align: center;
}

.quote-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid #dde4eb;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.thank-you-message {
    display: none;
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-radius: 20px;
    background: #eaf6ed;
    border: 1px solid #c7e4cf;
    color: #223a24;
}

.thank-you-message.is-visible {
    display: block;
}

.customizer-hero {
    background: #fff8ed;
    color: #263238;
    text-align: center;
    padding: 3rem 0;
}

.customizer-hero p {
    max-width: 760px;
    margin: 0.75rem auto 0;
    color: #556872;
    font-size: 1.05rem;
}

.customizer-intro {
    text-align: center;
    margin-bottom: 2rem;
    color: #546e7a;
}

.watch-panel {
    background: #fff;
    border-radius: 30px;
    padding: 2rem;
    box-shadow: 0 22px 55px rgba(17,24,39,0.08);
}

.watch-summary {
    margin-top: 1.75rem;
    padding: 1.5rem;
    border-radius: 22px;
    background: #f8fafb;
    border: 1px solid #e4e9ef;
}

.watch-summary h3 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    color: #263238;
}

.watch-summary ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.watch-summary ul li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e7eef3;
    color: #455a6b;
}

.watch-summary ul li:last-child {
    border-bottom: none;
}

.build-actions {
    margin-top: 1.5rem;
    text-align: center;
}

.build-actions .cta-button {
    width: 100%;
}

.contact-form button {
    align-self: start;
    width: auto;
}

/* --- About Page Styles --- */
.about-hero {
    background: linear-gradient(135deg, #1e7bff 0%, #52b3ff 100%);
    color: #ffffff;
    text-align: center;
    padding: 4rem 0;
}

.about-hero h1 {
    font-size: 2.8rem;
    margin: 0;
}

.about-content {
    padding: 4rem 0;
}

.about-content .container {
    max-width: 1100px; /* Widen container for grid layout */
    margin: auto;
}

.story-block {
    margin-bottom: 2rem;
    text-align: center; /* Center the text blocks */
}

.story-block h2 {
    font-size: 1.8rem;
    color: #263238;
    margin-bottom: 1rem;
}

.story-block h3 {
    font-size: 1.2rem;
    color: #263238;
    margin-bottom: 0.5rem;
}

.story-block h3 strong {
    font-weight: bold;
    font-size: 1.6rem;
    color: #263238
}

.story-block p {
    font-size: 1.1rem;
    color: #546E7A; /* A slightly softer charcoal */
}

/* New Grid Layout for About Page */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Image column is slightly smaller */
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px; /* Soft rounded corners */
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); /* Subtle shadow for depth */
}

.about-text h2 {
    font-size: 2.2rem;
    color: #263238;
    margin-top: 0;
}

/* New style for the about page CTA button */
.about-content .cta-button {
    margin-top: 1rem;
}

/* New style for the about page final statement */
.final-statement {
    text-align: center;
}

.about-text h3 {
    font-size: 1.5rem;
    color: #263238;
    margin-top: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #546E7A;
}

/* Responsive adjustments for the about page grid */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
    }
}

/* --- Gallery Page Styles --- */
.gallery-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('placeholder-for-gallery-hero.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 4rem 0;
}

.gallery-hero h1 {
    font-size: 2.8rem;
    margin: 0;
}

.gallery-content {
    padding: 4rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-in-out;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

/* --- Services Page Styles --- */
.services-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('placeholder-for-services-hero.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 4rem 0;
}

.services-hero h1 {
    font-size: 2.8rem;
    margin: 0;
}

.services-content {
    padding: 4rem 0;
}

.services-content .container {
    max-width: 1000px;
}

.service-detail-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
}

/* Alternate layout for every other item */
.service-detail-item:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.service-detail-item:nth-child(even) .service-detail-image {
    order: 2; /* Flips the image to the right */
}

.service-detail-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.service-detail-text h2 {
    margin-top: 0;
    font-size: 2rem;
}

.service-detail-text .cta-button {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .service-detail-item,
    .service-detail-item:nth-child(even) {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
    .service-detail-item:nth-child(even) .service-detail-image {
        order: 0; /* Reset order for mobile */
    }

    .contact-card {
        padding: 1.5rem;
    }

    .contact-form {
        gap: 1rem;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
    }

    .contact-content {
        padding: 2rem 0;
    }
}

/* Mobile responsive for brand story */
@media (max-width: 768px) {
    .hero::before {
        font-size: 3rem;
        letter-spacing: 1px;
    }

    .hero-branding {
        font-size: 1rem;
        letter-spacing: 2px;
        margin-bottom: 0.75rem;
    }

    footer {
        padding: 2rem 0;
        background: #ffffff;
        border-top: 1px solid #eceff1;
        color: #546e7a;
        text-align: center;
    }

    footer p {
        margin: 0;
        font-size: 0.95rem;
        color: #546e7a;
    }

    .brand-story h2 {
        font-size: 1.6rem;
    }

    .brand-story-content {
        padding: 0 1rem;
    }

    .brand-story p {
        font-size: 1rem;
    }
}

/* --- General Mobile Responsive Styles --- */
@media (max-width: 768px) {
    /* --- Header & Navigation --- */
    header .container {
        justify-content: center; /* Center the logo on mobile */
        padding-top: 1rem; /* Add padding to accommodate larger logo */
        padding-bottom: 1rem;
    }

    .hamburger-menu {
        display: block !important; /* Show the hamburger on mobile */
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1010;
    }

    header nav {
        display: none; /* Hide nav by default on mobile */
        position: absolute;
        top: 100%; /* Position it right below the header */
        left: 0;
        width: 100%;
        background: #ffffff;
        box-shadow: 0 8px 25px rgba(0,0,0,0.12);
        padding: 1rem 0;
        z-index: 1001;
        flex-direction: column;
        align-items: center;
    }

    header nav.is-active {
        display: flex !important; /* Show the nav when active */
    }

    .mobile-nav-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease-in-out;
    }

    .mobile-nav-backdrop.is-active {
        opacity: 1;
        pointer-events: auto;
    }

    header nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    header nav ul li {
        width: 100%;
        padding: 0.5rem 1rem;
    }

    header nav ul li a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.75rem 0;
    }
    
    header nav.is-active a {
        color: #263238 !important; /* Force dark color for readability */
    }

    .mobile-nav-backdrop {
        display: none;
    }
    
    .mobile-nav-backdrop.is-active {
        display: block;
    }
    
    header .logo img {
        height: 100px; /* Enlarge logo on mobile */
        margin: 0 auto; /* Ensure it's centered if its container is full-width */
    }

    /* --- Hero Section --- */
    .hero {
        padding: 4rem 0; /* Reduce padding on mobile */
    }

    .hero h1 {
        font-size: 2.2rem; /* Smaller text for mobile */
    }

    .hero p {
        font-size: 1.2rem;
    }

    /* --- Watch Customizer --- */
    .customizer-interface {
        flex-direction: column;
        gap: 3rem;
    }

    .watch-display {
        width: 300px; /* Make watch display smaller */
        height: 300px;
    }

    .customization-options {
        width: 100%;
        max-width: none;
    }

    .option-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    /* --- About Page --- */
    .about-text h2 {
        font-size: 1.8rem; /* Adjust heading size for mobile */
        text-align: center;
    }

    /* --- Testimonials --- */
    .testimonial-item {
        width: 80vw; /* Make testimonials wider on mobile */
    }

    .testimonial-slider-wrapper {
        /* Remove the gradient mask on mobile for better readability */
        -webkit-mask-image: none;
        mask-image: none;
    }
}

/* --- Keyframe Animations --- */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* New Keyframe Animation for the Slider */
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        /* Move the slider to the left by the width of the first half of the items */
        transform: translateX(calc(-370px * 5)); /* 370px (width + margin) * 5 items */
    }
}

/* --- Gallery Modal (Lightbox) Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000; /* Ensure it's on top of everything */
    cursor: pointer; /* Indicates the overlay can be clicked to close */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
}

/* Footer Styles */
footer {
    background-color: #263238; /* Deep Charcoal */
    color: #B0BEC5; /* Cool Gray */
    padding: 1.65rem 0;
    text-align: center;
    margin-top: 2rem;
}

footer p {
    margin: 0;
}
