/* =============================================
   CAT NAP CAFE — WEDOWEE, ALABAMA
   ============================================= */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:       #fdf6ed;
  --cream-dark:  #f5e9d6;
  --espresso:    #2c1a0e;
  --brown:       #6b3f1f;
  --brown-light: #a0622a;
  --caramel:     #c9863a;
  --tan:         #e8c99a;
  --gold:        #d4a34e;
  --sage:        #7a9e7e;
  --text:        #2c1a0e;
  --text-muted:  #7a6555;
  --white:       #ffffff;
  --shadow:      rgba(44, 26, 14, 0.12);
  --shadow-lg:   rgba(44, 26, 14, 0.22);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Lato', system-ui, sans-serif;

  --radius:    12px;
  --radius-lg: 24px;
  --transition: 0.3s ease;
}

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

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.2; }

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

a { color: var(--brown); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--caramel); }

img, svg { display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Utility ---- */
.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 0.75rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.6rem; }
.section-header p { color: var(--text-muted); max-width: 520px; margin: 0 auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--brown);
  color: var(--white);
  border-color: var(--brown);
}
.btn-primary:hover {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-lg);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white);
}
.btn-text {
  padding: 0;
  border: none;
  background: none;
  color: var(--brown);
  font-weight: 700;
  font-size: 0.95rem;
}
.btn-text:hover { color: var(--caramel); gap: 0.6rem; }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.85rem; }

/* ============================================
   NAVBAR
   ============================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
#navbar.scrolled {
  background: rgba(253, 246, 237, 0.97);
  box-shadow: 0 2px 20px var(--shadow);
  padding: 0.6rem 0;
}
.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
#navbar.scrolled .nav-logo { color: var(--espresso); }
.paw { font-size: 1.1rem; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.88);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
#navbar.scrolled .nav-links a { color: var(--text-muted); }
#navbar.scrolled .nav-links a:hover { color: var(--brown); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
#navbar.scrolled .nav-toggle span { background: var(--espresso); }

/* ============================================
   HERO
   ============================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3d1f0a 0%, #6b3220 35%, #8b4513 65%, #a0622a 100%);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,134,58,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(212,163,78,0.12) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 8rem 1.5rem 5rem;
  max-width: 600px;
  margin-left: max(1.5rem, calc(50vw - 550px + 1.5rem));
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 1rem;
}
.hero-content h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  color: var(--white);
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-content h1 em { color: var(--tan); }
.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2rem;
  letter-spacing: 0.04em;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.hero-rating {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}
.stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; }

.hero-art {
  position: absolute;
  right: max(1.5rem, calc(50vw - 550px + 1.5rem));
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  opacity: 0.18;
  width: min(38vw, 400px);
}
.cat-silhouette { color: var(--white); }
.cat-silhouette svg { width: 100%; height: auto; }

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.5);
  animation: bounce 2.5s ease-in-out infinite;
}
.scroll-hint svg {
  width: 32px; height: 32px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   ABOUT
   ============================================ */
#about {
  padding: 6rem 0;
  background: var(--cream);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 1.2rem; }
.about-text p { color: var(--text-muted); margin-bottom: 1rem; }
.about-text p strong { color: var(--text); }
.about-text .btn-text { margin-top: 0.5rem; }

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.about-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 2px 16px var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px var(--shadow-lg);
}
.about-card-icon { font-size: 1.8rem; margin-bottom: 0.6rem; }
.about-card h3 {
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.about-card p { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

/* ============================================
   MENU
   ============================================ */
#menu {
  padding: 6rem 0;
  background: var(--cream-dark);
}
.menu-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.menu-tab {
  padding: 0.6rem 2rem;
  border-radius: 50px;
  border: 2px solid var(--tan);
  background: transparent;
  color: var(--brown);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
}
.menu-tab:hover { border-color: var(--brown); }
.menu-tab.active {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--white);
}

.menu-panel { display: none; }
.menu-panel.active { display: block; }

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.menu-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 2px 16px var(--shadow);
}
.menu-category {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--caramel);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--cream-dark);
  margin-bottom: 1rem;
}
.menu-items { display: flex; flex-direction: column; gap: 1rem; }
.menu-item { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.menu-item-info { display: flex; flex-direction: column; gap: 0.2rem; }
.menu-item-name { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; }
.menu-item-desc { font-size: 0.82rem; color: var(--text-muted); }
.menu-item-price {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brown);
  white-space: nowrap;
  flex-shrink: 0;
}
.menu-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.tag {
  background: var(--cream-dark);
  color: var(--text-muted);
  border-radius: 20px;
  padding: 0.2rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.menu-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}
.menu-sub-note {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}
.menu-grid-wide {
  grid-template-columns: 1.5fr 1fr;
}
.vegan-badge {
  font-size: 0.72rem;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--sage);
  margin-left: 0.4rem;
}

/* ============================================
   CATS
   ============================================ */
