  /* ===========================
    Base Styles
  =========================== */
  body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #ffffff; /* Overridden */
    color: #333;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  header {
    background: #000000; /* Overridden */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }


  /* ===========================
    Navigation
  =========================== */
  .navbar {
    background-color: #363636;
    padding: 1em 0;
    height: 10%;
  }

  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    height: 10%;
  }

  .nav-left,
  .nav-right {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .navbar a {
    color: #efefef;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
  }
  .navbar a:hover {
    color: #000;
  }

  /* ===========================
    Location Picker
  =========================== */
  .location-picker {
    display: flex;
    flex-direction: row;         /* side-by-side */
    align-items: center;         /* vertically center within navbar */
    gap: .5rem;                  /* tighter spacing */
    margin: 0;
  }

  .city-input {
    width: 6rem;                /* narrower input to reduce navbar height */
    max-width: 15vw;             /* avoid overflow on very small screens */
    padding: 0.2rem 0.4rem;      /* tighter padding */
    font-size: .5rem;
    line-height: .8;
  }

  /* Compact the button */
  #detect-location {
    padding: 0.2rem .3rem;
    font-size: .5rem;
    line-height: .8;
    white-space: nowrap;         /* keep text on one line */
  }

  /* Make the navbar itself a bit thinner */
  .navbar {
    padding: 0;                  /* remove extra outer padding */
  }
  .nav-container {
    padding: 0.2rem 0.5rem;     /* smaller vertical padding */
  }

  /* On very narrow screens, allow graceful wrap but keep items as tight as possible */

  #detect-location:hover { background-color: #005a9e; }
  #detect-location:active { transform: scale(0.98); }

  /* ===========================
    Watch Showcase
  =========================== */
  .watch-container {
    position: relative;
    width: 80%;
    aspect-ratio: 16 / 9;
    margin: 1rem auto;
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;

    /* 🧱 Add charcoal border */
    border: 4px solid #2a2a2a; /* dark charcoal */
    box-shadow: 0 0 5px rgba(0,0,0,0.4); /* optional: subtle glow */
  }


  .watch-overlay {
    position: absolute;
    cursor: pointer;
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease, filter 0.3s ease;
  }
  .watch-overlay:hover {
    transform: scale(1.05);
    filter: brightness(100%);
  }

  .overlay-text {
    position: absolute;
    top: 1rem;          /* top edge */
    right: 1rem;        /* right edge */
    text-align: right;
    color: #fff;
    background: rgba(0,0,0,0.4); /* subtle dark backing */
    padding: 0.4rem 0.6rem;
    border-radius: 4px;

    font-family: 'Montserrat', 'Segoe UI', sans-serif; /* modern watch-style font */
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.1;   /* compact line spacing */
    letter-spacing: 0.5px; /* slight spacing for elegance */
  }


  /* Full-width black background section */
  .showcase-section {
    width: 100%;
    background-color: #000;   /* solid black background */
  }

  /* Keep the inner wrapper centered */
  .showcase-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
  }

  .nav-logo {
    position: absolute;
    left: 44%;
    transform: translateX(10%);
    text-align: center;
  }

  .nav-logo img {
    height: 1.75rem; /* adjust as needed */
  }



  /* ===========================
    Filter Navigation
  =========================== */
  .filter-nav {
    display: flex;
    justify-content: center;
    padding: 1rem;
    background: #e6e6e6;
  }

  .filter-btn {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: .75rem;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background 0.3s ease, transform 0.3s ease;
  }
  .filter-btn:hover {
    background: #444;
    transform: scale(1.05);
  }

  /* ===========================
    Product Grid
  =========================== */
  #watches {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    padding: 2rem;
  }

  .watch-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    padding: 1rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .watch-card > img {
    width: 100px;
    height: auto;
    border-radius: 8px;
  }

  .watch-card h3 {
    margin-top: 1rem;
    font-weight: 500;
    font-size: 1rem;
  }

  /* Hover effect for cards */
  .watch-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  }


  /* Default menu links */
  .menu li:not(.social-row) a {
    display: block;
    padding: 0.75rem 1rem;   /* keep nice padding for text links */
    color: #ffffff;
    text-decoration: none;
    font-weight: normal;
  }

  /* Social row overrides */
  .social-row a {
    padding: 0;              /* remove extra padding just for icons */
    flex: 1;
    text-align: center;
  }

  .social-row {
    display: flex;              /* flex row for icons */
    gap: 0.5rem;                /* spacing between icons */
    align-items: center;        /* vertical alignment */
    margin-left: auto;          /* push it to the right side of nav-left */
    margin-right: 1rem;         /* spacing before location picker */
  }

  .social-icon {
    width: 20px;
    height: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
  }

  .social-row a:hover .social-icon {
    transform: scale(1.1);
    filter: brightness(1.3);
  }



  /* Hover effect: scale + brighten */
  .menu a:hover .social-icon {
    transform: scale(1.2);
    filter: brightness(1.3);
  }

  /* ===========================
    Navbar Layout
  =========================== */
  /* Navbar container */
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #222222;
    padding: 0.25rem .5rem;
    position: relative;
  }

  /* 🍔 Hamburger button */
  .menu-toggle {
    font-size: 1.75rem;
    cursor: pointer;
    color: #ffffff;
    user-select: none;
  }

  /* 📋 Menu hidden by default */
  .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none; /* always hidden until toggled */
    flex-direction: column;
    background-color: #222222;
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    z-index: 1000;
  }

  .menu li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .menu a {
    display: block;
    padding: 0.2rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: normal;
  }

  .menu a:hover {
    background-color: #222;
    color: #fff;
  }

  .vintage-section {
    padding: 4rem 2rem;
    background: #111;
    color: #fff;
    text-align: center;
  }

  .circle-slideshow {
    position: relative;
    width: 460px;   /* container size */
    height: 460px;
    margin: 2rem auto;
  }

  .main-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
  }
  .main-image img {
    width: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
  }

  /* Orbit container centered, rotating CCW */
  .orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    animation: orbit-ccw 20s linear infinite;
  }

  /* Each item is positioned around the circle */
  .orbit-item {
    position: absolute;
    top: 50%;
    left: 50%;
    /* The pivot is the element's center; we’ll rotate then translate outwards */
    transform-origin: center center;
  }

  /* Radius of orbit: adjust 170px to fit your layout */
  :root {
    --orbit-radius: 170px;
  }

  /* Even spacing: 360/5 = 72deg between items */
  .orbit-item:nth-child(1) { transform: rotate(0deg) translateY(calc(-1 * var(--orbit-radius))); }
  .orbit-item:nth-child(2) { transform: rotate(72deg) translateY(calc(-1 * var(--orbit-radius))); }
  .orbit-item:nth-child(3) { transform: rotate(144deg) translateY(calc(-1 * var(--orbit-radius))); }
  .orbit-item:nth-child(4) { transform: rotate(216deg) translateY(calc(-1 * var(--orbit-radius))); }
  .orbit-item:nth-child(5) { transform: rotate(288deg) translateY(calc(-1 * var(--orbit-radius))); }

  /* Images stay upright via counter-rotation */
  .orbit-item img {
    width: 88px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    /* Counter-rotate opposite of the orbit's animation */
    animation: upright 20s linear infinite;
  }

  /* Counterclockwise spin for the orbit group */
  @keyframes orbit-ccw {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(-360deg); }
  }

  /* Clockwise spin for the images to cancel rotation */
  @keyframes upright {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
  }

  .watch-face {
      position: relative;
      width: 65%;
      aspect-ratio: 1 / 1;
  }

  .hand {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: 50% 100%; /* pivot at bottom center */
    transform: translate(-50%, -100%) rotate(var(--angle, 0deg));
    pointer-events: none;
  }




  .hour-hand { 
      position: absolute;
      width: 47%;
      top: 29.8%;
      left: 21.91%;
      transform-origin: 50% 50%;
      transform: rotate(0deg);
      pointer-events: none;
    }
  .minute-hand {
      position: absolute;
      top: 24.3%;
      left: 3.35%;
      width: 84%;
      height: 42%;
      transform-origin: 50% 50%;
      transform: rotate(0deg);
      pointer-events: none;
    }

  .second-hand {
    position: absolute;
    top: 14.7%;
    left: -0.70%;
    width: 92%;
    transform-origin: 50% 50%;
    transform: translate(-50%, -50%) rotate(var(--angle, 0deg));
    transition: transform 0.2s linear;
    pointer-events: none;
  }



  .watch-bg {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* center the image */
  }


  .showcase-wrapper {
    display: flex;
    justify-content: center;   /* center the whole group */
    align-items: flex-start;   /* align both at the top */
    gap: 2rem;                 /* space between the two */
  }

  /* Control sizes independently */
  .watch-wrapper {
    display: flex;
    justify-content: center;   /* center horizontally */
    align-items: center;       /* center vertically */
    width: 100%;               /* let it fill the card */
    max-width: 140px;          /* match static watch image size */
    margin: 0 auto;            /* center the block itself in the card */
    position: relative;        /* keep absolute children positioned correctly */
  }


  .watch-container {
    flex: 0 0 auto;
    height: 100%;     /* your existing showcase size */
  }




  @keyframes sweep {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
  }

  .privacy-banner {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    max-width: 600px;
    width: 90%;
    background: rgba(30, 30, 30, 0.95);
    color: #f1f1f1;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    animation: slideUp 0.6s ease-out;
    z-index: 1000;
  }

  .privacy-banner a {
    color: #4da6ff;
    text-decoration: underline;
  }

  .privacy-actions button {
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  #accept-privacy {
    background: linear-gradient(135deg, #4da6ff, #0077ff);
    color: white;
  }

  #accept-privacy:hover {
    background: linear-gradient(135deg, #66b3ff, #3399ff);
    transform: translateY(-2px);
  }

  #decline-privacy {
    background: transparent;
    border: 1px solid #aaa;
    color: #ddd;
  }

  #decline-privacy:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
  }

  @keyframes slideUp {
    from { transform: translate(-50%, 100%); opacity: 0; }
    to   { transform: translate(-50%, 0); opacity: 1; }
  }

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


