/* Percolatte café site styles */

/* CSS Variables */
:root {
  --warm-yellow: #ffd32a;
  --deep-coffee: #111111;
  --crisp-white: #ffffff;
  --charcoal-gray: #262626;
  --fresh-green: #111111;
  --coffee-brown: #242424;
  --light-yellow: #fff6cf;
  --soft-gray: #6d6d6d;
  --light-gray: #e9e9e9;
  --medium-gray: #8b8b8b;
  --dark-brown: #080808;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', Arial, sans-serif;
  
  /* Spacing */
  --section-padding: 100px 0;
  --container-padding: 0 24px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal-gray);
  background-color: var(--crisp-white);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--deep-coffee);
  text-transform: none;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }

p {
  color: var(--soft-gray);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-medium);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--container-padding);
}

/* ========================================
   NAVIGATION - Deep Coffee Brown
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  background-color: var(--deep-coffee);
  transition: var(--transition-medium);
}

.navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.75rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--warm-yellow);
  letter-spacing: 1px;
}

.logo span {
  color: var(--crisp-white);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--crisp-white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--warm-yellow);
  transition: var(--transition-medium);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--warm-yellow);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 28px;
  height: 2px;
  background-color: var(--crisp-white);
  transition: var(--transition-medium);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
@media (max-width: 968px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--deep-coffee);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: var(--transition-slow);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links a {
    font-size: 1.1rem;
  }
}

/* ========================================
   TAGLINE BANNER - Brand Messaging
   ======================================== */
.tagline-banner {
  background: linear-gradient(135deg, var(--deep-coffee) 0%, var(--dark-brown) 100%);
  padding: 1.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.tagline-banner p {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--crisp-white);
  margin: 0;
  position: relative;
  letter-spacing: 3px;
}

.tagline-banner .highlight {
  color: var(--warm-yellow);
  position: relative;
}

.tagline-banner .highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--warm-yellow);
  border-radius: 2px;
}

/* ========================================
   HERO SECTIONS
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--fresh-green);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--warm-yellow);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-title {
  color: var(--crisp-white);
  margin-bottom: 1.5rem;
}

.hero-text {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* Page Hero (smaller) */
.page-hero {
  min-height: 50vh;
  padding-top: 100px;
}

/* ========================================
   BUTTONS - Updated with Branding
   ======================================== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 1rem 2.5rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

/* Primary Button - Warm Yellow */
.btn-primary {
  background-color: var(--warm-yellow);
  color: var(--deep-coffee);
}

.btn-primary:hover {
  background-color: #FFC107;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 213, 79, 0.4);
}

/* Secondary Button - Outline White */
.btn-secondary {
  background-color: transparent;
  color: var(--crisp-white);
  border: 2px solid var(--crisp-white);
}

.btn-secondary:hover {
  background-color: var(--crisp-white);
  color: var(--deep-coffee);
  transform: translateY(-2px);
}

/* CTA Button */
.btn-cta {
  background-color: var(--deep-coffee);
  color: var(--warm-yellow);
}

.btn-cta:hover {
  background-color: #333333;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
  padding: var(--section-padding);
}

/* White background for clean sections */
.section-alt {
  background-color: var(--light-gray);
}

/* Dark coffee section */
.section-dark {
  background-color: var(--deep-coffee);
}

.section-dark h2,
.section-dark p {
  color: var(--crisp-white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
  position: relative;
}

.section-subtitle {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--warm-yellow);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.section-title {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

/* Brushstroke accent behind section title */
.section-title::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 12px;
  background: var(--warm-yellow);
  opacity: 0.4;
  z-index: -1;
  border-radius: 2px;
  transform: translateX(-50%) skewX(-10deg);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--soft-gray);
}

/* ========================================
   BRUSHSTROKE HIGHLIGHT
   ======================================== */
.brushstroke {
  position: relative;
  display: inline-block;
}

.brushstroke::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -5px;
  width: calc(100% + 10px);
  height: 8px;
  background: var(--warm-yellow);
  opacity: 0.5;
  z-index: -1;
  border-radius: 2px;
  transform: skewX(-15deg);
}