#cats {
  padding: 6rem 0;
  background: linear-gradient(160deg, #4a2410 0%, #7a3a1a 100%);
  color: var(--white);
}
.cats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.cats-text .section-label { color: var(--tan); }
.cats-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); color: var(--white); margin-bottom: 1.2rem; }
.cats-text h2 em { color: var(--tan); }
.cats-text p { color: rgba(255,255,255,0.75); margin-bottom: 1rem; }
.cats-text p strong { color: var(--white); }

.cats-facts { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
.cats-fact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}
.cats-fact-number { font-size: 1.3rem; }

.cats-visual { text-align: center; }
.cats-scene {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1rem;
}
.cat-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: transform var(--transition), background var(--transition);
  cursor: default;
}
.cat-card:hover { transform: translateY(-8px); background: rgba(255,255,255,0.14); }
.cat-card-1 { transform: translateY(16px); }
.cat-card-1:hover { transform: translateY(8px); }
.cat-card-3 { transform: translateY(8px); }
.cat-card-3:hover { transform: translateY(0px); }
.cat-icon { width: 90px; height: 90px; }
.cat-card span { font-family: var(--font-serif); font-style: italic; color: var(--tan); font-size: 0.95rem; }
.cats-caption { font-size: 0.8rem; color: rgba(255,255,255,0.45); font-style: italic; margin-top: 0.5rem; }

/* ============================================
   HOURS & LOCATION
   ============================================ */
#hours {
  padding: 6rem 0;
  background: var(--cream);
}
.hours-location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.hours-card, .location-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 4px 24px var(--shadow);
}
.hours-card h3, .location-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--cream-dark);
}

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid var(--cream-dark); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 0.7rem 0; font-size: 0.95rem; }
.hours-table td:first-child { font-weight: 700; color: var(--text); width: 40%; }
.hours-table td:last-child { color: var(--text-muted); }
.closed-row td { opacity: 0.55; }
.closed-badge {
  background: var(--cream-dark);
  color: var(--text-muted);
  padding: 0.15rem 0.6rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}
.hours-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.75rem 1rem;
  background: var(--cream);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.location-info { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 1.5rem; }
.location-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.location-icon {
  width: 20px; height: 20px;
  fill: var(--caramel);
  flex-shrink: 0;
  margin-top: 2px;
}
.location-item div { display: flex; flex-direction: column; gap: 0.15rem; }
.location-item strong { font-size: 0.95rem; }
.location-item span { font-size: 0.85rem; color: var(--text-muted); }
.location-item span a { color: var(--brown); font-weight: 700; }
.location-item span a:hover { color: var(--caramel); }

.map-placeholder {
  background: linear-gradient(135deg, var(--cream-dark), var(--tan));
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.map-placeholder svg {
  width: 40px; height: 40px;
  fill: var(--brown);
  opacity: 0.6;
}
.map-placeholder p { font-family: var(--font-serif); font-size: 1.1rem; color: var(--brown); }
.map-placeholder .btn-outline {
  color: var(--brown);
  border-color: var(--brown);
}
.map-placeholder .btn-outline:hover {
  background: var(--brown);
  color: var(--white);
}

/* ============================================
   CONTACT BANNER
   ============================================ */
.contact-banner {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--espresso), var(--brown));
}
.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.contact-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--white); margin-bottom: 0.5rem; }
.contact-text p { color: rgba(255,255,255,0.7); max-width: 420px; }
.contact-links { display: flex; gap: 1rem; flex-wrap: wrap; }

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all var(--transition);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.social-btn svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }
.social-btn.facebook svg { fill: currentColor; stroke: none; }
.social-btn.tiktok svg { fill: currentColor; stroke: none; }
.social-btn:hover { color: var(--white); border-color: var(--white); background: rgba(255,255,255,0.12); transform: translateY(-2px); }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--espresso);
  color: rgba(255,255,255,0.65);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}
.footer-logo {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.footer-brand p { font-size: 0.875rem; line-height: 1.7; }

.footer-links h4, .footer-rescue h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 1rem;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.65); }
.footer-links a:hover { color: var(--tan); }
.footer-rescue p { font-size: 0.875rem; margin-bottom: 0.4rem; }
.footer-rescue strong { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
}
.footer-tagline { font-family: var(--font-serif); font-style: italic; color: var(--tan); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .cats-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hours-location-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-art { display: none; }
  .hero-content {
    max-width: 100%;
    padding: 8rem 1.5rem 5rem;
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; gap: 1.2rem; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--espresso);
    padding: 1.5rem;
  }
  .nav-links.open a { color: rgba(255,255,255,0.85) !important; font-size: 1rem; }
  .nav-toggle { display: flex; }

  .about-cards { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .cats-scene { gap: 0.5rem; }
  .cat-icon { width: 70px; height: 70px; }
  .contact-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn { align-self: flex-start; }
}

@media (max-width: 400px) {
  .cats-scene { flex-wrap: wrap; justify-content: center; }
  .cat-card-1, .cat-card-3 { transform: none; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
