/* ===========================
   RESTAURANT WEBSITE - GLOBAL CSS v2
   Premium White + Blue Design
=========================== */

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

/* ===========================
   CSS CUSTOM PROPERTIES
=========================== */
:root {
  --primary: #1E3A8A;
  --primary-dark: #162d6e;
  --primary-light: #3B82F6;
  --sky: #60A5FA;
  --sky-light: #BAE6FD;
  --accent: #DBEAFE;
  --accent-soft: #EFF6FF;
  --white: #ffffff;
  --off-white: #F8FAFF;
  --light-grey: #F1F5F9;
  --text-dark: #0F172A;
  --text-mid: #334155;
  --text-light: #64748B;
  --shadow-sm: 0 2px 12px rgba(30,58,138,0.07);
  --shadow-md: 0 8px 32px rgba(30,58,138,0.11);
  --shadow-lg: 0 24px 64px rgba(30,58,138,0.16);
  --shadow-xl: 0 40px 100px rgba(30,58,138,0.22);
  --border-radius: 16px;
  --border-radius-sm: 10px;
  --border-radius-xl: 28px;
  --transition: 0.38s cubic-bezier(0.4,0,0.2,1);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1200px;
  --nav-height: 78px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===========================
   PAGE LOADER
=========================== */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -1px;
}

.loader-logo span { color: var(--primary-light); }

.loader-bar {
  width: 200px;
  height: 3px;
  background: var(--accent);
  border-radius: 10px;
  overflow: hidden;
}

.loader-bar::after {
  content: '';
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--sky));
  border-radius: 10px;
  animation: loaderFill 1.2s cubic-bezier(0.4,0,0.2,1) forwards;
}

@keyframes loaderFill {
  from { width: 0%; }
  to { width: 100%; }
}

/* ===========================
   SCROLL PROGRESS BAR
=========================== */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--sky));
  z-index: 10000;
  transition: width 0.08s linear;
  border-radius: 0 3px 3px 0;
}

/* ===========================
   NAVBAR
=========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9000;
  background: transparent;
  backdrop-filter: blur(0px);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 4px 20px rgba(30, 58, 138, 0.08);
  border-bottom: 1px solid rgba(30, 58, 138, 0.05);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  transition: color var(--transition);
}

.nav-logo-text span {
  color: var(--primary-light);
  transition: color var(--transition);
}

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

.nav-link {
  position: relative;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: 8px;
  transition: color 0.3s ease;
  letter-spacing: 0.3px;
}

.navbar.scrolled .nav-link { color: #1e293b; }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 32px);
  height: 2px;
  background: var(--primary-light);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.nav-link:hover { color: var(--primary); }
.navbar.scrolled .nav-link:hover { color: var(--primary); }
.nav-link:hover::after,
.nav-link.active::after { transform: translateX(-50%) scaleX(1); }
.nav-link.active { color: var(--primary); }

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
  color: white !important;
  padding: 10px 24px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  margin-left: 10px;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3) !important;
}

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

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid var(--accent);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-link { width: 100%; text-align: center; padding: 12px; color: var(--text-mid) !important; }
  .nav-cta { margin-left: 0 !important; width: 100%; text-align: center; }
}

/* ===========================
   TYPOGRAPHY UTILITIES
=========================== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 14px;
}

.section-tag::before,
.section-tag::after {
  content: '';
  width: 28px;
  height: 1.5px;
  background: var(--primary-light);
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.2;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 18px;
  letter-spacing: -1px;
}

.section-title span {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 52px;
  line-height: 1.85;
}

.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto 52px; }

/* ===========================
   CONTAINER & SECTIONS
=========================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 110px 0; }

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  box-shadow: 0 6px 24px rgba(30,58,138,0.35);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 40px rgba(30,58,138,0.5);
}

.btn-outline {
  background: rgba(255,255,255,0.08);
  color: white;
  border: 2px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: white;
  color: var(--primary);
  border-color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-outline-blue {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline-blue:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(30,58,138,0.3);
}

/* ===========================
   CARDS
=========================== */
.card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(30,58,138,0.05);
}

.card:hover {
  transform: translateY(-9px);
  box-shadow: var(--shadow-xl);
}

/* ===========================
   FOOTER
=========================== */
footer {
  background: var(--off-white);
  border-top: 1px solid rgba(30,58,138,0.07);
  padding: 70px 0 32px;
}

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

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand p {
  color: var(--text-light);
  margin-top: 14px;
  font-size: 0.95rem;
  line-height: 1.85;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: white;
  border: 1px solid rgba(30,58,138,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 12px; }

.footer-col ul li a {
  color: var(--text-light);
  font-size: 0.9rem;
  transition: all var(--transition);
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(30,58,138,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { color: var(--text-light); font-size: 0.86rem; }

/* ===========================
   PAGE HEADER (inner pages)
=========================== */
.page-header {
  min-height: 360px;
  background: linear-gradient(135deg, var(--primary) 0%, #2563EB 60%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: var(--nav-height);
}

.page-header::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(96,165,250,0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.page-header-tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 12px;
  display: block;
}

.page-header h1 {
  font-size: clamp(2.8rem, 5vw, 4rem);
  color: white;
  font-weight: 700;
  letter-spacing: -2px;
}

.page-header p {
  color: rgba(255,255,255,0.75);
  font-size: 1.15rem;
  margin-top: 14px;
}

/* ===========================
   REVEAL ANIMATIONS (GSAP targets)
=========================== */
.reveal { opacity: 0; transform: translateY(40px); }
.reveal-left { opacity: 0; transform: translateX(-40px); }
.reveal-right { opacity: 0; transform: translateX(40px); }

/* ===========================
   THREE.JS CANVAS
=========================== */
#three-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
  section { padding: 80px 0; }
  .btn { padding: 13px 26px; font-size: 0.9rem; }
}