/* ========================================
   FEATURED MENU (Home)
   ======================================== */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.featured-card {
  background-color: var(--crisp-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(78, 52, 46, 0.08);
  transition: var(--transition-medium);
  border: 1px solid var(--light-gray);
}

.featured-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(78, 52, 46, 0.15);
}

.featured-image {
  height: 250px;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
  filter: brightness(1.04);
}

.featured-card:hover .featured-image img {
  transform: scale(1.1);
}

.featured-content {
  padding: 2rem;
}

.featured-category {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--warm-yellow);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.featured-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.featured-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--warm-yellow);
  font-weight: 600;
}

/* ========================================
   LIFESTYLE / PARALLAX SECTION
   ======================================== */
.lifestyle-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

.lifestyle-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--fresh-green);
}

.lifestyle-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.lifestyle-quote {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--crisp-white);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.lifestyle-author {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--warm-yellow);
  letter-spacing: 3px;
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 968px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.about-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(78, 52, 46, 0.2);
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border: 3px solid var(--warm-yellow);
  z-index: -1;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Philosophy Cards */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.philosophy-card {
  background-color: var(--crisp-white);
  padding: 2.5rem;
  border-radius: 16px;
  text-align: center;
  transition: var(--transition-medium);
  border: 1px solid var(--light-gray);
}

.philosophy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(78, 52, 46, 0.1);
}

.philosophy-icon {
  width: 80px;
  height: 80px;
  background-color: var(--warm-yellow);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.philosophy-icon i {
  font-size: 2rem;
  color: var(--deep-coffee);
}

.philosophy-card h3 {
  margin-bottom: 1rem;
}

/* Why Percolatte */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.why-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--warm-yellow);
  font-weight: 700;
  line-height: 1;
}

.why-content h4 {
  margin-bottom: 0.5rem;
}

/* ========================================
   MENU PAGE
   ======================================== */
.menu-hero {
  background: none;
}

.menu-section {
  margin-bottom: 5rem;
}

.menu-section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--warm-yellow);
  display: inline-block;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.menu-item {
  display: flex;
  gap: 1.5rem;
  background-color: var(--crisp-white);
  padding: 1.5rem;
  border-radius: 12px;
  transition: var(--transition-medium);
  border: 1px solid var(--light-gray);
}

.menu-item:hover {
  box-shadow: 0 10px 30px rgba(78, 52, 46, 0.1);
  transform: translateY(-3px);
}

.menu-item-image {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.menu-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-item-content {
  flex: 1;
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.menu-item-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
}

.menu-item-price {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--warm-yellow);
  font-weight: 600;
}

.menu-item-desc {
  font-size: 0.9rem;
  color: var(--soft-gray);
  line-height: 1.5;
}

/* ========================================
   GALLERY PAGE
   ======================================== */
.gallery-hero {
  background: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.8) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: var(--transition-medium);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--crisp-white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 26, 26, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-medium);
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 2rem;
  color: var(--crisp-white);
  cursor: pointer;
  transition: var(--transition-medium);
}

.lightbox-close:hover {
  color: var(--warm-yellow);
  transform: rotate(90deg);
}

/* ========================================
   VISIT PAGE
   ======================================== */
