/* ============================================
   RUDY'S BISTRO CAFÉ — STYLES
   Terracotta + Sand | Playfair Display + Inter
   ============================================ */

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

:root {
  --terracotta: #C0603A;
  --terracotta-dark: #A04E2C;
  --terracotta-light: #D4845E;
  --sand: #F5E6D3;
  --sand-light: #FDF6EE;
  --sand-dark: #E8D5C0;
  --cream: #FFFBF7;
  --brown-dark: #3D2B1F;
  --brown-mid: #5C4033;
  --brown-light: #8B6F5E;
  --white: #FFFFFF;
  --text-dark: #2C1810;
  --text-mid: #5C4033;
  --text-light: #8B7355;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 48px;
  --shadow-sm: 0 2px 8px rgba(61, 43, 31, 0.06);
  --shadow-md: 0 8px 30px rgba(61, 43, 31, 0.10);
  --shadow-lg: 0 16px 60px rgba(61, 43, 31, 0.14);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

/* --- TYPOGRAPHY --- */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-dark);
}

/* --- NAV --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 251, 247, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(192, 96, 58, 0.08);
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(253, 251, 247, 0.95);
  box-shadow: var(--shadow-sm);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--terracotta);
}

.nav-brand-mark {
  width: 40px;
  height: 40px;
  background: var(--terracotta);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-brand-text span:first-child {
  font-size: 0.7rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brown-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--terracotta);
  background: rgba(192, 96, 58, 0.06);
}

.nav-cta {
  background: var(--terracotta) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--terracotta-dark) !important;
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.nav-toggle-bar {
  width: 100%;
  height: 2px;
  background: var(--brown-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sand);
  color: var(--brown-dark);
  transition: var(--transition);
}

.mobile-menu-close:hover {
  background: var(--terracotta);
  color: var(--white);
}

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.mobile-menu-links a {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--brown-dark);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-menu-links a:hover {
  color: var(--terracotta);
  background: rgba(192, 96, 58, 0.06);
}

.mobile-menu-cta {
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem !important;
  font-weight: 600 !important;
  background: var(--terracotta);
  color: var(--white) !important;
  padding: 14px 32px;
  border-radius: 100px;
}

/* --- HERO --- */
.hero {
  min-height: 100vh;
  padding: 100px 24px 60px;
  background: var(--sand-light);
  position: relative;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(192, 96, 58, 0.06) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(192, 96, 58, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 520px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(192, 96, 58, 0.1);
  color: var(--terracotta);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.hero-headline {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.08;
  margin-bottom: 24px;
  color: var(--brown-dark);
}

.hero-headline em {
  color: var(--terracotta);
  font-style: italic;
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 36px;
  max-width: 440px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--terracotta);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--sand-dark);
}

/* HERO VISUAL */
.hero-visual {
  position: relative;
  height: 700px;
}

.hero-img-main {
  width: 100%;
  height: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-float {
  position: absolute;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.hero-img-float--bottom {
  bottom: 20px;
  left: -40px;
  width: 260px;
  height: 200px;
}

.hero-img-float--top {
  top: 20px;
  right: -30px;
  width: 180px;
  height: 180px;
}

.hero-img-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-accent-circle {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--terracotta);
  opacity: 0.08;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(192, 96, 58, 0.3);
}

.btn-primary:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(192, 96, 58, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--brown-dark);
  border: 2px solid var(--sand-dark);
}

.btn-secondary:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
  transform: translateY(-2px);
}

/* --- MARQUEE --- */
.marquee {
  background: var(--terracotta);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 32px;
  align-items: center;
  animation: marquee-scroll 30s linear infinite;
  width: max-content;
}

.marquee-item {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.marquee-dot {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- SECTION HEADERS --- */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--terracotta);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* --- MENU --- */
.menu {
  padding: 100px 0;
  background: var(--cream);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.menu-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.menu-card--wide {
  grid-column: span 2;
}

.menu-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.menu-card--wide .menu-card-img {
  height: 280px;
}

.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-card:hover .menu-card-img img {
  transform: scale(1.05);
}

.menu-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--terracotta);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.menu-card-body {
  padding: 24px;
}

.menu-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.menu-card-body p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* --- ABOUT --- */
.about {
  padding: 100px 0;
  background: var(--sand);
}

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

.about-images {
  position: relative;
  height: 650px;
}

.about-img-main {
  width: 75%;
  height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

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

.about-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--sand);
  z-index: 3;
}

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

