/* ============================================
   PASTA ROSA RESTAURANT - STYLES
   Elegant, modern design with pasta-inspired palette
   ============================================ */

/* Reset & Base */
* {
  box-sizing: border-box;
}

:root {
  --primary-red: #c62828;
  /* Richer, deeper tomato red */
  --accent-gold: #ffb300;
  /* Warm amber/gold */
  --dark-bg: #2d241e;
  /* Warm espresso brown */
  --cream: #faf3e0;
  /* Warm cream/parchment */
  --text-dark: #3e2723;
  /* Dark brown for text */
  --text-light: #5d4037;
  /* Softer brownish gray */
  --fresh-green: #388e3c;
  /* Fresh basil green */
  --golden-crust: #f57f17;
  /* Golden crust accent */
  --border: #d7ccc8;
  /* Warm border color */
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Outfit', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 16px 0;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  font-family: 'Playfair Display', serif;
}

h2 {
  font-size: 2.5rem;
  font-family: 'Playfair Display', serif;
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.4rem;
}

p {
  margin: 0 0 16px 0;
}

a {
  color: var(--primary-red);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-gold);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: white;
  box-shadow: 0 2px 8px rgba(62, 39, 35, 0.1);
  z-index: 100;
  display: flex;
  align-items: center;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-red);
  letter-spacing: 1px;
  font-family: 'Playfair Display', serif;
}

.logo span {
  color: var(--accent-gold);
}

/* Main Navigation */
.main-nav {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-nav a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-red);
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.lang-toggle {
  background: transparent;
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.lang-toggle:hover {
  background: var(--primary-red);
  color: white;
  border-color: var(--primary-red);
}

.btn-reserve {
  background: var(--primary-red);
  color: white;
  padding: 12px 28px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(198, 40, 40, 0.3);
}

.btn-reserve:hover {
  background: #b71c1c;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(198, 40, 40, 0.4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-dark);
  padding: 8px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  margin-top: 80px;
  height: 100vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 36, 30, 0.4);
  /* Warmer overlay */
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  padding: 40px 20px;
  text-align: center;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease;
}

.hero-content h1 {
  color: white;
  font-size: 4.5rem;
  margin-bottom: 24px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: var(--primary-red);
  color: white;
  box-shadow: 0 4px 6px rgba(198, 40, 40, 0.3);
}

.btn-primary:hover {
  background: #b71c1c;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(198, 40, 40, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary-red);
}

/* ============================================
   CONTAINER & SECTIONS
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

section {
  margin-bottom: 60px;
}

/* ============================================
   FEATURED PASTA SECTION
   ============================================ */

.featured-pasta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.featured-pasta-image {
  position: relative;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(62, 39, 35, 0.15);
}

.featured-pasta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.featured-pasta:hover .featured-pasta-image img {
  transform: scale(1.05);
}

.featured-pasta-content h2 {
  color: var(--primary-red);
  margin-bottom: 16px;
}

.featured-pasta-content p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

/* ============================================
   DESSERT HIGHLIGHTS
   ============================================ */

.dessert-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.dessert-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(62, 39, 35, 0.08);
  border: 1px solid rgba(215, 204, 200, 0.3);
}

.dessert-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(62, 39, 35, 0.15);
}

.dessert-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.dessert-info {
  padding: 24px;
}

.dessert-info h4 {
  color: var(--primary-red);
  margin-bottom: 8px;
  font-family: 'Playfair Display', serif;
}

.dessert-info p {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-light);
}

.dessert-info .price {
  color: var(--accent-gold);
  font-weight: 700;
  margin-top: 12px;
  font-size: 1.1rem;
}

/* ============================================
   QUICK INFO SECTION
   ============================================ */

.quick-info-section {
  background: white;
  padding: 60px 40px;
  border-radius: 16px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 4px 20px rgba(62, 39, 35, 0.05);
  border: 1px solid var(--border);
}

.quick-info-section h2 {
  margin-bottom: 24px;
  color: var(--primary-red);
}