.visit-hero {
  background: none;
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

@media (max-width: 968px) {
  .visit-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.visit-info h3 {
  margin-bottom: 1.5rem;
}

.visit-address {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.visit-address strong {
  color: var(--deep-coffee);
  display: block;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-icon {
  width: 50px;
  height: 50px;
  background-color: var(--warm-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-content h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.info-content p {
  margin: 0;
  font-size: 0.95rem;
}

/* Map */
.map-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(78, 52, 46, 0.15);
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: none;
}

/* Hours Table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.hours-table tr {
  border-bottom: 1px solid var(--light-gray);
}

.hours-table td {
  padding: 1rem 0;
  font-size: 0.95rem;
}

.hours-table td:first-child {
  font-weight: 600;
  color: var(--deep-coffee);
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-hero {
  background: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

@media (max-width: 968px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Contact Form */
.contact-form {
  background-color: var(--crisp-white);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 15px 50px rgba(78, 52, 46, 0.1);
  border: 1px solid var(--light-gray);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--deep-coffee);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-medium);
  background-color: var(--crisp-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--warm-yellow);
  box-shadow: 0 0 0 3px rgba(255, 213, 79, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Contact Info */
.contact-info {
  padding: 2rem 0;
}

.contact-info h3 {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background-color: var(--warm-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-details p {
  margin: 0;
  font-size: 0.95rem;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  width: 50px;
  height: 50px;
  background-color: var(--deep-coffee);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--crisp-white);
  font-size: 1.25rem;
  transition: var(--transition-medium);
}

.social-link:hover {
  background-color: var(--warm-yellow);
  color: var(--deep-coffee);
  transform: translateY(-3px);
}

/* ========================================
   FOOTER - Deep Coffee Brown
   ======================================== */
.footer {
  background-color: var(--deep-coffee);
  color: var(--crisp-white);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand .logo {
  margin-bottom: 1.5rem;
  display: inline-block;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer h4 {
  color: var(--crisp-white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--warm-yellow);
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin: 0;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ========================================
   UTILITIES
   ======================================== */
.text-center { text-align: center; }
.text-yellow { color: var(--warm-yellow); }
.text-green { color: var(--fresh-green); }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

/* Page transition */
.page-transition {
  animation: pageIn 0.6s ease forwards;
}

@keyframes pageIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--warm-yellow);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #FFC107;
}

/* Selection */
::selection {
  background-color: var(--warm-yellow);
  color: var(--deep-coffee);
}

/* ========================================
   LOADING SCREEN
   ======================================== */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--deep-coffee);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-wrapper.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--crisp-white);
  letter-spacing: 3px;
  margin-bottom: 2rem;
}

.loader-logo span {
  color: var(--warm-yellow);
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.loader-bar-container {
  width: 200px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--warm-yellow), #FFE082, var(--warm-yellow));
  border-radius: 3px;
  transition: width 0.3s ease;
}

.loader-text {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--warm-yellow);
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* Coffee cup animation */
.coffee-cup {
  position: relative;
  width: 60px;
  height: 50px;
  margin-bottom: 1rem;
}

.coffee-cup::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 40px;
  background: var(--crisp-white);
  border-radius: 0 0 10px 10px;
}

.coffee-cup::after {
  content: '';
  position: absolute;
  bottom: 5px;
  right: -12px;
  width: 15px;
  height: 25px;
  border: 3px solid var(--crisp-white);
  border-left: none;
  border-radius: 0 15px 15px 0;
}

.coffee-cup .steam {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
}

.coffee-cup .steam span {
  width: 3px;
  height: 20px;
  background: var(--warm-yellow);
  border-radius: 3px;
  opacity: 0;
  animation: steam 1.5s ease-in-out infinite;
}

.coffee-cup .steam span:nth-child(2) {
  animation-delay: 0.3s;
  height: 25px;
}

.coffee-cup .steam span:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes steam {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(10px) scale(0.5);
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-15px) scale(1.2);
  }
}

/* Loading complete animation */
.loader-wrapper.fade-out {
  opacity: 0;
  visibility: hidden;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 768px) {
  .tagline-banner p {
    font-size: 1rem;
    letter-spacing: 2px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .btn {
    padding: 0.875rem 2rem;
    font-size: 0.8rem;
  }
}

/* ========================================
   TRANSPARENT FOOD ICONS BACKGROUND
   ======================================== */
.food-icons-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.food-icon {
  position: absolute;
  opacity: 0.15;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
  fill: #FFD54F;
}

/* Hero Section Food Icons */
.hero .food-icons-container .food-icon {
  opacity: 0.08;
}

.hero .food-icon-1 {
  top: 15%;
  left: 8%;
  width: 120px;
  animation: float 8s ease-in-out infinite;
}

.hero .food-icon-2 {
  top: 60%;
  right: 10%;
  width: 100px;
  animation: float 10s ease-in-out infinite reverse;
}

.hero .food-icon-3 {
  bottom: 20%;
  left: 15%;
  width: 80px;
  animation: float 7s ease-in-out infinite 1s;
}

.hero .food-icon-4 {
  top: 30%;
  right: 20%;
  width: 90px;
  animation: float 9s ease-in-out infinite 0.5s;
}

/* Featured Section Food Icons */
.section .food-icons-container .food-icon {
  opacity: 0.05;
}

.featured-grid .food-icon-1 {
  top: 5%;
  left: 5%;
  width: 100px;
  animation: float 12s ease-in-out infinite;
}

.featured-grid .food-icon-2 {
  top: 20%;
  right: 8%;
  width: 85px;
  animation: float 11s ease-in-out infinite reverse;
}

.featured-grid .food-icon-3 {
  bottom: 10%;
  left: 10%;
  width: 70px;
  animation: float 9s ease-in-out infinite 1.5s;
}

.featured-grid .food-icon-4 {
  bottom: 25%;
  right: 5%;
  width: 90px;
  animation: float 10s ease-in-out infinite 0.8s;
}

/* Lifestyle Section Food Icons */
.lifestyle-section .food-icons-container .food-icon {
  opacity: 0.07;
  filter: brightness(2) drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
}

.lifestyle-section .food-icon-1 {
  top: 10%;
  left: 10%;
  width: 140px;
  animation: float 10s ease-in-out infinite;
}

.lifestyle-section .food-icon-2 {
  bottom: 15%;
  right: 12%;
  width: 110px;
  animation: float 8s ease-in-out infinite reverse;
}

.lifestyle-section .food-icon-3 {
  top: 40%;
  left: 5%;
  width: 80px;
  animation: float 11s ease-in-out infinite 1.2s;
}

.lifestyle-section .food-icon-4 {
  top: 20%;
  right: 25%;
  width: 95px;
  animation: float 9s ease-in-out infinite 0.6s;
}

/* Philosophy Section Food Icons */
.philosophy-grid .food-icons-container .food-icon {
  opacity: 0.04;
}

.philosophy-grid .food-icon-1 {
  top: -20px;
  left: 20%;
  width: 80px;
  animation: float 13s ease-in-out infinite;
}

.philosophy-grid .food-icon-2 {
  top: 30%;
  right: 10%;
  width: 70px;
  animation: float 11s ease-in-out infinite reverse;
}

.philosophy-grid .food-icon-3 {
  bottom: -10px;
  left: 40%;
  width: 90px;
  animation: float 10s ease-in-out infinite 0.9s;
}

/* Footer Food Icons */
.footer .food-icons-container {
  opacity: 0.15;
}

.footer .food-icon {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(102%) contrast(102%);
}

.footer .food-icon-1 {
  top: 10%;
  left: 5%;
  width: 100px;
  animation: float 14s ease-in-out infinite;
}

.footer .food-icon-2 {
  bottom: 20%;
  right: 8%;
  width: 85px;
  animation: float 12s ease-in-out infinite reverse;
}

.footer .food-icon-3 {
  top: 50%;
  left: 15%;
  width: 60px;
  animation: float 10s ease-in-out infinite 1.5s;
}

.footer .food-icon-4 {
  bottom: 10%;
  right: 25%;
  width: 75px;
  animation: float 11s ease-in-out infinite 0.7s;
}

/* Float Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-15px) rotate(3deg);
  }
  50% {
    transform: translateY(-8px) rotate(-2deg);
  }
  75% {
    transform: translateY(-20px) rotate(2deg);
  }
}

/* Responsive adjustments for food icons */
@media (max-width: 968px) {
  .food-icon {
    display: none;
  }
  
  .hero .food-icon,
  .lifestyle-section .food-icon,
  .footer .food-icon {
    display: block;
    opacity: 0.04;
  }
}

/* Percolatte editorial refresh */
:root {
  --warm-yellow: #ffd32a;
  --deep-coffee: #111111;
  --crisp-white: #ffffff;
  --charcoal-gray: #262626;
  --fresh-green: #111111;
  --coffee-brown: #242424;
  --light-yellow: #fff6cf;
  --soft-gray: #6d6d6d;
  --light-gray: #e9e9e9;
  --medium-gray: #8b8b8b;
  --dark-brown: #080808;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', Arial, sans-serif;
  --section-padding: 112px 0;
  --container-padding: 0 32px;
  --transition-fast: 0.2s ease;
  --transition-medium: 0.35s ease;
  --transition-slow: 0.6s ease;
}

html {
  scroll-padding-top: 88px;
}

body {
  background: #ffffff;
  color: var(--charcoal-gray);
  font-size: 16px;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--deep-coffee);
  font-weight: 500;
  letter-spacing: -0.025em;
}

p {
  color: var(--soft-gray);
}

.container {
  max-width: 1340px;
}

.navbar {
  padding: 1.05rem 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.64), transparent);
  transition: background-color var(--transition-medium), padding var(--transition-medium), box-shadow var(--transition-medium);
}

