/* WarkoPoint - Coffee Shop Website */
/* Brand Colors: #805533 #402212 #FDC39A #2B2B2B */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --brown-dark: #402212;
  --brown-mid: #805533;
  --brown-light: #FDC39A;
  --dark: #2B2B2B;
  --cream: #FAF6F1;
  --white: #FFFFFF;
  --gray-light: #F5F0EB;
  --gray-text: #6B5B52;
  --border: #E8DDD4;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--brown-dark);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  box-shadow: 0 2px 16px rgba(64,34,18,0.18);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.navbar-brand .logo-icon {
  width: 38px;
  height: 38px;
  background: var(--brown-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.navbar-brand .brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 0 1.1rem;
  line-height: 64px;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brown-light);
  background: rgba(253,195,154,0.08);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 1.1rem; right: 1.1rem;
  height: 2px;
  background: var(--brown-light);
  border-radius: 2px 2px 0 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===================== HERO ===================== */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(64,34,18,0.82) 0%, rgba(128,85,51,0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 2rem;
  max-width: 700px;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(253,195,154,0.2);
  border: 1px solid var(--brown-light);
  color: var(--brown-light);
  padding: 5px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--brown-light);
}

.hero p {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--brown-light);
  color: var(--brown-dark);
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-primary:hover { background: #f5b07e; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}

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

/* ===================== SECTIONS ===================== */
section { padding: 5rem 2rem; }

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brown-mid);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--brown-dark);
  line-height: 1.2;
}

.section-desc {
  color: var(--gray-text);
  font-size: 1rem;
  max-width: 520px;
  margin-top: 0.75rem;
  line-height: 1.7;
}

.container { max-width: 1140px; margin: 0 auto; }

/* ===================== ABOUT / TAGLINE ===================== */
.about-section {
  background: var(--cream);
}

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

.about-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--brown-light);
}

.about-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: 1.5rem; right: 1.5rem;
  background: var(--brown-dark);
  color: var(--white);
  padding: 1rem 1.4rem;
  border-radius: 12px;
  text-align: center;
}

.about-badge .num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--brown-light); }
.about-badge .label { font-size: 0.75rem; color: rgba(255,255,255,0.8); }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2rem;
}

.feature-card {
  background: var(--white);
  border-radius: 10px;
  padding: 1.2rem;
  border: 1px solid var(--border);
}

.feature-card .icon { font-size: 1.6rem; margin-bottom: 0.5rem; }
.feature-card h4 { font-size: 0.9rem; font-weight: 700; color: var(--brown-dark); margin-bottom: 0.25rem; }
.feature-card p { font-size: 0.8rem; color: var(--gray-text); }

/* ===================== MENU SECTION ===================== */
.menu-section { background: var(--white); }

.menu-tabs {
  display: flex;
  gap: 0.5rem;
  margin: 2.5rem 0 2rem;
  flex-wrap: wrap;
}

.menu-tab {
  background: var(--gray-light);
  border: 1px solid var(--border);
  color: var(--gray-text);
  padding: 0.5rem 1.4rem;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.menu-tab.active, .menu-tab:hover {
  background: var(--brown-dark);
  color: var(--white);
  border-color: var(--brown-dark);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.menu-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  background: var(--white);
}

.menu-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(64,34,18,0.12); }

.menu-card-img {
  aspect-ratio: 4/3;
  background: var(--gray-light);
  overflow: hidden;
}

.menu-card-img img { width: 100%; height: 100%; object-fit: cover; }

.menu-card-body { padding: 1rem 1.2rem 1.2rem; }
.menu-card-body h3 { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 600; color: var(--brown-dark); margin-bottom: 0.3rem; }
.menu-card-body p { font-size: 0.82rem; color: var(--gray-text); margin-bottom: 0.75rem; }
.menu-price { font-size: 1rem; font-weight: 700; color: var(--brown-mid); }

/* ===================== PROMO SECTION ===================== */
.promo-section { background: var(--cream); }

.promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }

.promo-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  transition: transform 0.2s, box-shadow 0.2s;
}

.promo-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(64,34,18,0.12); }

.promo-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--brown-light); }
.promo-card-img img { width: 100%; height: 100%; object-fit: cover; }

.promo-card-body { padding: 1.2rem 1.4rem 1.4rem; }

.promo-badge {
  display: inline-block;
  background: var(--brown-dark);
  color: var(--brown-light);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.promo-card-body h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--brown-dark); margin-bottom: 0.4rem; }