.section-desc {
  margin-bottom: 40px;
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.info-item h4 {
  color: var(--primary-red);
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.info-item p {
  color: var(--text-light);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--dark-bg);
  color: #efebe9;
  padding: 80px 20px 30px;
  margin-top: 80px;
  border-top: 4px solid var(--accent-gold);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h4 {
  color: var(--accent-gold);
  margin-bottom: 24px;
  font-size: 1.2rem;
  font-family: 'Playfair Display', serif;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column a {
  color: #d7ccc8;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #a1887f;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--border);
  }

  .main-nav.active {
    display: flex;
  }

  .header-actions {
    display: none;
    /* Hide header actions on mobile for simplicity, or move to menu */
  }

  /* Show header actions in mobile menu if needed, or just keep simple */

  .featured-pasta {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .featured-pasta-image {
    height: 300px;
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .quick-info-section {
    padding: 40px 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Animations */
@keyframes fadeInUp {
  padding: 24px;
}

.dessert-info h4 {
  color: var(--primary-red);
  margin-bottom: 8px;
  font-family: 'Playfair Display', serif;
}

.dessert-info p {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-light);
}

.dessert-info .price {
  color: var(--accent-gold);
  font-weight: 700;
  margin-top: 12px;
  font-size: 1.1rem;
}

/* ============================================
   QUICK INFO SECTION
   ============================================ */

.quick-info-section {
  background: white;
  padding: 60px 40px;
  border-radius: 16px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 4px 20px rgba(62, 39, 35, 0.05);
  border: 1px solid var(--border);
}

.quick-info-section h2 {
  margin-bottom: 24px;
  color: var(--primary-red);
}

.section-desc {
  margin-bottom: 40px;
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.info-item h4 {
  color: var(--primary-red);
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.info-item p {
  color: var(--text-light);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--dark-bg);
  color: #efebe9;
  padding: 80px 20px 30px;
  margin-top: 80px;
  border-top: 4px solid var(--accent-gold);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h4 {
  color: var(--accent-gold);
  margin-bottom: 24px;
  font-size: 1.2rem;
  font-family: 'Playfair Display', serif;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column a {
  color: #d7ccc8;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #a1887f;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--border);
  }

  .main-nav.active {
    display: flex;
  }

  .header-actions {
    display: none;
    /* Hide header actions on mobile for simplicity, or move to menu */
  }

  /* Show header actions in mobile menu if needed, or just keep simple */

  .featured-pasta {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .featured-pasta-image {
    height: 300px;
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .quick-info-section {
    padding: 40px 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   GALLERY PAGE
   ============================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(62, 39, 35, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ============================================
   PASTA QUIZ STYLES
   ============================================ */

.quiz-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(62, 39, 35, 0.1);
  text-align: center;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz-step {
  display: none;
  width: 100%;
  animation: fadeIn 0.5s ease;
}

.quiz-step.active {
  display: block;
}

.quiz-progress {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 24px;
  font-weight: 600;
}

.quiz-image-container {
  width: 100%;
  height: 300px;
  background: #f5f5f0;
  border-radius: 12px;
  margin-bottom: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz-image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.quiz-option-btn {
  background: white;
  border: 2px solid var(--border);
  padding: 16px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}

.quiz-option-btn:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
  background: #fff5f5;
}

.quiz-option-btn.correct {
  background: var(--fresh-green);
  color: white;
  border-color: var(--fresh-green);
}

.quiz-option-btn.wrong {
  background: var(--primary-red);
  color: white;
  border-color: var(--primary-red);
}

#quiz-results h2 {
  color: var(--primary-red);
  font-size: 2.5rem;
  margin-bottom: 16px;
}

#final-score {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-gold);
}

@media (max-width: 600px) {
  .quiz-options {
    grid-template-columns: 1fr;
  }

  .quiz-image-container {
    height: 200px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ============================================
   VIDEO ABOUT SECTION
   ============================================ */

.video-about {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(62, 39, 35, 0.15);
  background: #000;
  position: relative;
}

.video-about video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 900px) {
  .video-about {
    margin-top: 24px;
    height: 300px;
  }
  
  .video-about video {
    height: 100%;
  }
}

/* ============================================
   CHEF PHILOSOPHY SECTION
   ============================================ */

.chef-philosophy {
  background: #f5f5f0;
  padding: 40px;
  border-radius: 8px;
  border-left: 4px solid var(--primary-red);
}

.chef-philosophy blockquote {
  margin: 0;
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.8;
  color: #333;
}

.chef-philosophy p {
  margin-top: 16px;
  text-align: right;
  color: var(--text-light);
  font-weight: 600;
}

/* ============================================
   HOTEL CONNECTION SECTION
   ============================================ */

.hotel-connection {
  text-align: center;
  margin-top: 40px;
}

.hotel-connection p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 32px;
}

.hotel-connection .btn {
  padding: 16px 32px;
  font-size: 1rem;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 600px) {
  .chef-philosophy {
    padding: 24px;
  }

  .chef-philosophy blockquote {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hotel-connection p {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .hotel-connection .btn {
    width: 100%;
    padding: 14px 20px;
  }
}