.navbar.scrolled {
  padding: 0.72rem 0;
  background: rgba(8, 8, 8, 0.97);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.navbar .container {
  min-height: 42px;
}

.logo {
  color: #ffffff;
  font-family: var(--font-heading);
  display: inline-flex;
  align-items: center;
  width: 148px;
  height: 48px;
  flex: 0 0 auto;
}

.navbar .logo {
  width: 190px;
  height: 62px;
}

.logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo span {
  color: #ffd32a;
}

.nav-links {
  align-items: center;
  gap: clamp(1.2rem, 2.1vw, 2rem);
}

.nav-links a {
  color: rgba(255, 250, 241, 0.9);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.nav-links a::after {
  height: 1px;
  background: #ffd32a;
}

.menu-toggle {
  padding: 8px;
  border: 0;
  background: transparent;
  color: #fffaf1;
}

.menu-toggle span {
  background: currentColor;
}

.hero {
  min-height: min(880px, 96svh);
  min-height: min(880px, 96vh);
}

.page-hero {
  min-height: 560px;
  min-height: min(640px, 76vh);
  padding: 120px 0 64px;
}

.hero-bg {
  background-attachment: scroll;
  background-position: center 52%;
  transform: scale(1.01);
  animation: hero-settle 1.3s ease-out both;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.48) 54%, rgba(0, 0, 0, 0.14) 100%);
}

