/* COFFEE BAKERY — style.css */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; overflow-x: hidden; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* SCROLL PROGRESS */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--primary); width: 0%; z-index: 9999; transition: width .1s linear; }

/* NAVBAR */
.navbar { position: sticky; top: 0; z-index: 900; background: rgba(250,247,243,.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border-subtle); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1240px; margin: 0 auto; padding: 0 24px; height: 64px; }
.navbar-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-name { font-family: 'Lora', serif; font-size: 1.05rem; font-weight: 600; color: var(--text); }
.navbar-links { display: flex; gap: 24px; list-style: none; }
.navbar-links a { text-decoration: none; font-size: .83rem; font-weight: 500; color: var(--text-muted); transition: color .2s; }
.navbar-links a:hover { color: var(--primary); }
.navbar-actions { display: flex; align-items: center; gap: 16px; }
.navbar-hours { display: flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 500; color: var(--text-muted); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { width: 22px; height: 2px; background: var(--text); transition: .3s; display: block; }

/* MOBILE MENU */
.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 16px 24px; background: var(--bg-card); border-bottom: 1px solid var(--border-subtle); position: fixed; top: 64px; left: 0; right: 0; z-index: 800; }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--text-muted); text-decoration: none; font-size: .9rem; padding: 10px 0; border-bottom: 1px solid var(--border-subtle); font-weight: 500; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 24px; border-radius: 6px; font-size: .85rem; font-weight: 600; text-decoration: none; border: none; cursor: pointer; transition: all .2s; font-family: inherit; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(var(--primary-rgb),.25); }
.btn-outline { border: 1.5px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.5); color: rgba(255,255,255,.9); background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.btn-lg { padding: 14px 32px; font-size: .92rem; }
.btn-sm { padding: 8px 18px; font-size: .78rem; }
.btn-block { width: 100%; justify-content: center; }

/* SECTION BASE */
.section { padding: 96px 0; }
.section-alt { background: var(--surface); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-family: 'Lora', serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; line-height: 1.25; margin-bottom: 14px; }
.section-sub { color: var(--text-muted); max-width: 540px; margin: 0 auto; font-size: .92rem; }
.eyebrow { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* HERO */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-img-wrap { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(26,18,9,.85) 45%, rgba(26,18,9,.4) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 680px; padding: 100px 0; }
.hero-eyebrow { font-size: .7rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.hero-headline { font-family: 'Lora', serif; font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 700; line-height: 1.08; color: #fff; margin-bottom: 22px; }
.hero-headline em { font-style: italic; color: var(--accent); }
.hero-sub { font-size: 1rem; color: rgba(255,255,255,.75); max-width: 460px; margin-bottom: 24px; }
.hero-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-chip { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.85); font-size: .72rem; font-weight: 600; padding: 5px 14px; border-radius: 100px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* HOURS BAR */
.hours-bar { background: var(--dark); padding: 20px 0; }
.hours-bar-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center; }
.hours-bar-label { display: flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.5); white-space: nowrap; }
.hours-bar-divider { width: 1px; height: 24px; background: rgba(255,255,255,.1); }
.hours-list { display: flex; gap: 32px; flex-wrap: wrap; }
.hours-item { display: flex; gap: 8px; align-items: center; font-size: .78rem; color: rgba(255,255,255,.7); }
.hours-day { font-weight: 600; }
.hours-time { color: var(--accent); font-weight: 500; }
.hours-note { font-size: .72rem; color: rgba(255,255,255,.4); }

/* MENU */
.menu-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; justify-content: center; }
.menu-tab { background: transparent; border: 1.5px solid var(--border-subtle); border-radius: 100px; padding: 9px 24px; font-size: .83rem; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: all .2s; font-family: inherit; }
.menu-tab.active, .menu-tab:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.menu-panel { display: none; }
.menu-panel.active { display: block; }
.menu-grid { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border-subtle); border-radius: 12px; overflow: hidden; background: var(--bg-card); }
.menu-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--border-subtle); transition: background .2s; }
.menu-item:last-child { border-bottom: none; }
.menu-item:hover { background: var(--primary-light); }
.menu-item-info { flex: 1; }
.menu-item-name { font-weight: 600; font-size: .92rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 3px; }
.menu-badge { background: var(--primary-light); border: 1px solid var(--border); color: var(--primary); font-size: .62rem; font-weight: 700; padding: 2px 8px; border-radius: 100px; letter-spacing: .5px; }
.menu-item-desc { font-size: .8rem; color: var(--text-muted); }
.menu-item-price { font-family: 'Lora', serif; font-size: 1.05rem; font-weight: 600; color: var(--primary); white-space: nowrap; flex-shrink: 0; }
.menu-allergen { text-align: center; font-size: .78rem; color: var(--text-muted); margin-top: 20px; display: flex; align-items: center; justify-content: center; gap: 7px; }

