/* ========================================
   Brown Sugar Lounge — Stylesheet
   ======================================== */

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

:root {
  --charcoal-900: #1a1a1a;
  --charcoal-800: #2d2d2d;
  --charcoal-700: #3d3d3d;
  --charcoal-600: #4a4a4a;
  --charcoal-500: #5a5a5a;
  --charcoal-400: #8a8a8a;
  --charcoal-300: #b0b0b0;
  --coral-600: #c44a38;
  --coral-500: #e85d4a;
  --coral-400: #f07868;
  --coral-300: #f7a094;
  --coral-200: #fbc4bc;
  --coral-100: #fde8e4;
  --cream-50: #faf8f6;
  --cream-100: #f5f0eb;
  --cream-200: #ede6dd;
  --white: #ffffff;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.08);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  color: var(--charcoal-800);
  background: var(--cream-50);
  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;
}

/* SKIP LINK */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--coral-500);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus {
  top: 16px;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 26, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--coral-500);
  color: var(--white);
  font-family: var(--font-display), serif;
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.5px;
}

.logo-text {
  font-family: var(--font-display), serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  letter-spacing: -0.3px;
}

.logo-accent {
  color: var(--coral-400);
}

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

.main-nav a {
  color: var(--charcoal-300);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
  letter-spacing: 0.2px;
}

.main-nav a:hover {
  color: var(--white);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
}

.hamburger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 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);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.btn-coral {
  background: var(--coral-500);
  color: var(--white);
  border-color: var(--coral-500);
}
.btn-coral:hover {
  background: var(--coral-600);
  border-color: var(--coral-600);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 15px;
}

.btn-full {
  width: 100%;
}

/* ========================================
   SECTION UTILITIES
   ======================================== */
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--coral-500);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display), serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal-900);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--charcoal-500);
  max-width: 560px;
  line-height: 1.7;
}

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

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal-900);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.88) 0%,
    rgba(45, 45, 45, 0.72) 50%,
    rgba(26, 26, 26, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 24px 80px;
  max-width: 720px;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--coral-400);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-display), serif;
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-sub {
  font-size: 18px;
  color: var(--charcoal-300);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}

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

.hero-quick-info {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.hero-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--charcoal-300);
  font-size: 14px;
}

.hero-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--coral-400);
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--charcoal-400);
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator svg {
  width: 28px;
  height: 28px;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

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

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

.about-images {
  position: relative;
}

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

.about-img-main img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: -40px;
  right: -40px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.about-img-secondary img {
  width: 220px;
  height: 220px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--coral-500);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.badge-number {
  display: block;
  font-family: var(--font-display), serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.badge-text {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

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

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal-700);
}

.feature-icon {
  width: 22px;
  height: 22px;
  color: var(--coral-500);
  flex-shrink: 0;
}

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

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

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

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

.product-img {
  overflow: hidden;
  height: 240px;
}

.product-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-img img {
  transform: scale(1.05);
}

.product-body {
  padding: 28px;
}

.product-body h3 {
  font-family: var(--font-display), serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal-900);
  margin-bottom: 10px;
}

.product-body p {
  font-size: 15px;
  color: var(--charcoal-500);
  line-height: 1.7;
}

/* ========================================
   GALLERY
   ======================================== */
.gallery {
  padding: 120px 0;
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

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

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item:nth-child(2) { grid-row: 2; }
.gallery-item:nth-child(3) { grid-row: 2; }
.gallery-item:nth-child(4) { grid-row: 2; }
.gallery-item:nth-child(5) { grid-row: 2; }

.gallery-item:nth-child(2) img,
.gallery-item:nth-child(3) img,
.gallery-item:nth-child(4) img,
.gallery-item:nth-child(5) img {
  height: 240px;
}

.gallery-item--wide img {
  height: 320px;
}

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

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

.visit-content .section-title {
  color: var(--white);
}

.visit-text {
  color: var(--charcoal-300);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
}

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

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

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

.visit-detail strong {
  display: block;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.visit-detail span {
  color: var(--charcoal-300);
  font-size: 15px;
  line-height: 1.6;
}

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

.visit-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: var(--radius-lg);
}

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

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

.contact-text .section-title {
  margin-bottom: 16px;
}

.contact-text > p {
  color: var(--charcoal-500);
  font-size: 16px;
  line-height: 1.7;
}

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

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

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal-700);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.optional {
  font-weight: 400;
  color: var(--charcoal-400);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--charcoal-800);
  background: var(--cream-50);
  border: 2px solid var(--cream-200);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--coral-500);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--coral-100);
}

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

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

.form-success {
  margin-top: 16px;
  padding: 14px 18px;
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--charcoal-900);
  color: var(--charcoal-300);
}

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

.footer-brand .logo-text {
  font-size: 20px;
  margin-bottom: 16px;
  display: block;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--charcoal-400);
}

.footer-links strong,
.footer-hours strong {
  display: block;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.footer-links ul,
.footer-hours ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--charcoal-400);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--coral-400);
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--charcoal-400);
  gap: 16px;
}

.closed {
  color: var(--coral-400);
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--charcoal-500);
}

/* ========================================
   SCROLL REVEAL (progressive enhancement)
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .about-grid,
  .visit-grid,
  .contact-inner {
    gap: 48px;
  }

  .about-img-secondary {
    right: -20px;
    bottom: -20px;
  }

  .about-img-secondary img {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-item--wide {
    grid-column: span 2;
  }

  .gallery-item--wide img {
    height: 260px;
  }

  .gallery-item:nth-child(n) img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 24px;
    transform: translateY(-120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .main-nav.open {
    transform: translateY(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 20px;
  }

  .main-nav a {
    font-size: 16px;
    color: var(--charcoal-300);
  }

  .main-nav .btn {
    width: 100%;
    text-align: center;
  }

  .hero-content {
    padding: 140px 24px 100px;
  }

  .hero-quick-info {
    flex-direction: column;
    gap: 16px;
  }

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

  .about-images {
    max-width: 480px;
  }

  .about-img-secondary {
    right: 0;
    bottom: -24px;
  }

  .about-img-secondary img {
    width: 140px;
    height: 140px;
  }

  .about-badge {
    top: -12px;
    left: -12px;
  }

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

  .gallery-item--wide {
    grid-column: span 1;
  }

  .gallery-item--wide img {
    height: 240px;
  }

  .gallery-item img {
    height: 220px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 24px 36px;
  }

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

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

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

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

  .section-title {
    font-size: 28px;
  }
}
