/* ============================================================
   JEMS Party & Event Rentals — Main Stylesheet
   Clean semantic CSS, no Framer or Webflow dependencies
   ============================================================ */

/* ── Fonts ─────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

@font-face {
  font-family: 'Urbanist';
  src: url('../fonts/carousel-urbanist.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --cream:    #f4f0ea;
  --cream-lt: #fbf8f3;
  --brown:    #211b16;
  --brown-md: #8a837b;
  --rust:     #b65a2b;
  --white:    #ffffff;
  --black:    #000000;
  --border:   rgba(245, 241, 235, 0.12);
  --border-dark: rgba(0,0,0,0.08);

  --font-main: 'Inter', 'Urbanist', system-ui, sans-serif;
  --font-display: 'Inter', system-ui, sans-serif;

  --max-w: 1200px;
  --section-pad: 80px 32px;
  --section-pad-md: 60px 24px;
  --section-pad-sm: 48px 16px;

  --radius: 12px;
  --transition: 0.22s ease;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-main); background: var(--cream); color: var(--brown); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
h1,h2,h3,h4,h5,h6 { line-height: 1.15; font-weight: 400; }

/* ── Layout ─────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; }
.section { padding: var(--section-pad); display: flex; flex-direction: column; align-items: center; }
.section-inner { width: 100%; max-width: var(--max-w); }

/* ── Typography ─────────────────────────────────────────────── */
.display-1 { font-size: clamp(42px, 6vw, 72px); letter-spacing: -0.03em; line-height: 1.05; text-transform: uppercase; font-weight: 400; }
.display-2 { font-size: clamp(30px, 4vw, 52px); letter-spacing: -0.03em; line-height: 1.1; font-weight: 400; }
.display-3 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.02em; line-height: 1.2; font-weight: 400; }
.display-4 { font-size: clamp(20px, 2.5vw, 28px); letter-spacing: -0.01em; line-height: 1.3; font-weight: 400; }
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--rust); }
.body-lg { font-size: clamp(17px, 2vw, 20px); color: var(--brown-md); line-height: 1.6; }
.body-md { font-size: 17px; color: var(--brown-md); line-height: 1.6; }
.body-sm { font-size: 15px; color: var(--brown-md); line-height: 1.5; }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-cream { color: var(--cream); }
.text-muted { color: var(--brown-md); }
.text-rust { color: var(--rust); }
.max-640 { max-width: 640px; margin-left: auto; margin-right: auto; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 100px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.02em;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--brown); color: var(--cream); border-color: var(--brown); }
.btn-primary:hover { background: var(--brown-md); border-color: var(--brown-md); }
.btn-outline-cream { background: transparent; color: var(--cream); border-color: rgba(244,240,234,0.85); }
.btn-outline-cream:hover { background: rgba(244,240,234,0.15); }
.btn-outline-dark { background: transparent; color: var(--brown); border-color: var(--brown); }
.btn-outline-dark:hover { background: var(--brown); color: var(--cream); }
.btn-rust { background: var(--rust); color: var(--white); border-color: var(--rust); }
.btn-rust:hover { background: #9d4a22; border-color: #9d4a22; }

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), backdrop-filter var(--transition);
}
.nav.scrolled { background: rgba(251,248,243,0.92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--border-dark); }
.nav-inner { width: 100%; max-width: var(--max-w); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.nav-logo { flex-shrink: 0; }
.nav-logo img { height: 36px; width: auto; transition: filter var(--transition); }
.nav.dark-text .nav-logo img { filter: none; }
.nav:not(.dark-text) .nav-logo img { filter: invert(1) brightness(10); }
.nav.scrolled .nav-logo img { filter: none !important; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 6px 12px; border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--brown); transition: background var(--transition); }
.nav-link:hover { background: rgba(0,0,0,0.06); }
.nav:not(.scrolled):not(.dark-text) .nav-link { color: var(--cream); }
.nav:not(.scrolled):not(.dark-text) .nav-link:hover { background: rgba(244,240,234,0.12); }
.nav-cta { flex-shrink: 0; }
.nav-toggle { display: none; background: none; border: none; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform var(--transition), opacity var(--transition); }
.nav:not(.scrolled):not(.dark-text) .nav-toggle { color: var(--cream); }
.nav.scrolled .nav-toggle, .nav.dark-text .nav-toggle { color: var(--brown); }

