/* style.css - Cleaned & complete */

/* --- Box sizing --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* --- Base / overrides for Tailwind-managed parts --- */
/* Use these only for global things Tailwind doesn't cover */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* --- Hero Slides (keeps your fade animation) --- */
.hero-slide {
  opacity: 0;
  transition: opacity 1s ease-in-out;
  will-change: opacity;
}

.hero-slide.active {
  opacity: 1;
}

/* --- Slide indicators --- */
.slide-indicator {
  transition: opacity 0.25s ease, transform 0.15s ease;
}

.slide-indicator:hover {
  transform: scale(1.15);
  opacity: 0.9;
}

/* --- Product cards --- */
.product-card {
  transition: transform 0.28s cubic-bezier(.2,.9,.4,1), box-shadow 0.28s cubic-bezier(.2,.9,.4,1);
  will-change: transform;
  backface-visibility: hidden;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(4, 20, 10, 0.08);
}

/* --- Nav link underline/hover effect (keeps your nav behavior) --- */
.nav-link {
  position: relative;
  display: inline-block;
  -webkit-tap-highlight-color: transparent;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -6px;
  left: 50%;
  background: linear-gradient(90deg, #004225, #006837);
  transition: width 0.28s ease, left 0.28s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  width: 100%;
  left: 50%;
}

/* --- Color utility classes (your brand gradients) --- */
/* Keep these as custom because Tailwind utility classes are good but
   gradients with multiple stops are easier to maintain here. */
.rolex-green {
  background: linear-gradient(135deg, #004225 0%, #006837 50%, #228B22 100%);
}

.rolex-dark-green {
  background: linear-gradient(135deg, #003d20 0%, #004225 100%);
}

/* Text colors used in original design */
.rolex-accent {
  color: #fefefe;
}

.rolex-text {
  color: #004225;
}


/* --- Frosted contact-form style (backdrop-filter needs vendor support) --- */
.contact-form {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Make sure form controls look consistent when Tailwind utilities are absent */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea,
.contact-form button {
  font-family: inherit;
}

/* --- Footer small helpers --- */
.footer-social a {
  transition: transform 0.18s ease, background-color 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social a:hover {
  transform: translateY(-4px);
}

/* --- Responsive tweaks (in case Tailwind classes aren't present) --- */
@media (max-width: 768px) {
  .hero-slide .text-5xl {
    font-size: 2rem; /* fallback scaling */
  }
}

/* --- Accessibility: visible focus outlines for keyboard users --- */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 3px solid rgba(255, 255, 255, 0.14);
  outline-offset: 3px;
}

/* --- Small cosmetic tweak for the mobile menu (used by your JS toggle) --- */
#mobile-menu.hidden {
  display: none !important;
}
#mobile-menu {
  display: block; /* default, JS will toggle by toggling 'hidden' */
}

/* --- Popup Animation --- */
.popup-card {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Optional: Smooth fade for overlay */
#notifyPopup {
  transition: opacity 0.3s ease;
}

