/* ===================================
   Bubbleville — Stylesheet
   Palette: Midnight Blue (#0f2d4c) + Mint (#a7f3d0)
   Fonts: Playfair Display + Inter
   =================================== */

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

:root {
  --midnight: #0f2d4c;
  --midnight-light: #1a3d5c;
  --midnight-dark: #091e33;
  --mint: #a7f3d0;
  --mint-dark: #6ee7b7;
  --mint-light: #d1fae5;
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-50: #f1f5f9;
  --gray-100: #e2e8f0;
  --gray-200: #cbd5e1;
  --gray-300: #94a3b8;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(15, 45, 76, 0.08);
  --shadow-md: 0 4px 20px rgba(15, 45, 76, 0.1);
  --shadow-lg: 0 10px 40px rgba(15, 45, 76, 0.12);
  --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(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--midnight);
  line-height: 1.2;
}

.accent {
  color: var(--midnight);
  position: relative;
}

.accent::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--mint);
  opacity: 0.5;
  z-index: -1;
  border-radius: 2px;
}

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

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

.btn-primary:hover {
  background: var(--midnight-light);
  border-color: var(--midnight-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

.btn-nav {
  padding: 10px 22px;
  font-size: 0.875rem;
  background: var(--mint);
  color: var(--midnight);
  border-color: var(--mint);
}

.btn-nav:hover {
  background: var(--mint-dark);
  border-color: var(--mint-dark);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ---- HEADER ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--gray-100);
  backdrop-filter: blur(10px);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--midnight);
}

.logo-text {
  letter-spacing: -0.02em;
}

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

.nav-links a:not(.btn) {
  font-size: 0.938rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition);
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--mint-dark);
  transition: width var(--transition);
}

.nav-links a:not(.btn):hover {
  color: var(--midnight);
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--midnight);
  position: relative;
  transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--midnight);
  transition: all var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

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

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

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.eyebrow-line {
  width: 40px;
  height: 2px;
  background: var(--mint-dark);
  flex-shrink: 0;
}

.hero-headline {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--midnight);
}

.hero-headline .accent {
  position: relative;
  z-index: 1;
}

.hero-headline .accent::after {
  background: var(--mint);
}

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

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

.hero-stats {
  display: flex;
  gap: 24px;
  align-items: center;
}

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

.stat strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--midnight);
  font-weight: 700;
}

.stat span {
  font-size: 0.813rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-200);
}

.hero-image {
  position: relative;
}

.hero-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 6/7;
}

.hero-img-accent {
  position: absolute;
  bottom: -30px;
  left: -40px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.hero-img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  top: 24px;
  right: -20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--midnight);
}

/* ---- SECTION COMMON ---- */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.813rem;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.label-center {
  justify-content: center;
}

.label-line {
  width: 32px;
  height: 2px;
  background: var(--mint-dark);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 20px;
}

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

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

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

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

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 5/6;
}

.about-content .section-label {
  margin-bottom: 16px;
}

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

.about-content p {
  color: var(--gray-600);
  font-size: 1.063rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--mint-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature strong {
  display: block;
  font-size: 1rem;
  color: var(--midnight);
  margin-bottom: 2px;
}

.feature span {
  font-size: 0.875rem;
  color: var(--gray-600);
}

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

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.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(-6px);
  box-shadow: var(--shadow-lg);
}

.product-img {
  overflow: hidden;
  aspect-ratio: 4/3;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

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

.product-info {
  padding: 28px;
}

.product-info h3 {
  font-size: 1.375rem;
  margin-bottom: 8px;
}

.product-info p {
  color: var(--gray-600);
  font-size: 0.938rem;
  line-height: 1.7;
}

/* ---- VALUES ---- */
.values {
  padding: 120px 0;
  background: var(--midnight);
}

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

.value-card {
  padding: 36px 28px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition);
}

.value-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.value-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--mint);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 16px;
}

.value-card h3 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 10px;
}

.value-card p {
  color: var(--gray-300);
  font-size: 0.938rem;
  line-height: 1.7;
}

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

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

.location-info .section-title {
  margin-bottom: 32px;
}

.location-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 36px;
}

.location-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.location-item svg {
  color: var(--midnight);
  flex-shrink: 0;
  margin-top: 2px;
}

.location-item strong {
  display: block;
  font-size: 0.875rem;
  color: var(--midnight);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.location-item span,
.location-item a {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.6;
}

.location-item a:hover {
  color: var(--midnight);
  text-decoration: underline;
}

.btn-map {
  background: var(--midnight);
  color: var(--white);
}

.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.map-placeholder {
  position: relative;
  overflow: hidden;
}

.map-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 6/5;
}

.map-overlay-btn {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--midnight);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.938rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

.map-overlay-btn:hover {
  background: var(--midnight);
  color: var(--white);
}

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

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

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

.contact-content > p {
  color: var(--gray-600);
  font-size: 1.063rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

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

.contact-method {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.contact-method:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.method-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--mint-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--midnight);
}

.contact-method strong {
  display: block;
  font-size: 0.875rem;
  color: var(--midnight);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.contact-method span {
  color: var(--gray-600);
  font-size: 1rem;
}

/* ---- FORM ---- */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--midnight);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--gray-800);
  background: var(--off-white);
  transition: all var(--transition);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--midnight);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(15, 45, 76, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--gray-300);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  text-align: center;
  font-size: 0.813rem;
  color: var(--gray-300);
  margin-top: 12px;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--mint-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--gray-600);
  margin-bottom: 24px;
}

.btn-send-again {
  padding: 12px 24px;
  font-size: 0.875rem;
}

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

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

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--gray-300);
  font-size: 0.938rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-links,
.footer-hours,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links strong,
.footer-hours strong,
.footer-contact strong {
  font-size: 0.813rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mint);
  margin-bottom: 4px;
}

.footer-links a,
.footer-contact a {
  color: var(--gray-300);
  font-size: 0.938rem;
  transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-hours span,
.footer-contact span {
  color: var(--gray-300);
  font-size: 0.938rem;
  line-height: 1.6;
}

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

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-bottom p {
  color: var(--gray-300);
  font-size: 0.813rem;
}

/* ---- SCROLL REVEAL (progressive enhancement) ---- */
@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);
  }
}

/* ---- MOBILE NAV ---- */
@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a:not(.btn) {
    font-size: 1.063rem;
  }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 0;
  }

  .hero-image {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-img-accent {
    left: -16px;
    bottom: -16px;
  }

  .hero-badge {
    right: 0;
  }

  .hero-stats {
    gap: 16px;
  }

  .about-grid,
  .location-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .contact-form-wrapper {
    padding: 24px;
  }
}

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

  .hero-headline {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

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

  .stat-divider {
    display: none;
  }

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