/* ========================================
   TELUGU THEORY - Restaurant Website
   Warm, editorial, traditional yet modern
======================================== */

:root {
  --cream: #FDF8F0;
  --cream-dark: #F5EDE0;
  --maroon: #8B1A1A;
  --maroon-dark: #6B1414;
  --gold: #C9A227;
  --gold-light: #E8D48B;
  --brown: #2C1810;
  --brown-light: #5C4033;
  --text: #3D2B1F;
  --white: #FFFFFF;
  --red-deep: #7A1F1F;
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 248, 240, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(44, 24, 16, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
}

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

.logo-main {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--maroon);
}

.logo-sub {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--gold);
}

.nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--brown-light);
  position: relative;
  padding: 4px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--maroon);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: var(--maroon);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--maroon-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 26, 26, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--maroon);
  border: 1.5px solid var(--maroon);
}

.btn-outline:hover {
  background: var(--maroon);
  color: var(--white);
}

.book-btn {
  padding: 10px 22px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(253, 248, 240, 0.97) 0%,
    rgba(253, 248, 240, 0.85) 40%,
    rgba(253, 248, 240, 0.4) 70%,
    rgba(253, 248, 240, 0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 60px 24px;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--brown);
  margin-bottom: 16px;
}

.hero-title .accent {
  color: var(--maroon);
}

.hero-divider {
  margin: 20px 0;
}

.hero-desc {
  font-size: 16px;
  color: var(--brown-light);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 420px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(44, 24, 16, 0.2);
}

.hero-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.hero-pagination {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  font-size: 13px;
  font-weight: 500;
  color: var(--brown-light);
}

.hero-pagination span.active {
  color: var(--maroon);
  font-weight: 600;
}

.pag-arrow {
  background: none;
  border: 1px solid var(--gold);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--maroon);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========== FEATURES ========== */
.features {
  background: var(--cream);
  padding: 60px 0 40px;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.feature-item {
  padding: 20px;
}

.feature-icon {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.feature-item h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--maroon);
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 14px;
  color: var(--brown-light);
  line-height: 1.5;
}

.features-border {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin-top: 40px;
  opacity: 0.4;
}

/* ========== SIGNATURE ========== */
.signature {
  padding: 80px 0;
  background: var(--cream);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 8px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  color: var(--brown);
  line-height: 1.2;
}

.view-all {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--maroon);
}

.view-all:hover {
  color: var(--gold);
}

.dishes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.dish-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(44, 24, 16, 0.06);
  transition: all 0.3s ease;
}

.dish-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(44, 24, 16, 0.12);
}

.dish-img {
  height: 200px;
  overflow: hidden;
}

.dish-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dish-card:hover .dish-img img {
  transform: scale(1.08);
}

.dish-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--brown);
  padding: 16px 16px 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.veg-icon {
  font-size: 10px;
}

.veg-icon.veg {
  color: #2E7D32;
}

.veg-icon.nonveg {
  color: #C62828;
}

.dish-card p {
  font-size: 13px;
  color: var(--brown-light);
  padding: 0 16px 20px;
  line-height: 1.5;
}

.explore-wrap {
  text-align: center;
}

/* ========== STORY ========== */
.story {
  padding: 80px 0;
  background: var(--cream-dark);
}

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

.story-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(44, 24, 16, 0.15);
}

.story-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.story-content .section-title {
  margin-bottom: 16px;
}

.story-text {
  font-size: 16px;
  color: var(--brown-light);
  line-height: 1.8;
  margin: 24px 0 40px;
  max-width: 480px;
}

.story-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.story-feat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.story-feat span {
  font-size: 13px;
  font-weight: 500;
  color: var(--brown);
  line-height: 1.3;
}

/* ========== STATS ========== */
.stats {
  background: var(--red-deep);
  padding: 50px 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A227' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  color: var(--white);
}

.stat-icon {
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  opacity: 0.9;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

/* ========== RESERVATION ========== */
.reservation {
  padding: 100px 0;
  background: var(--cream);
}

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

.reservation-text .section-title {
  margin-bottom: 16px;
}

.reservation-text .accent {
  color: var(--maroon);
}

.reservation-desc {
  font-size: 16px;
  color: var(--brown-light);
  margin: 20px 0 32px;
  line-height: 1.7;
}

.delivery-partners {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--brown-light);
}

.partner-text {
  font-weight: 700;
  font-size: 18px;
  color: #FC8019;
}

.partner-text.zomato {
  color: #E23744;
  font-style: italic;
  font-family: Georgia, serif;
}

.reservation-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.lamp-img {
  width: 280px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(44, 24, 16, 0.12);
}

.reservation-features {
  display: flex;
  gap: 24px;
  background: var(--maroon);
  padding: 24px 32px;
  border-radius: 12px;
  color: var(--white);
}

.res-feat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  min-width: 90px;
}

.res-feat span {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  opacity: 0.75;
  max-width: 280px;
  line-height: 1.6;
}

.footer .logo-main {
  color: var(--cream);
}

.footer .logo-sub {
  color: var(--gold);
}

.footer h4 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  color: var(--gold);
}

.footer-links a {
  display: block;
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 10px;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer-contact p,
.footer-hours p {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 8px;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  opacity: 0.6;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .dishes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .dishes-grid .dish-card:nth-child(4),
  .dishes-grid .dish-card:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .book-btn {
    display: none;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-image {
    max-width: 480px;
    margin: 0 auto;
  }
  
  .hero-image img {
    height: 360px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .dishes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .story-grid,
  .reservation-grid {
    grid-template-columns: 1fr;
  }
  
  .story-image img {
    height: 360px;
  }
  
  .story-features {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .dishes-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .reservation-features {
    flex-direction: column;
    gap: 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 32px;
  }
}