/* Mobile nav */
.nav-mobile { display: none; position: fixed; inset: 0; background: var(--cream-lt); z-index: 99; flex-direction: column; padding: 100px 24px 40px; gap: 8px; overflow-y: auto; }
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link { font-size: 22px; padding: 12px 0; border-bottom: 1px solid var(--border-dark); border-radius: 0; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--brown);
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(33,27,22,0.45) 0%, rgba(33,27,22,0.25) 50%, rgba(33,27,22,0.7) 100%); }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 120px 24px 80px; max-width: 860px; margin: 0 auto; }
.hero-content h1 { color: var(--cream); margin-bottom: 24px; }
.hero-content p { color: rgba(244,240,234,0.85); font-size: clamp(16px, 2vw, 20px); margin-bottom: 40px; max-width: 560px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Stats bar ───────────────────────────────────────────────── */
.stats-bar { background: var(--cream-lt); border-top: 1px solid var(--border-dark); border-bottom: 1px solid var(--border-dark); padding: 40px 32px; }
.stats-inner { max-width: var(--max-w); margin: 0 auto; display: flex; justify-content: center; gap: 64px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-number { font-size: 36px; font-weight: 300; letter-spacing: -0.02em; color: var(--brown); }
.stat-label { font-size: 14px; color: var(--brown-md); margin-top: 4px; }

/* ── Section headers ──────────────────────────────────────────── */
.section-header { margin-bottom: 48px; }
.section-header .eyebrow { margin-bottom: 12px; }
.section-header h2 { margin-bottom: 16px; }

/* ── Cards ───────────────────────────────────────────────────── */
.card { background: var(--cream-lt); border-radius: var(--radius); overflow: hidden; }
.card-body { padding: 24px; }
.card-img { aspect-ratio: 4/3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-img img { transform: scale(1.04); }

/* ── Services grid ───────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card { background: var(--cream-lt); border-radius: var(--radius); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(33,27,22,0.12); }
.service-img { aspect-ratio: 16/10; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-card:hover .service-img img { transform: scale(1.04); }
.service-body { padding: 20px 24px 24px; }
.service-body h3 { font-size: 20px; margin-bottom: 8px; font-weight: 500; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { font-size: 12px; padding: 4px 10px; background: rgba(33,27,22,0.07); border-radius: 20px; color: var(--brown-md); }

/* ── Process steps ───────────────────────────────────────────── */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.process-step { position: relative; }
.step-num { font-size: 48px; font-weight: 300; letter-spacing: -0.03em; color: rgba(33,27,22,0.15); line-height: 1; margin-bottom: 16px; }
.step-title { font-size: 18px; font-weight: 500; margin-bottom: 8px; }
.step-desc { font-size: 15px; color: var(--brown-md); line-height: 1.6; }

/* ── Testimonial ─────────────────────────────────────────────── */
.testimonials-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.testimonial-card { background: var(--cream-lt); border-radius: var(--radius); padding: 28px; }
.testimonial-stars { color: var(--rust); font-size: 16px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text { font-size: 16px; line-height: 1.7; color: var(--brown); font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--cream); }
.author-name { font-size: 14px; font-weight: 500; }
.author-event { font-size: 13px; color: var(--brown-md); }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border-dark); }
.faq-item { border-bottom: 1px solid var(--border-dark); }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer; gap: 16px; font-size: 17px; font-weight: 500; }
.faq-icon { flex-shrink: 0; width: 24px; height: 24px; position: relative; color: var(--brown); transition: transform var(--transition); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: currentColor; transition: transform var(--transition), opacity var(--transition); }
.faq-icon::before { width: 14px; height: 1.5px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-icon::after { width: 1.5px; height: 14px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-answer { display: none; padding-bottom: 20px; font-size: 16px; color: var(--brown-md); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

/* ── CTA section ─────────────────────────────────────────────── */
.cta-section { background: var(--brown); padding: 80px 32px; text-align: center; }
.cta-section h2 { color: var(--cream); margin-bottom: 16px; }
.cta-section p { color: rgba(244,240,234,0.75); margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ── Footer ──────────────────────────────────────────────────── */
footer { background: var(--black); color: var(--cream); padding: 64px 32px 24px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top { display: flex; gap: 64px; justify-content: space-between; flex-wrap: wrap; margin-bottom: 64px; }
.footer-brand { flex: 0.4 0 200px; }
.footer-logo { height: 32px; width: auto; margin-bottom: 20px; filter: invert(1) brightness(10); }
.footer-tagline { font-size: 15px; color: rgba(244,240,234,0.6); line-height: 1.6; max-width: 280px; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.social-link { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(244,240,234,0.2); display: flex; align-items: center; justify-content: center; font-size: 16px; transition: border-color var(--transition), background var(--transition); }
.social-link:hover { border-color: rgba(244,240,234,0.6); background: rgba(244,240,234,0.08); }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(244,240,234,0.45); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 15px; color: rgba(244,240,234,0.7); transition: color var(--transition); }
.footer-col a:hover { color: var(--cream); }
.footer-bottom { border-top: 1px solid rgba(244,240,234,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(244,240,234,0.4); }

/* ── Breadcrumb ──────────────────────────────────────────────── */
.breadcrumb { padding: 12px 0; font-size: 13px; color: var(--brown-md); display: flex; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--brown-md); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--brown); }
.breadcrumb span { color: var(--brown); }

/* ── Blog ─────────────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.blog-card { background: var(--cream-lt); border-radius: var(--radius); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(33,27,22,0.12); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 24px; }
.blog-cat { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--rust); margin-bottom: 10px; }
.blog-title { font-size: 19px; font-weight: 500; line-height: 1.3; margin-bottom: 10px; }
.blog-excerpt { font-size: 14px; color: var(--brown-md); line-height: 1.6; }

/* Blog article */
.article-header { padding: 120px 24px 60px; background: var(--brown); text-align: center; }
.article-header .eyebrow { color: rgba(244,240,234,0.6); margin-bottom: 16px; }
.article-header h1 { color: var(--cream); max-width: 760px; margin: 0 auto 20px; }
.article-header p { color: rgba(244,240,234,0.7); max-width: 600px; margin: 0 auto; font-size: 18px; }
.article-hero-img { aspect-ratio: 21/9; overflow: hidden; }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 740px; margin: 0 auto; padding: 60px 24px 80px; }
.article-body h2 { font-size: 26px; margin: 40px 0 16px; }
.article-body h3 { font-size: 20px; margin: 32px 0 12px; font-weight: 500; }
.article-body p { font-size: 17px; line-height: 1.75; color: var(--brown); margin-bottom: 20px; }
.article-body ul, .article-body ol { margin: 0 0 20px 24px; list-style: disc; }
.article-body li { font-size: 17px; line-height: 1.75; color: var(--brown); margin-bottom: 8px; }
.article-body strong { font-weight: 600; }

/* ── Gallery ──────────────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.05); }

/* ── Packages ─────────────────────────────────────────────────── */
.packages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.package-card { background: var(--cream-lt); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-dark); transition: transform var(--transition), box-shadow var(--transition); }
.package-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(33,27,22,0.12); }
.package-card.featured { border-color: var(--rust); }
.package-img { aspect-ratio: 4/3; overflow: hidden; }
.package-img img { width: 100%; height: 100%; object-fit: cover; }
.package-body { padding: 24px; }
.package-name { font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.package-desc { font-size: 15px; color: var(--brown-md); line-height: 1.6; margin-bottom: 16px; }
.package-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.feature-item { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.feature-check { color: var(--rust); flex-shrink: 0; font-size: 14px; margin-top: 2px; }

/* ── Service Area Page ────────────────────────────────────────── */
.location-hero { background: var(--brown); padding: 140px 24px 80px; text-align: center; }
.location-hero h1 { color: var(--cream); margin-bottom: 16px; }
.location-hero p { color: rgba(244,240,234,0.75); max-width: 600px; margin: 0 auto 32px; font-size: 18px; }
.location-content { max-width: 800px; margin: 0 auto; padding: 60px 24px 80px; }
.location-content h2 { font-size: 28px; margin: 40px 0 16px; }
.location-content p { font-size: 17px; line-height: 1.75; margin-bottom: 20px; color: var(--brown); }

/* ── Ticker / Logo band ───────────────────────────────────────── */
.ticker-section { background: var(--cream-lt); border-top: 1px solid var(--border-dark); border-bottom: 1px solid var(--border-dark); padding: 24px 0; overflow: hidden; }
.ticker-items { display: flex; gap: 48px; align-items: center; white-space: nowrap; }
.ticker-item { font-size: 14px; font-weight: 500; color: var(--brown-md); letter-spacing: 0.04em; text-transform: uppercase; display: flex; align-items: center; gap: 16px; }
.ticker-item::after { content: '✦'; font-size: 10px; color: var(--rust); }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --section-pad: var(--section-pad-md); }
  .footer-top { gap: 40px; }
  .footer-cols { gap: 40px; }
  .stats-inner { gap: 40px; }
}

@media (max-width: 640px) {
  :root { --section-pad: var(--section-pad-sm); }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .hero-actions { flex-direction: column; align-items: center; }
  .stats-inner { gap: 28px; }
  .stat-number { font-size: 28px; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-cols { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .process-grid { grid-template-columns: 1fr; }
}

/* ── Utilities ────────────────────────────────────────────────── */
.bg-cream { background: var(--cream); }
.bg-cream-lt { background: var(--cream-lt); }
.bg-brown { background: var(--brown); }
.bg-rust { background: var(--rust); }
.mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-12 { margin-top: 48px; }
.mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; } .mb-8 { margin-bottom: 32px; } .mb-12 { margin-bottom: 48px; }
.flex { display: flex; } .flex-col { flex-direction: column; } .items-center { align-items: center; } .justify-between { justify-content: space-between; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.divider { border: none; border-top: 1px solid var(--border-dark); margin: 40px 0; }
.page-header { padding: 120px 24px 60px; background: var(--cream-lt); }
.page-header h1 { margin-bottom: 16px; }
.page-header p { max-width: 600px; }