.hero-content {
  max-width: 1050px;
  padding: 0 32px;
  text-align: left;
}

.hero-content .btn-group {
  justify-content: flex-start;
}

.hero-subtitle,
.section-subtitle {
  color: #ffd32a;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 820px;
  margin-bottom: 1.2rem;
  color: #ffffff;
  font-size: clamp(3.5rem, 8vw, 7.3rem);
  font-weight: 500;
  line-height: 0.99;
  letter-spacing: -0.065em;
}

.hero-text {
  max-width: 510px;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.8;
}

.page-hero .hero-content {
  max-width: 1050px;
}

.page-hero .hero-title {
  max-width: 820px;
  font-size: clamp(3.2rem, 7vw, 6rem);
}

.page-hero .hero-text {
  margin-left: 0;
}

.btn {
  min-height: 50px;
  padding: 0.9rem 1.55rem;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.btn-primary {
  background: #ffd32a;
  color: #111111;
}

.btn-primary:hover {
  background: #ffe16a;
  box-shadow: 0 10px 24px rgba(20, 15, 10, 0.2);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.76);
  color: #ffffff;
}

.btn-secondary:hover {
  background: #ffffff;
  color: var(--deep-coffee);
}

.btn-outline {
  display: inline-block;
  padding: 0.9rem 1.55rem;
  border: 1px solid #333333;
  border-radius: 3px;
  color: var(--deep-coffee);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.btn-outline:hover {
  background: var(--deep-coffee);
  color: #ffffff;
}

.section {
  padding: var(--section-padding);
}

.section-alt {
  background: #f5f5f3;
}

.section-dark {
  background: #111111;
}

.section-header {
  max-width: 760px;
  margin-bottom: 3.2rem;
}

.section-subtitle {
  color: #806500;
}

.section-title,
.section-header h2,
.about-content h2,
.visit-info h2,
.contact-info h2 {
  font-size: clamp(2.45rem, 4.5vw, 4.1rem);
  line-height: 1.08;
}

.section-title::after {
  display: none;
}

.section-desc {
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
}

.about-grid,
.visit-grid {
  gap: clamp(2.5rem, 7vw, 7rem);
}

.about-image,
.menu-feature-image {
  border-radius: 4px;
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.14);
}

