/* ==========================================================================
   MARSA Seafood Restaurant - Design System & Global Styles
   Pure Vanilla CSS - Modern Luxury Nautical Aesthetics
   ========================================================================== */

:root {
  /* Colors */
  --bg-primary: #06101E;
  --bg-secondary: #0B192C;
  --bg-surface: #0F233D;
  --bg-surface-elevated: #162E4E;
  --bg-glass: rgba(11, 25, 44, 0.82);
  --bg-glass-card: rgba(15, 35, 61, 0.7);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.25);
  
  --text-primary: #FFFFFF;
  --text-secondary: #E2E8F0;
  --text-muted: #94A3B8;
  --text-dark: #0F172A;

  --accent-coral: #FF6B35;
  --accent-coral-hover: #FA571E;
  --accent-coral-glow: rgba(255, 107, 53, 0.35);
  
  --accent-gold: #D4AF37;
  --accent-gold-light: #F3E5AB;
  --accent-gold-glow: rgba(212, 175, 55, 0.25);

  --accent-cyan: #38BDF8;
  --status-success: #10B981;
  --status-warning: #F59E0B;
  --status-danger: #EF4444;

  /* Typography */
  --font-heading: 'Cairo', 'Playfair Display', serif;
  --font-body: 'Tajawal', sans-serif;
  --font-serif: 'Playfair Display', serif;

  /* Spacing */
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px var(--accent-coral-glow);
  --shadow-gold-glow: 0 0 25px var(--accent-gold-glow);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  direction: rtl; /* Native Arabic primary with full multilingual support */
  text-align: right;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  line-height: 1.65;
  background: radial-gradient(circle at 50% 0%, #0D233D 0%, #06101E 55%, #03080F 100%);
  background-attachment: fixed;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ----------------- Header & Navigation ----------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(6, 16, 30, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(6, 16, 30, 0.96);
  box-shadow: var(--shadow-md);
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
  border-bottom-color: rgba(212, 175, 55, 0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  transition: height var(--transition-normal);
}

.site-header.scrolled .nav-inner {
  height: 70px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo svg {
  height: 52px;
  width: auto;
  transition: transform var(--transition-normal);
}

.brand-logo:hover svg {
  transform: scale(1.03);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.mobile-menu-brand {
  display: none;
}

.nav-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 0.25rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-coral), var(--accent-gold));
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

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

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Cart Button */
.cart-trigger-btn {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.cart-trigger-btn:hover {
  background: rgba(255, 107, 53, 0.15);
  border-color: var(--accent-coral);
  transform: translateY(-2px);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-coral);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px var(--accent-coral);
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

/* ----------------- Top Catch Announcement Bar ----------------- */
.catch-ticker-bar {
  background: linear-gradient(90deg, #091C33, #0F2D52, #091C33);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding: 0.5rem 0;
  font-size: 0.88rem;
  color: var(--accent-gold-light);
  overflow: hidden;
  margin-top: 84px;
}

.ticker-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  white-space: nowrap;
}

.ticker-badge {
  background: var(--accent-coral);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.ticker-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: #fff;
  border-radius: 50%;
  animation: blink 1.2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* ----------------- Main Content Wrapper ----------------- */
main {
  flex: 1;
}

/* ----------------- Footer ----------------- */
.site-footer {
  background: #030811;
  border-top: 1px solid var(--border-glass);
  padding: 5rem 0 2rem;
  margin-top: 6rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand {
  text-align: start;
  justify-self: stretch;
}

.footer-brand > img {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  margin-inline: 0 auto;
  transform: translateX(74px);
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 1.25rem;
  max-width: 340px;
  font-size: 0.95rem;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 2px;
  background: var(--accent-gold);
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-right: 6px;
}

.footer-hours-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-hours-item span:last-child {
  color: var(--accent-gold);
}

.social-links {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--accent-coral);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px var(--accent-coral-glow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ----------------- Toast Notification ----------------- */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--accent-gold);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 280px;
  max-width: 400px;
  pointer-events: auto;
  animation: slideInLeft 0.35s ease forwards;
  backdrop-filter: blur(12px);
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==========================================================================
   Full-Bleed Image Sections with Fog / Blur Overlays & Ultra-Clear Text
   ========================================================================== */

/* 1. Hero Full Section with Fog & Direct Text (No Card) */
.hero-section.hero-full-bg {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../assets/images/hero.webp') center center / cover no-repeat;
  padding: 7rem 0 6rem;
  overflow: hidden;
}

.hero-overlay-fog {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(6, 16, 30, 0.42) 0%, rgba(3, 8, 18, 0.76) 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 1;
}

.hero-direct-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.hero-direct-content .hero-title {
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.95), 0 2px 10px rgba(0, 0, 0, 0.9);
}

.hero-direct-content p {
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.9);
}

/* Hero Action Buttons & Trust Stats */
.hero-actions {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  max-width: 760px;
  margin: 0 auto;
}

.hero-stat-item {
  text-align: center;
}

.hero-stat-item:not(:first-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  padding-right: 2.5rem;
}

.hero-stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1.2;
}

.hero-stat-num.stat-gold { color: var(--accent-gold); }
.hero-stat-num.stat-coral { color: var(--accent-coral); }
.hero-stat-num.stat-cyan { color: #38BDF8; }

.hero-stat-label {
  font-size: 0.95rem;
  color: #F1F5F9;
  font-weight: 500;
}


/* 2. Experience / Ambience Full Section with Fog & Direct Text (No Card) */
.experience-section.experience-full-bg {
  position: relative;
  padding: 8rem 0;
  background: url('../assets/images/ambience.webp') center center / cover no-repeat;
  overflow: hidden;
}

.experience-overlay-fog {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 16, 30, 0.62) 0%, rgba(8, 20, 38, 0.45) 50%, rgba(4, 10, 22, 0.8) 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 1;
}

.experience-direct-content {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.experience-direct-content .section-title {
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.95);
}

.experience-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-bottom: 1.25rem;
  padding: 0.4rem 1.3rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.18);
  color: var(--accent-gold-light);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
  backdrop-filter: blur(4px);
}

.experience-direct-feature {
  padding: 1.5rem 1rem;
  text-align: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transition: transform var(--transition-normal);
}

.experience-direct-feature:hover {
  transform: translateY(-8px);
}

.experience-icon-wrap {
  width: 76px;
  height: 76px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22) 0%, rgba(6, 16, 30, 0.6) 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.2);
  transition: all 0.35s ease;
}

.experience-icon-wrap svg {
  width: 38px;
  height: 38px;
  transition: transform 0.35s ease;
}

.experience-direct-feature:hover .experience-icon-wrap {
  transform: scale(1.1) translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: 0 0 35px rgba(212, 175, 55, 0.5);
}

.experience-direct-feature:hover .experience-icon-wrap svg {
  transform: scale(1.1);
}

.experience-direct-feature h4 {
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.95);
}

.experience-direct-feature p {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

.experience-feature-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  padding: 0.35rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-gold-light);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-full);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  line-height: 1.5;
  white-space: nowrap;
}

.experience-feature-tag svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 3. Social Media Buttons & SVGs in Footer */
.social-links {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-btn svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.social-btn:hover {
  transform: translateY(-3px);
}

.social-btn.facebook:hover {
  background: #1877F2;
  color: #fff;
  border-color: #1877F2;
  box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
}

.social-btn.whatsapp:hover {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.social-btn.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(214, 36, 159, 0.4);
}

.social-btn.twitter:hover {
  background: #000000;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}
