/* =============================================
   4th Street Coffee House — Warm & Rustic Theme
   ============================================= */

:root {
  --color-cream: #FAF3E0;
  --color-warm-white: #FFF8F0;
  --color-brown-dark: #3E2723;
  --color-brown: #5D4037;
  --color-brown-light: #8D6E63;
  --color-brown-muted: #A1887F;
  --color-gold: #C8A96E;
  --color-gold-light: #E8D5A8;
  --color-sage: #7A8B6F;
  --color-text: #3E2723;
  --color-text-light: #6D4C41;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', 'Segoe UI', sans-serif;
  --shadow-soft: 0 2px 16px rgba(62, 39, 35, 0.08);
  --shadow-card: 0 4px 24px rgba(62, 39, 35, 0.10);
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* ---- Navigation ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(62, 39, 35, 0.95);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: var(--shadow-soft);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 50px;
  width: auto;
  transition: height 0.3s ease;
}

.navbar.scrolled .nav-logo-img {
  height: 40px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-menu a {
  color: var(--color-cream);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  position: relative;
}

.nav-menu a:hover {
  color: var(--color-gold);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width 0.3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-cream);
  transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.5)),
    url('https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?w=1600&q=80') center/cover no-repeat;
  color: var(--color-cream);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.hero-logo {
  max-width: 320px;
  width: 80%;
  height: auto;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  color: var(--color-brown);
  margin-bottom: 36px;
  letter-spacing: 0.5px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--color-gold);
  color: var(--color-brown-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: 2px solid var(--color-gold);
}

.btn:hover {
  background: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(200, 169, 110, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-brown);
  border: 2px solid var(--color-brown-light);
}

.btn-outline:hover {
  background: var(--color-brown);
  color: var(--color-cream);
  border-color: var(--color-brown);
}

/* ---- Section Styles ---- */
.section {
  padding: 96px 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 12px;
  color: var(--color-brown-dark);
}

.section-subtitle {
  text-align: center;
  color: var(--color-brown-light);
  font-size: 1.1rem;
  margin-bottom: 56px;
  font-weight: 300;
}

/* ---- Menu Section ---- */
.menu-section {
  background: var(--color-warm-white);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
  margin-bottom: 32px;
}

.menu-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-4px);
}

.menu-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.menu-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-brown);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-gold-light);
}

.menu-list {
  list-style: none;
}

.menu-list li {
  padding: 8px 0;
  border-bottom: 1px dotted var(--color-gold-light);
  font-size: 0.95rem;
}

.menu-list li:last-child {
  border-bottom: none;
}

.menu-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-brown-muted);
  font-style: italic;
}

/* ---- About Section ---- */
.about-section {
  background: var(--color-cream);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--color-text-light);
  font-size: 1.05rem;
}

.about-photo {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

/* ---- Facebook Feed Section ---- */
.feed-section {
  background: var(--color-cream);
}

.facebook-feed {
  display: flex;
  justify-content: center;
}

.facebook-feed iframe {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  max-width: 100%;
}

@media (max-width: 768px) {
  .facebook-feed iframe {
    width: 340px;
    height: 500px;
  }
}

/* ---- Hours Section ---- */
.hours-section {
  background: var(--color-brown-dark);
  color: var(--color-cream);
}

.hours-section .section-title {
  color: var(--color-cream);
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.hours-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--color-gold);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 700;
}

.hours-table tr.closed td {
  color: var(--color-brown-muted);
}

.address {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.phone {
  margin-bottom: 20px;
}

.phone a {
  color: var(--color-gold-light);
  text-decoration: none;
  font-weight: 700;
}

.phone a:hover {
  color: var(--color-gold);
}

.social-link {
  color: var(--color-gold);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}

.social-link:hover {
  color: var(--color-gold-light);
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.map-container iframe {
  display: block;
}

/* ---- Contact Section ---- */
.contact-section {
  background: var(--color-warm-white);
  text-align: center;
}

.contact-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Footer ---- */
.footer {
  background: var(--color-brown-dark);
  color: var(--color-brown-muted);
  text-align: center;
  padding: 40px 0;
  font-size: 0.9rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-cream);
  margin-bottom: 8px;
}

.footer-copy {
  margin-top: 16px;
  font-size: 0.8rem;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-brown-dark);
    flex-direction: column;
    padding: 80px 40px;
    gap: 24px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    font-size: 1.1rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hours-grid {
    grid-template-columns: 1fr;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 2rem;
  }
}
