/* ============================================
   OPALINE SUPPLY — Styles
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --charcoal: #1A1A2E;
  --charcoal-light: #2D2D44;
  --coral: #E8625A;
  --coral-dark: #D14E46;
  --coral-light: #FF8A82;
  --cream: #FFF8F6;
  --cream-dark: #FDF0EC;
  --sand: #F5EDE8;
  --sand-dark: #EDE3DB;
  --warm-gray: #6B6560;
  --warm-gray-light: #9B9590;
  --white: #FFFFFF;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
  --shadow-md: 0 8px 30px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 20px 60px rgba(26, 26, 46, 0.10);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--charcoal);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--coral {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}

.btn--coral:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232, 98, 90, 0.35);
}

.btn--charcoal {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn--charcoal:hover {
  background: var(--charcoal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 24px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn--full {
  width: 100%;
  justify-content: center;
  padding: 18px 32px;
}

/* --- SECTION LABELS --- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--warm-gray);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- NAV --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 248, 246, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26, 26, 46, 0.06);
  transition: all var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: var(--charcoal);
}

.nav-logo-icon {
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--coral); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle-bar {
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- HERO --- */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--cream);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}

.hero-content {
  max-width: 540px;
}

.badge {
  display: inline-block;
  background: var(--sand);
  color: var(--charcoal);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero-headline {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--charcoal);
}

.hero-headline em {
  color: var(--coral);
  font-style: italic;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--warm-gray);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat strong {
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem;
  color: var(--charcoal);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat span {
  font-size: 0.85rem;
  color: var(--warm-gray-light);
  font-weight: 500;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 780px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: var(--coral);
  border-radius: var(--radius-lg);
  opacity: 0.12;
  z-index: -1;
}

/* --- ABOUT --- */
.about {
  padding: 120px 0;
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content .section-title {
  margin-bottom: 28px;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--warm-gray);
  line-height: 1.8;
  margin-bottom: 18px;
}

.about-content p:last-child {
  margin-bottom: 0;
}

.about-image img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* --- PRODUCTS --- */
.products {
  padding: 120px 0;
  background: var(--cream);
}

.section-header {
  margin-bottom: 64px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-card-img {
  overflow: hidden;
  aspect-ratio: 1;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card-img img {
  transform: scale(1.06);
}

.product-card-body {
  padding: 28px;
}

.product-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.product-card-body p {
  font-size: 0.95rem;
  color: var(--warm-gray);
  line-height: 1.65;
}

/* --- TESTIMONIALS --- */
.testimonials {
  padding: 120px 0;
  background: var(--charcoal);
}

.testimonials .section-label { color: var(--coral-light); }

.testimonials .section-title {
  color: var(--white);
  margin-bottom: 64px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: var(--charcoal-light);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  position: relative;
  transition: all var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.testimonial-quote {
  position: absolute;
  top: 24px;
  right: 28px;
  opacity: 0.3;
}

.testimonial-card p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
}

.testimonial-location {
  font-size: 0.85rem;
  color: var(--warm-gray-light);
}

/* --- VISIT --- */
.visit {
  padding: 120px 0;
  background: var(--cream);
}

.visit-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.visit-info .section-title {
  margin-bottom: 40px;
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 40px;
}

.visit-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.visit-icon {
  color: var(--coral);
  flex-shrink: 0;
  margin-top: 2px;
}

.visit-detail strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.visit-detail p,
.visit-detail a {
  font-size: 0.95rem;
  color: var(--warm-gray);
  line-height: 1.6;
}

.visit-detail a:hover {
  color: var(--coral);
}

.visit-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 480px;
}

/* --- CONTACT --- */
.contact {
  padding: 120px 0;
  background: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-content .section-title {
  margin-bottom: 20px;
}

.contact-content > p {
  font-size: 1.05rem;
  color: var(--warm-gray);
  line-height: 1.75;
  margin-bottom: 32px;
}

.contact-quick {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  padding: 14px 20px;
  background: var(--sand);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.contact-quick-link:hover {
  background: var(--sand-dark);
  color: var(--coral);
  transform: translateX(4px);
}

.contact-quick-link svg {
  color: var(--coral);
}

.contact-form-wrap {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 44px;
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  padding: 14px 18px;
  border: 2px solid var(--sand-dark);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--charcoal);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(232, 98, 90, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--warm-gray-light);
}

.form-success {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--sand);
  border-radius: var(--radius-sm);
  padding: 18px 24px;
  font-size: 0.95rem;
  color: var(--charcoal);
  margin-top: 8px;
}

.form-success svg {
  color: #2E7D32;
  flex-shrink: 0;
}

.form-success strong {
  color: #2E7D32;
}

/* --- FOOTER --- */
.footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding-bottom: 60px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col strong {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--coral-light);
  margin-bottom: 4px;
}

.footer-col a,
.footer-col span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
  line-height: 1.6;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* --- REVEAL ANIMATIONS --- */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- MOBILE MENU --- */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 46, 0.5);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero-inner {
    gap: 40px;
  }

  .product-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
    z-index: 1000;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 40px 0 60px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    order: 1;
  }

  .hero-image {
    order: 2;
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-image img {
    height: 480px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .about-inner,
  .visit-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image { order: -1; }

  .product-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 28px;
  }

  .visit-map {
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}