.about-image img {
  height: clamp(340px, 43vw, 550px);
}

.about-image::before {
  display: none;
}

.coffee-story-image {
  padding: 12px;
  overflow: visible;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 9px 9px 0 #ffd32a, 0 24px 55px rgba(0, 0, 0, 0.12);
}

.coffee-story-image img {
  display: block;
  border-radius: 2px;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.9;
}

.about-content .btn {
  margin-top: 0.8rem;
}

.featured-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.featured-card,
.philosophy-card,
.menu-item {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.045);
}

.featured-card:hover,
.philosophy-card:hover,
.menu-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.11);
}

.featured-image {
  height: 255px;
}

.featured-image img,
.gallery-item img,
.menu-feature-image img {
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.featured-content {
  padding: 1.3rem 1.35rem 1.45rem;
}

.featured-category {
  color: #806500;
  font-family: var(--font-body);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.featured-title {
  margin-bottom: 0.45rem;
  font-size: 1.35rem;
}

.featured-price {
  color: #806500;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.lifestyle-section {
  min-height: 460px;
  background-attachment: scroll;
}

.lifestyle-overlay {
  background: rgba(0, 0, 0, 0.64);
}

.lifestyle-quote {
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  font-weight: 400;
}

.lifestyle-author {
  color: #ffd32a;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
}

.philosophy-grid {
  gap: 1.1rem;
}

.philosophy-card {
  padding: 2.1rem 1.8rem;
  text-align: left;
}

.philosophy-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 1.15rem;
  border-radius: 50%;
  background: #fff4be;
}

.philosophy-icon i {
  color: #242424;
  font-size: 1.2rem;
}

.philosophy-card h3 {
  font-size: 1.45rem;
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  display: block;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: #e9e9e9;
  text-align: left;
}

.gallery-item:hover img {
  transform: scale(1.045);
}

.gallery-overlay {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), transparent 68%);
  opacity: 0.8;
  padding: 1.1rem;
}

.gallery-overlay span {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.photo-gallery {
  grid-auto-rows: 250px;
}

.photo-gallery .gallery-item-tall {
  grid-row: span 2;
}

.photo-gallery .gallery-item:focus-visible,
.menu-toggle:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid #d3aa00;
  outline-offset: 4px;
}

.lightbox {
  padding: 24px;
  background: rgba(0, 0, 0, 0.95);
}

.lightbox-content {
  display: grid;
  width: min(1100px, 92vw);
  height: min(85vh, 900px);
  place-items: center;
}

.lightbox-content img {
  width: auto;
  max-width: 100%;
  max-height: 84vh;
  border-radius: 3px;
  object-fit: contain;
}

.lightbox-close {
  top: 18px;
  right: 26px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 2.6rem;
}

.menu-hero .hero-bg {
  background-position: center 56%;
}

.menu-jump {
  position: sticky;
  top: 76px;
  z-index: 900;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
}

.menu-jump .container {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.8rem);
  overflow-x: auto;
}

.menu-jump a,
.text-link {
  color: #292929;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.menu-jump a:hover,
.text-link:hover {
  color: #806500;
}

.menu-category {
  scroll-margin-top: 150px;
}

.menu-category-intro {
  max-width: 720px;
  margin-bottom: 2rem;
}

.menu-category-intro h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  line-height: 1.1;
}

.menu-category-intro p:not(.section-subtitle) {
  max-width: 540px;
  margin-bottom: 0;
}