.promo-card-body p { font-size: 0.85rem; color: var(--gray-text); margin-bottom: 0.8rem; }
.promo-period { font-size: 0.78rem; color: var(--brown-mid); font-weight: 600; }

/* ===================== LOCATION SECTION ===================== */
.location-section { background: var(--white); }

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2.5rem;
}

.location-info { display: flex; flex-direction: column; gap: 1.5rem; }

.info-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem;
  background: var(--cream);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.info-block .info-icon {
  width: 44px; height: 44px;
  background: var(--brown-dark);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-block h4 { font-size: 0.88rem; font-weight: 700; color: var(--brown-dark); margin-bottom: 0.25rem; }
.info-block p { font-size: 0.85rem; color: var(--gray-text); line-height: 1.6; }

.jam-table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.jam-table td { font-size: 0.83rem; padding: 2px 0; color: var(--gray-text); }
.jam-table td:first-child { font-weight: 600; color: var(--brown-dark); width: 55%; }

.map-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: 0 8px 24px rgba(64,34,18,0.1);
}

.map-wrap iframe { display: block; width: 100%; height: 420px; border: none; }

/* ===================== CONTACT SECTION ===================== */
.contact-section { background: var(--cream); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2.5rem;
}

.contact-info { display: flex; flex-direction: column; gap: 1.2rem; }

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.2rem;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.contact-item .c-icon {
  width: 40px; height: 40px;
  background: var(--brown-mid);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item h4 { font-size: 0.82rem; font-weight: 700; color: var(--brown-dark); }
.contact-item p { font-size: 0.85rem; color: var(--gray-text); }
.contact-item a { color: var(--brown-mid); text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }

/* ===================== FORM ===================== */
.contact-form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem 2.2rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(64,34,18,0.07);
}

.contact-form-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 1.5rem;
}

.form-group { margin-bottom: 1.2rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.72rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--dark);
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--brown-mid);
  box-shadow: 0 0 0 3px rgba(128,85,51,0.1);
  background: var(--white);
}

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

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

.btn-submit {
  width: 100%;
  background: var(--brown-dark);
  color: var(--white);
  border: none;
  padding: 0.88rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 0.5rem;
}

.btn-submit:hover { background: var(--brown-mid); transform: translateY(-1px); }

.alert {
  padding: 0.85rem 1.2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ===================== FOOTER ===================== */
footer {
  background: var(--brown-dark);
  color: rgba(255,255,255,0.85);
  padding: 3rem 2rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  max-width: 1140px;
  margin: 0 auto;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-brand { }
.footer-brand .brand-text { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: 0.8rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.65); }

.footer-col h5 { font-size: 0.85rem; font-weight: 700; color: var(--brown-light); margin-bottom: 1rem; letter-spacing: 0.04em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--brown-light); }

.footer-bottom {
  max-width: 1140px;
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .about-grid, .location-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-features { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--brown-dark); }
  .nav-links.open { display: flex; }
  .nav-links a { line-height: 1; padding: 1rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 3.5rem 1.2rem; }
}

/* ===================== PAGE HERO (inner pages) ===================== */
.page-hero {
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown-mid) 100%);
  padding: 8rem 2rem 4rem;
  text-align: center;
  color: var(--white);
}

.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1rem; margin-top: 0.5rem; }

/* ===================== MENU PAGE ===================== */
.menu-page-section { background: var(--cream); min-height: 70vh; }

.menu-header { text-align: center; margin-bottom: 2.5rem; }

.menu-category-section { margin-bottom: 3rem; }
.menu-category-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brown-dark);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1.5rem;
}

.menu-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.2rem;
}

.menu-item-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.menu-item-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(64,34,18,0.1); }

.menu-item-img { aspect-ratio: 16/10; background: var(--gray-light); overflow: hidden; }
.menu-item-img img { width: 100%; height: 100%; object-fit: cover; }

.menu-item-info { padding: 0.9rem 1rem; flex: 1; }
.menu-item-info h3 { font-weight: 700; font-size: 0.95rem; color: var(--brown-dark); margin-bottom: 0.2rem; }
.menu-item-info p { font-size: 0.8rem; color: var(--gray-text); }

.menu-item-footer {
  padding: 0.7rem 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price { font-weight: 700; color: var(--brown-mid); font-size: 0.95rem; }
