/* 
  Calcutta Retro Salt Lake - Premium Design System
  Color Palette: Retro Bengali Luxury
*/

:root {
  --primary-maroon: #7A1E2C;
  --secondary-gold: #C9A66B;
  --bg-cream: #F8F4ED;
  --accent-black: #1E1E1E;
  --vintage-green: #3F5D50;
  --text-main: #2D2D2D;
  --text-light: #6D6D6D;
  --white: #FFFFFF;

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
  --font-accent: 'Cormorant Garamond', serif;

  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.08);
  --section-padding: 100px 20px;
}

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

html {
  scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
.heading-font {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-maroon);
}

p {
  font-size: 1.1rem;
  color: var(--text-light);
}

a {
  text-decoration: none;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

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

/* Base Buttons */
.btn {
  display: inline-block;
  padding: 16px 32px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--primary-maroon);
  color: var(--white);
  border: 1px solid var(--primary-maroon);
}

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

.btn-outline {
  background-color: transparent;
  color: var(--accent-black);
  border: 1px solid var(--accent-black);
}

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

/* Common Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--secondary-gold);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-smooth);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Responsive Grid */
.grid {
  display: grid;
  gap: 30px;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .section-title h2 {
    font-size: 2.5rem;
  }

  section {
    padding: 60px 20px;
  }
}

/* Attribution Bar */
.attribution-bar {
  background-color: var(--accent-black);
  color: var(--white);
  padding: 8px 0;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 1px;
  position: relative;
  z-index: 1001;
}

.attribution-bar p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 0.85rem;
}

.attribution-bar strong {
  color: var(--secondary-gold);
}

/* Navigation */
header {
  position: fixed;
  top: 36px;
  /* Space for attribution bar */
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 20px 0;
}

header.scrolled {
  top: 0;
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-maroon);
}

.logo .retro {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  color: var(--secondary-gold);
}

.logo-subtext {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-light);
  margin-top: -5px;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: var(--primary-maroon);
}

.nav-cta {
  padding: 10px 20px !important;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  padding-top: 80px;
}

.hero-text h1 {
  font-size: 4.5rem;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 30px;
}

.hero-text .highlight {
  color: var(--secondary-gold);
  font-style: italic;
  font-family: var(--font-accent);
}

.hero-text p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
}

.hero-actions .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

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

.hero-trust {
  display: flex;
  gap: 40px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.trust-item i {
  color: var(--secondary-gold);
  font-size: 1.5rem;
}

.trust-item p {
  font-size: 0.9rem;
  margin: 0;
}

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

.img-styled {
  box-shadow: 20px 20px 0 var(--secondary-gold);
  border-radius: 4px;
}

.section-title-alt {
  font-size: 3rem;
  margin-bottom: 30px;
}

.about-text p {
  margin-bottom: 20px;
}

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

.menu-card {
  background: var(--bg-cream);
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-premium);
}

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

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

.menu-info {
  padding: 30px;
  text-align: center;
}

.menu-info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.menu-info p {
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.menu-info .price {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--secondary-gold);
  font-size: 1.2rem;
}

.menu-cta {
  text-align: center;
  margin-top: 50px;
}

/* Feature Boxes */
.bg-alt {
  background-color: var(--bg-cream);
}

.feature-box {
  text-align: center;
  padding: 40px;
  background: var(--white);
  transition: var(--transition-smooth);
}

.feature-box i {
  font-size: 2.5rem;
  color: var(--secondary-gold);
  margin-bottom: 20px;
}

.feature-box h3 {
  margin-bottom: 15px;
}

/* Testimonials */
.reviews {
  background-color: var(--primary-maroon);
  color: var(--white);
}

.reviews .section-title h2 {
  color: var(--white);
}

.overall-rating {
  margin-top: 20px;
}

.rating-num {
  font-size: 3rem;
  font-weight: 700;
  display: block;
}

.testimonial {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 4px;
  font-style: italic;
}

.user {
  margin-top: 20px;
  font-weight: 600;
  color: var(--secondary-gold);
  font-style: normal;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(122, 30, 44, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

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

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item .overlay span {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

/* Reservation */
.reserve-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px;
  text-align: center;
}

.reserve-text h2 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.reserve-form {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

input,
select {
  padding: 15px;
  border: 1px solid #ddd;
  background: var(--white);
  font-family: var(--font-body);
}

/* Contact */
.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: center;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--secondary-gold);
}

.info-item p {
  margin: 0;
}

.contact-actions {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.map-placeholder {
  height: 100%;
  min-height: 400px;
  background: #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

.map-placeholder i {
  font-size: 4rem;
  margin-bottom: 20px;
}

/* Footer */
footer {
  background: var(--accent-black);
  color: var(--white);
  padding: 80px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 20px;
}

.footer-brand .retro {
  color: var(--secondary-gold);
}

.social-links {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.social-links a {
  color: var(--white);
  font-size: 1.5rem;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--secondary-gold);
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.footer-links ul li {
  margin-bottom: 15px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Mobile Sticky */
.mobile-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  display: none;
  grid-template-columns: repeat(3, 1fr);
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.sticky-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  color: var(--text-main);
  font-size: 0.7rem;
  text-transform: uppercase;
  gap: 5px;
}

.sticky-btn i {
  font-size: 1.2rem;
  color: var(--primary-maroon);
}

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

.sticky-btn.middle i {
  color: var(--white);
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .hero-text h1 {
    font-size: 3.5rem;
  }

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

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

  .mobile-sticky {
    display: grid;
  }

  .hero-text h1 {
    font-size: 2.8rem;
  }

  .grid-2,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 40px;
  }

  .reserve-container {
    padding: 30px;
  }

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

  section {
    padding: 60px 20px;
  }

  .section-title h2 {
    font-size: 2.2rem;
  }
}