.menu-list {
  border-top: 1px solid rgba(0, 0, 0, 0.14);
}

.menu-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.menu-line h3 {
  margin-bottom: 0.2rem;
  font-size: 1.16rem;
  letter-spacing: -0.01em;
}

.menu-line p {
  max-width: 640px;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.menu-line > span {
  flex: 0 0 auto;
  padding-top: 0.15rem;
  color: #806500;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}

.menu-feature-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.5fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.menu-feature-grid-reverse {
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.85fr);
}

.menu-feature-grid-reverse .menu-feature-image {
  grid-column: 2;
}

.menu-feature-grid-reverse > div:nth-child(2) {
  grid-column: 1;
  grid-row: 1;
}

.menu-feature-image {
  min-height: 360px;
  overflow: hidden;
}

.menu-feature-image img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.menu-note,
.menu-download {
  margin-top: 1.5rem;
  color: var(--soft-gray);
  font-size: 0.9rem;
}

.menu-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.menu-download p {
  margin: 0;
}

.text-link {
  color: #806500;
}

.story-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.story-cta h2 {
  max-width: 650px;
  margin-bottom: 0.5rem;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 1.1;
}

.story-cta p {
  margin-bottom: 0;
}

.visit-address {
  margin-bottom: 1.5rem;
  color: var(--soft-gray);
  font-size: 1rem;
}

.info-icon,
.contact-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff4be;
  color: #242424;
  font-size: 1rem;
}

.info-icon i,
.contact-icon i {
  color: inherit;
}

.hours-table td {
  padding: 0.55rem 0.7rem 0.55rem 0;
  font-size: 0.88rem;
}

.map-container {
  border-radius: 4px;
  box-shadow: 0 20px 54px rgba(51, 39, 29, 0.12);
}

.contact-form {
  padding: clamp(1.4rem, 4vw, 2.8rem);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 4px;
  background: #fffdf9;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.075);
}

.form-note {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
}

.form-group label {
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  border: 1px solid #d7d7d7;
  border-radius: 3px;
  background: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #d3aa00;
  box-shadow: 0 0 0 3px rgba(255, 211, 42, 0.2);
}

.footer {
  position: relative;
  padding: 74px 0 28px;
  background: #080808;
}

.footer-grid {
  grid-template-columns: 1.6fr 0.8fr 0.8fr 1.4fr;
  gap: 2.2rem;
  margin-bottom: 3rem;
}

.footer-brand p,
.footer-contact p,
.footer-links a {
  color: rgba(250, 246, 239, 0.68);
}

.footer h4 {
  color: #fffaf4;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-contact p {
  align-items: flex-start;
  font-size: 0.88rem;
}

.footer-contact i {
  min-width: 1rem;
  margin-top: 0.3rem;
  color: #ffd32a;
}

.footer-bottom {
  padding-top: 1.25rem;
}

.footer-bottom p {
  color: rgba(250, 246, 239, 0.48);
}

.contact-hero,
.visit-hero,
.gallery-hero,
.menu-hero {
  background: none;
}

.contact-hero .hero-bg {
  background-image: url("../images/percolatte-coffee-cups.jpg");
  background-position: center 45%;
}

.visit-hero .hero-bg {
  background-image: url("../images/cafe-patio.webp");
  background-position: center 55%;
}

.gallery-hero .hero-bg {
  background-image: url("../images/cafe-counter.jpg");
  background-position: center;
}

.tagline-banner,
.food-icons-container {
  display: none !important;
}

.home-loader {
  display: none;
}

.js-ready .home-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: #0a0a0a;
  color: #ffffff;
  opacity: 1;
  visibility: visible;
  transition: opacity 450ms ease, visibility 450ms ease;
}

.home-loader > img {
  width: min(250px, 62vw);
  height: auto;
}

.home-loader > span {
  color: #f5f5f5;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-loader-line {
  width: 132px;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
}

.home-loader-line > span {
  display: block;
  width: 42%;
  height: 100%;
  background: #ffd32a;
  animation: home-loader-progress 900ms ease-in-out infinite;
}