.about-accent {
  position: absolute;
  top: -20px;
  right: 60px;
  width: 80px;
  height: 80px;
  background: var(--terracotta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  z-index: 1;
  opacity: 0.15;
}

.about-content {
  max-width: 480px;
}

.about-content .section-title {
  margin-bottom: 24px;
}

.about-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 16px;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
}

.about-value {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about-value-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  box-shadow: var(--shadow-sm);
}

.about-value strong {
  display: block;
  font-size: 0.95rem;
  color: var(--brown-dark);
  margin-bottom: 2px;
}

.about-value span {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* --- GALLERY --- */
.gallery {
  padding: 100px 0;
  background: var(--cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item--tall {
  grid-column: span 1;
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 2;
}

/* --- VISIT --- */
.visit {
  padding: 100px 0;
  background: var(--sand-light);
}

.visit-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.visit-info {
  padding: 20px 0;
}

.visit-info .section-title {
  margin-bottom: 16px;
}

.visit-desc {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 36px;
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.visit-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.visit-detail-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  box-shadow: var(--shadow-sm);
}

.visit-detail strong {
  display: block;
  font-size: 0.95rem;
  color: var(--brown-dark);
  margin-bottom: 2px;
}

.visit-detail span,
.visit-detail a {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.visit-detail a:hover {
  color: var(--terracotta);
}

.visit-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 450px;
  box-shadow: var(--shadow-md);
}

/* --- FOOTER --- */
.footer {
  background: var(--brown-dark);
  color: var(--sand);
  padding: 60px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 48px;
  align-items: start;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand .nav-brand-mark {
  background: var(--terracotta);
  width: 48px;
  height: 48px;
  font-size: 1.3rem;
}

.footer-brand .nav-brand-text {
  color: var(--sand);
  font-size: 1.3rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(245, 230, 211, 0.6);
  line-height: 1.6;
  max-width: 260px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(245, 230, 211, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--terracotta-light);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact p {
  font-size: 0.9rem;
  color: rgba(245, 230, 211, 0.7);
  line-height: 1.6;
}

.footer-contact a:hover {
  color: var(--terracotta-light);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 230, 211, 0.1);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(245, 230, 211, 0.4);
}

/* --- SCROLL REVEAL (progressive enhancement) --- */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    height: 500px;
    order: -1;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-sub {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-img-float--bottom {
    left: 0;
    width: 220px;
  }

  .hero-img-float--top {
    right: 0;
    width: 150px;
    height: 150px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-images {
    height: 450px;
    max-width: 500px;
    margin: 0 auto;
  }

  .about-content {
    max-width: 100%;
  }

  .visit-inner {
    grid-template-columns: 1fr;
  }

  .visit-map {
    min-height: 350px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 90px 20px 50px;
  }

  .hero-visual {
    height: 380px;
  }

  .hero-img-main {
    height: 380px;
  }

  .hero-img-float--bottom {
    width: 180px;
    height: 140px;
    left: -10px;
    bottom: 10px;
  }

  .hero-img-float--top {
    width: 120px;
    height: 120px;
    right: -10px;
    top: 10px;
  }

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

  .menu-card--wide {
    grid-column: span 1;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 180px);
  }

  .gallery-item--tall {
    grid-row: span 1;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 80px 16px 40px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .hero-stat-divider {
    width: 40px;
    height: 1px;
  }

  .menu, .about, .gallery, .visit {
    padding: 70px 0;
  }

  .container {
    padding: 0 16px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gallery-item--wide {
    grid-column: span 1;
  }

  .gallery-item {
    height: 220px;
  }

  .about-images {
    height: 360px;
  }

  .about-img-main {
    height: 340px;
  }

  .about-img-secondary {
    width: 60%;
    height: 200px;
  }
}
