/* Ragam Flavors - Modern Design System */

/* ============================================
   IMPORTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  /* Colors */
  --primary-orange: #ff6b35;
  --primary-gold: #f7931e;
  --deep-brown: #5c3317;
  --warm-cream: #fff4e6;
  --dark-bg: #1a1a1a;
  --light-text: #ffffff;
  --dark-text: #2d2d2d;
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff9a56 100%);
  --gradient-card: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(247, 147, 30, 0.1) 100%);
  --gradient-overlay: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--primary-orange);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--deep-brown);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: var(--spacing-sm);
  font-size: clamp(1rem, 2vw, 1.125rem);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  width: 100%;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  flex-direction: row;
  gap: 0.1rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: #ffffff;
  font-weight: 500;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
  position: relative;
  white-space: nowrap;
  display: block;
  font-size: 0.93rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  transition: width 0.3s ease;
}

.nav-link:hover { color: #f7931e; background: rgba(247,147,30,0.08); }
.nav-link:hover::after { width: 80%; }
.nav-link.active { color: #f7931e; }
.nav-link.active::after { width: 80%; }

.nav-phone {
  color: #FFD700 !important;
  font-weight: 600 !important;
}
.nav-phone:hover { color: #ffffff !important; }

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.75rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
  transition: color 0.2s ease;
  flex-shrink: 0;
}
.menu-toggle:hover { color: #f7931e; }

/* ── MOBILE ── */
@media (max-width: 900px) {
  .menu-toggle { display: block; }

  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    z-index: 999;
    padding: 2rem;
    overflow-y: auto;
  }

  .nav-menu.active { display: flex; }

  .nav-link {
    font-size: 1.2rem;
    padding: 0.8rem 2rem;
    text-align: center;
    width: 100%;
    border-radius: 12px;
  }
  .nav-link:hover { background: rgba(247,147,30,0.15); }
}

@media (max-width: 480px) {
  .nav-container { padding: 0 1rem; }
  .logo img { height: 48px !important; }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%235c3317" opacity="0.1" width="1200" height="600"/><circle cx="200" cy="100" r="80" fill="%23f7931e" opacity="0.1"/><circle cx="800" cy="400" r="100" fill="%23ff6b35" opacity="0.1"/><circle cx="1000" cy="150" r="60" fill="%23fff4e6" opacity="0.1"/></svg>');
  background-size: cover;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero h1 {
  color: var(--light-text);
  margin-bottom: var(--spacing-md);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero p {
  color: var(--warm-cream);
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--light-text);
  color: var(--primary-orange);
  font-weight: 600;
  font-size: 1.125rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  border: 2px solid transparent;
}

.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: var(--primary-gold);
  color: var(--light-text);
  border-color: var(--light-text);
}

/* ============================================
   CONTAINER & GRID
   ============================================ */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--spacing-lg) var(--spacing-md);
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: var(--spacing-sm);
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 4px;
  background: var(--gradient-hero);
  border-radius: 2px;
}

/* ============================================
   CARDS
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  border: 1px solid rgba(255, 107, 53, 0.1);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-orange);
}

.card-image {
  height: 200px;
  background: var(--gradient-card);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-sm);
  overflow: hidden;
  position: relative;
}

.card-image::before {
  content: '🍽️';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  opacity: 0.3;
}

.card h3 {
  color: var(--primary-orange);
  margin-bottom: var(--spacing-xs);
}

.card p {
  color: var(--dark-text);
  font-size: 1rem;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-sm);
}

.gallery-item {
  position: relative;
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-normal);
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  opacity: 0;
  transition: var(--transition-normal);
  z-index: 1;
}

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

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: var(--gradient-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: var(--light-text);
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.footer-section h3 {
  color: var(--primary-gold);
  margin-bottom: var(--spacing-sm);
  font-size: 1.5rem;
}

.footer-section p,
.footer-section a {
  color: var(--warm-cream);
  margin-bottom: var(--spacing-xs);
  transition: var(--transition-fast);
}

.footer-section a:hover {
  color: var(--primary-gold);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(247, 147, 30, 0.2);
  border-radius: 50%;
  transition: var(--transition-normal);
}

.social-link:hover {
  background: var(--primary-gold);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-sm);
  text-align: center;
  color: var(--warm-cream);
}

/* ============================================
   MENU PAGE SPECIFIC STYLES
   ============================================ */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  justify-content: center;
}

.tab-button {
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid var(--primary-orange);
  border-radius: var(--radius-md);
  color: var(--primary-orange);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-normal);
}

.tab-button:hover {
  background: var(--primary-orange);
  color: var(--light-text);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.tab-button.active {
  background: var(--gradient-hero);
  color: var(--light-text);
  border-color: var(--primary-gold);
  box-shadow: var(--shadow-md);
}

.menu-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.menu-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.menu-items {
  display: grid;
  gap: var(--spacing-sm);
}

.menu-item {
  background: rgba(255, 255, 255, 0.9);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary-orange);
  transition: var(--transition-fast);
}

.menu-item:nth-child(even) {
  background: rgba(247, 147, 30, 0.1);
}

.menu-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-sm);
  border-left-width: 6px;
}

.menu-item h4 {
  color: var(--deep-brown);
  font-size: 1.125rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
  /* nav handled by the nav section above */
  .nav-link {
    width: 100%;
    padding: 0.75rem 1rem;
    text-align: center;
    font-size: 1.1rem;
  }
  
  .hero {
    height: 500px;
  }
  
  .container {
    padding: var(--spacing-md) var(--spacing-sm);
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .menu-tabs {
    flex-direction: column;
  }
  
  .tab-button {
    width: 100%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

.fade-in {
  animation: fadeIn 1s ease;
}