.home-loader.is-dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.js-ready .home-loader.is-dismissed {
  pointer-events: none;
}

@keyframes home-loader-progress {
  from { transform: translateX(-110%); }
  to { transform: translateX(340%); }
}

@media (prefers-reduced-motion: reduce) {
  .home-loader-line > span {
    animation: none;
    width: 100%;
  }
}

.fade-in {
  opacity: 1;
  transform: none;
}

.js-ready .fade-in {
  opacity: 0;
  transform: translateY(18px);
}

.js-ready .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.page-transition {
  animation: none;
}

@keyframes hero-settle {
  from { transform: scale(1.04); }
  to { transform: scale(1.01); }
}

@media (max-width: 968px) {
  :root {
    --section-padding: 84px 0;
    --container-padding: 0 26px;
  }

  .navbar {
    padding: 0.85rem 0;
  }

  .nav-links {
    top: 0;
    background: #111111;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-feature-grid,
  .menu-feature-grid-reverse {
    grid-template-columns: 1fr;
  }

  .menu-feature-grid-reverse .menu-feature-image,
  .menu-feature-grid-reverse > div:nth-child(2) {
    grid-column: auto;
    grid-row: auto;
  }

  .menu-feature-image {
    min-height: 280px;
  }

  .menu-feature-image img {
    height: 360px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --section-padding: 70px 0;
    --container-padding: 0 20px;
  }

  .navbar .logo {
    width: 168px;
    height: 55px;
  }

  .hero {
    min-height: 760px;
    min-height: 94svh;
  }

  .page-hero {
    min-height: 480px;
    min-height: 68svh;
    padding: 106px 0 48px;
  }

  .hero-content {
    padding: 0 22px;
  }

  .hero-title {
    font-size: clamp(3.1rem, 15vw, 5rem);
  }

  .page-hero .hero-title {
    font-size: clamp(2.85rem, 13vw, 4.6rem);
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.32));
  }

  .btn-group {
    justify-content: flex-start;
    gap: 0.7rem;
  }

  .btn {
    min-height: 46px;
    padding: 0.78rem 1rem;
    font-size: 0.65rem;
  }

  .section-title,
  .section-header h2,
  .about-content h2,
  .visit-info h2,
  .contact-info h2 {
    font-size: clamp(2.35rem, 11vw, 3.35rem);
  }

  .about-grid,
  .visit-grid,
  .contact-grid {
    gap: 2rem;
  }

  .about-image img {
    height: 340px;
  }

  .featured-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .featured-image {
    height: 190px;
  }

  .featured-content {
    padding: 1rem;
  }

  .featured-title {
    font-size: 1.1rem;
  }

  .featured-category {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }

  .photo-gallery {
    grid-auto-rows: 190px;
  }

  .photo-gallery .gallery-item-tall {
    grid-row: span 1;
  }

  .photo-gallery .gallery-item:first-child {
    grid-row: span 2;
  }

  .gallery-overlay {
    opacity: 1;
    padding: 0.8rem;
  }

  .gallery-overlay span {
    font-size: 0.72rem;
    letter-spacing: 0.03em;
  }

  .menu-jump .container {
    min-height: 56px;
    justify-content: flex-start;
    gap: 1.3rem;
    padding-right: 20px;
    padding-left: 20px;
  }

  .menu-jump a {
    font-size: 0.66rem;
  }

  .menu-line {
    gap: 0.7rem;
  }

  .menu-line h3 {
    font-size: 1.02rem;
  }

  .menu-line p {
    font-size: 0.82rem;
  }

  .menu-line > span {
    font-size: 0.82rem;
  }

  .menu-download,
  .story-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .menu-feature-image img {
    height: 285px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.7rem 1.1rem;
  }

  .footer-brand,
  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer .logo {
    font-size: 1.5rem;
  }

  .contact-form {
    padding: 1.25rem;
  }

  .section-dark .section-desc {
    color: rgba(255, 250, 244, 0.75);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