/* SPECIALS */
.specials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.special-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px; overflow: hidden; transition: transform .3s; }
.special-card:hover { transform: translateY(-5px); }
.special-img-wrap { position: relative; height: 220px; overflow: hidden; }
.special-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.special-card:hover .special-img { transform: scale(1.04); }
.special-tag { position: absolute; top: 12px; left: 12px; background: var(--primary); color: #fff; font-size: .65rem; font-weight: 700; padding: 4px 12px; border-radius: 100px; }
.special-body { padding: 22px; }
.special-name { font-family: 'Lora', serif; font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.special-desc { font-size: .82rem; color: var(--text-muted); margin-bottom: 18px; line-height: 1.65; }
.special-footer { display: flex; align-items: center; justify-content: space-between; }
.special-price { font-family: 'Lora', serif; font-size: 1.2rem; font-weight: 600; color: var(--primary); }

/* STORY */
.story-section { background: var(--bg); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-img { width: 100%; height: 520px; object-fit: cover; border-radius: 12px; }
.story-text-col h2 { font-family: 'Lora', serif; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; margin: 8px 0 18px; }
.story-text-col p { font-size: .92rem; color: var(--text-muted); }
.story-values { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.story-value { display: flex; gap: 14px; align-items: flex-start; }
.story-value-icon { width: 36px; height: 36px; background: var(--primary-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.story-value-title { font-weight: 700; font-size: .9rem; margin-bottom: 2px; }
.story-value-desc { font-size: .8rem; color: var(--text-muted); }

/* GALLERY */
.gallery-section { background: var(--dark); padding: 80px 0 0; }
.gallery-header { text-align: center; padding: 0 24px 48px; }
.gallery-header .eyebrow { color: var(--accent); }
.gallery-header h2 { font-family: 'Lora', serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; color: #fff; margin-top: 8px; }
.gallery-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: 240px 240px; }
.gallery-grid .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid .gallery-item:nth-child(4) { grid-column: span 2; }
.gallery-item { position: relative; overflow: hidden; cursor: pointer; }
.gallery-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.gallery-item:hover .gallery-img { transform: scale(1.05); }
.gallery-hover { position: absolute; inset: 0; background: rgba(26,18,9,.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s; }
.gallery-item:hover .gallery-hover { opacity: 1; }

/* CATERING */
.catering-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.catering-text-col h2 { font-family: 'Lora', serif; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; margin: 8px 0 14px; }
.catering-offerings { display: flex; flex-direction: column; gap: 20px; }
.catering-item { display: flex; gap: 16px; align-items: flex-start; }
.catering-icon { width: 40px; height: 40px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.catering-item-title { font-weight: 700; font-size: .92rem; margin-bottom: 2px; }
.catering-item-desc { font-size: .82rem; color: var(--text-muted); }
.catering-img { width: 100%; height: 480px; object-fit: cover; border-radius: 12px; }

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 28px; }
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.testimonial-quote { font-family: 'Lora', serif; font-size: .95rem; font-style: italic; color: var(--text); line-height: 1.75; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.testimonial-name { font-weight: 700; font-size: .88rem; }
.testimonial-role { font-size: .75rem; color: var(--text-muted); }

/* LOYALTY */
.loyalty-section { background: var(--primary-light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 56px 0; }
.loyalty-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.loyalty-text { flex: 1; min-width: 280px; }
.loyalty-text h2 { font-family: 'Lora', serif; font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 600; margin-bottom: 10px; }
.loyalty-text p { font-size: .88rem; color: var(--text-muted); max-width: 420px; margin-bottom: 20px; }
.loyalty-perks { display: flex; flex-wrap: wrap; gap: 12px; }
.loyalty-perk { display: flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--text-muted); }
.loyalty-stamp-card { display: grid; grid-template-columns: repeat(5, 48px); gap: 8px; }
.stamp { width: 48px; height: 48px; border: 2px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--text-dim); flex-direction: column; font-size: .55rem; font-weight: 700; }
.stamp.filled { background: var(--primary); border-color: var(--primary); color: #fff; }
.stamp-free { border-color: var(--primary); color: var(--primary); border-style: dashed; }

/* LOCATION */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.location-info h2 { font-family: 'Lora', serif; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; margin: 8px 0 24px; }
.location-details { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.loc-item { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--text-muted); }
.loc-item a { color: var(--primary); text-decoration: none; }
.loc-item a:hover { text-decoration: underline; }
.social-links { display: flex; gap: 12px; }
.social-link { width: 38px; height: 38px; border: 1.5px solid var(--border-subtle); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-muted); text-decoration: none; transition: all .2s; }
.social-link:hover { border-color: var(--primary); color: var(--primary); }
.map-placeholder { height: 380px; }
.map-mock { height: 100%; background: var(--surface); border: 1px solid var(--border-subtle); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.map-mock p { font-size: .88rem; color: var(--text-muted); font-weight: 500; }
.map-mock small { font-size: .76rem; color: var(--text-dim); }

/* FOOTER */
.footer { background: var(--dark); color: rgba(255,255,255,.7); }
.footer-top { display: grid; grid-template-columns: 260px repeat(3, 1fr); gap: 48px; padding: 56px 24px; max-width: 1240px; margin: 0 auto; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-family: 'Lora', serif; font-size: 1rem; font-weight: 600; color: #fff; }
.footer-tagline { font-size: .82rem; opacity: .55; margin-bottom: 16px; font-style: italic; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5); text-decoration: none; transition: all .2s; }
.footer-social a:hover { border-color: var(--primary); color: var(--primary); }
.footer-col-title { font-size: .62rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { text-decoration: none; font-size: .82rem; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-col ul a:hover { color: var(--primary); }
.footer-bottom { max-width: 1240px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.08); padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; font-size: .75rem; color: rgba(255,255,255,.3); flex-wrap: wrap; gap: 8px; }

/* BACK TO TOP */
.back-to-top { position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px; background: var(--primary); border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; z-index: 500; color: #fff; }
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; }
  .gallery-grid .gallery-item:nth-child(1),
  .gallery-grid .gallery-item:nth-child(4) { grid-column: span 1; grid-row: span 1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .navbar-links { display: none; }
  .navbar-hours { display: none; }
  .hamburger { display: flex; }
  .story-grid { grid-template-columns: 1fr; }
  .specials-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .catering-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .loyalty-inner { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hours-list { gap: 16px; flex-direction: column; }
  .section { padding: 64px 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .loyalty-stamp-card { grid-template-columns: repeat(5, 1fr); }
  .loyalty-stamp-card .stamp { width: auto; }
}
@media (max-width: 480px) {
  .hero-chips { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hours-bar-divider { display: none; }
}