.gallery-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.gallery-item {
  position: relative;
  text-align: center;
  width: 100%;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 0.75rem;
  transform: translateY(100%);
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  text-align: left;   /* <-- add this */
}


.overlay h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: bold;
}

.overlay p {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  line-height: 1.3;
  text-align: justify;  /* <-- neat block alignment */
}


.gallery-item:hover .overlay {
  transform: translateY(0);
  opacity: 1;
}

.modal-gallery {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-content {
  display: flex;
  gap: 1rem;
}

.modal-item {
  position: relative;
  width: 180px;
}

.modal-item img {
  width: 100%;
  border-radius: 6px;
}

.modal-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  background: rgba(0,0,0,0.85);
  color: #fff;
  font-size: 0.8rem;
  padding: 0.4rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.modal-item:hover .overlay {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #fff;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

/* Calendar Section */
.calendar-section {
  width: 100%;
  max-width: 1100px;
  margin: 80px auto;
  padding: 20px;
}

.calendar-header-img {
  width: 100%;
  max-width: 500px;
  display: block;
  margin: 0 auto 20px auto;
}

.calendar-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  font-family: "Georgia", serif;
  color: #333;
}

/* FullCalendar Overrides */
#calendar {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.fc .fc-toolbar-title {
  font-family: "Georgia", serif;
  font-size: 1.6rem;
  color: #333;
}

.fc .fc-button-primary {
  background-color: #c9a86a;
  border-color: #c9a86a;
}

.fc .fc-button-primary:hover {
  background-color: #b89455;
  border-color: #b89455;
}

.fc-daygrid-day-number {
  font-weight: bold;
  color: #444;
}

/* Vertical Social Feed Stack */
.social-stack {
  max-width: 90%;
  margin: 80px auto;
  padding: 20px;
}

.instagram-dark-wrapper {
  background: #000;
  padding: 1rem;
  border-radius: 12px;
}


.social-block {
  margin-bottom: 80px;
  padding: 20px;
  background: #0f0f0f;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.social-title {
  text-align: center;
  font-family: "Georgia", serif;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

/* Ensure embeds scale properly */
.twitter-timeline,
.fb-page,
iframe {
  width: 100% !important;
}


.vintage-section img {
display: block;
max-width: 200px;   /* adjust to the size you want */
height: auto;       /* keeps proportions correct */
margin: 0 auto 15px; /* centers the logo and adds spacing below */
}

/* Scroll-down arrow */
.scroll-down {
position: absolute;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
cursor: pointer;
opacity: 0.7;
transition: opacity 0.3s ease;
}

.scroll-down:hover {
opacity: 1;
}

.scroll-down .arrow {
font-size: 1.5rem;
color: #fff; /* match your theme */
animation: bounce 2s infinite;
}

.hover-popup {
  position: absolute;
  background: #111;
  color: #fff;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  width: 20%;
  z-index: 5000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.hover-popup video {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.hover-popup.visible {
  opacity: 1;
}

.hover-popup.hidden {
  opacity: 0;
}

@keyframes bounce {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(5px); }
}

/* Overlay text alignment */
.overlay {
text-align: left; /* or justify if you prefer */
}


/* Container for autocomplete suggestions */
.pac-container {
min-width: 250px;   /* wider than your input */
width: auto !important; /* let it expand */
max-width: 90vw;    /* cap it on small screens */
z-index: 2000;      /* keep it above other UI */
}

/* Each suggestion item */
.pac-item {
white-space: nowrap;   /* prevent wrapping */
overflow: hidden;
text-overflow: ellipsis;
padding: 0.5rem;
font-size: 0.85rem;
}


/* ===========================
  Responsive Adjustments
=========================== */
@media (max-width: 768px) {
  .filter-nav {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
  }

  /* Vertical Social Feed Stack */
  .social-stack {
    max-width: 90%;
    margin: 20px auto;
    padding: 5px;
  }

  .filter-group,
  .filter-group-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
  }

  .filter-btn {
    flex: 1 1 45%; /* allow two per row */
    max-width: 140px;
    font-size: 0.7rem;
    padding: 0.5rem 0.75rem;
  }

  body {
    width: 95%;
  }

  .watch-container {
    width: 100%;
  }

  .hover-popup {
    position: absolute;
    z-index: 9999;
    width: 90% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: auto;
  }
  
  .city-input {
    width: 100%;
    font-size: 0.75rem;
  }

  #detect-location {
    font-size: 0.65rem;
    padding: 0.3rem 0.5rem;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.65rem;
  }

  .watch-card > img {
    width: 80px;
  }

  .social-row {
    gap: 0.25rem;          /* tighter spacing */
  }

  .social-icon {
    width: 16px;           /* smaller icon size */
    max-width: 16px;       /* enforce cap */
    height: auto;
  }
}

  @media (max-width: 480px) {
    .nav-container {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5rem;
      height: 10%;
    }

    .location-picker {
      align-items: flex-start;
      width: 100%;
    }

    .overlay-text h2 {
      font-size: 1.0rem;
    }

    .overlay-text p {
      font-size: 0.7rem;
    }

    .nav-container {
      display: grid;
      grid-template-columns: 1fr auto;
      grid-template-areas:
        "logo social"
        ". location";
      align-items: center;
      gap: 0.25rem;
    }

    .nav-logo {
      grid-area: logo;
      justify-self: center;
      transform: translateX(45%);
    }

    .social-row {
      grid-area: social;
      display: flex;
      gap: 0.3rem;
      justify-content: flex-end;
      align-items: center;
    }

    .nav-logo img {
      height: 1.0rem; /* adjust as needed */
    }


    .location-picker {
      grid-area: location;
      justify-self: end;
      display: flex;
      gap: 0.3rem;
      margin-top: 0.25rem;
    }

    .social-icon {
      width: 16px;
      height: auto;
    }

    .city-input {
      font-size: 0.65rem;
      width: 8rem;
    }

    #detect-location {
      font-size: 0.65rem;
      padding: 0.3rem 0.5rem;
    }
  }

  /* ===========================
    Utility Classes
  =========================== */
  .hidden {
    display: none !important;
  }

  .visible {
    display: block !important;
  }

  /* Mobile: stack vertically, full width */
  @media (max-width: 768px) {
    .showcase-wrapper {
      flex-direction: column;
      align-items: stretch;   /* children expand full width */
      gap: 1rem;
      padding: 0.75rem;
    }

    .social-stack {
      max-width: 90%;
      margin: 2px auto;
      padding: 2px;
    }
    
    .watch-wrapper {
      width: 100%;            /* full width clock */
      max-width: 70%;    /* keep it tasteful */
      margin: 0 auto;         /* center the clock block */
    }

    .watch-container {
      width: 100%;
      max-width: 100%;
      aspect-ratio: 16 / 9;
      border-width: 3px;      /* slightly lighter border on mobile */
    }

    /* Remove any legacy fixed widths from cards/images */
    .watch-card > img {
      width: 100%;
      max-width: 140px;       /* cap size, but allow responsive scaling */
      margin: 0 auto;
    }

    /* Avoid body width constraints that cause right gutter gaps */
    body { width: 100%; }
  }
