/* ============================================
   PINO'S PIZZA — Premium Dark Luxury Styles
   ============================================ */

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

:root {
  --navy-950: #050D1A;
  --navy-900: #0A1628;
  --navy-800: #0F2137;
  --navy-700: #162D4A;
  --navy-600: #1E3A5F;
  --gold-500: #D4A843;
  --gold-400: #E2BC5A;
  --gold-300: #F0D078;
  --gold-600: #B8922E;
  --gold-700: #9A7720;
  --cream: #F5F0E8;
  --cream-light: #FAF7F2;
  --white: #FFFFFF;
  --text-primary: #F5F0E8;
  --text-secondary: #A8B8CC;
  --text-muted: #6B8299;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.5);
  --shadow-gold: 0 4px 24px rgba(212,168,67,0.25);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  background: var(--navy-950);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 13, 26, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.1);
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(5, 13, 26, 0.95);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-400);
  letter-spacing: 0.02em;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--navy-950);
  font-weight: 700;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-400);
  transition: width var(--transition);
}

.nav-links a:not(.nav-cta):hover {
  color: var(--gold-400);
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--navy-950) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

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

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

.nav-toggle-bar {
  width: 24px;
  height: 2px;
  background: var(--gold-400);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/2666/food-restaurant-eat-snack.jpg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5, 13, 26, 0.92) 0%,
    rgba(10, 22, 40, 0.85) 50%,
    rgba(5, 13, 26, 0.95) 100%
  );
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 168, 67, 0.12);
  border: 1px solid rgba(212, 168, 67, 0.3);
  color: var(--gold-400);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 24px;
}

.hero-title em {
  color: var(--gold-400);
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--navy-950);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(212, 168, 67, 0.4);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-400);
  border: 1.5px solid rgba(212, 168, 67, 0.5);
}

.btn-outline-gold:hover {
  background: rgba(212, 168, 67, 0.1);
  border-color: var(--gold-400);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

/* --- Stat Cards --- */
.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-card {
  background: rgba(15, 33, 55, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 168, 67, 0.15);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all var(--transition);
}

.stat-card:hover {
  border-color: rgba(212, 168, 67, 0.4);
  transform: translateX(-6px);
  box-shadow: var(--shadow-gold);
}

.stat-card--1 { order: 3; }
.stat-card--2 { order: 2; }
.stat-card--3 { order: 1; }

.stat-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.2), rgba(212, 168, 67, 0.05));
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  flex-shrink: 0;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- Section Common --- */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 16px;
  position: relative;
  padding: 0 16px;
}

.section-tag::before,
.section-tag::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 24px;
  height: 1px;
  background: var(--gold-600);
}

.section-tag::before { left: -16px; }
.section-tag::after { right: -16px; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-title em {
  color: var(--gold-400);
  font-style: italic;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Menu --- */
.menu-section {
  background: var(--navy-900);
  position: relative;
}

.menu-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,168,67,0.3), transparent);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

.menu-card {
  background: var(--navy-800);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(212, 168, 67, 0.08);
  transition: all var(--transition);
}

.menu-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 168, 67, 0.25);
  box-shadow: var(--shadow-lg);
}

.menu-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-card:hover .menu-card-img img {
  transform: scale(1.08);
}

.menu-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--navy-950);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.menu-card-body {
  padding: 24px;
}

.menu-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 8px;
}

.menu-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.menu-cta {
  text-align: center;
}

/* --- About --- */
.about-section {
  background: var(--navy-950);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,168,67,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-accent {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 4px solid var(--navy-950);
  box-shadow: var(--shadow-md);
}

.about-image-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  position: relative;
  z-index: 1;
}

.about-content .section-tag {
  display: inline-block;
  margin-bottom: 16px;
}

.about-content .section-tag::before,
.about-content .section-tag::after {
  display: none;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  flex-shrink: 0;
}

.about-feature span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* --- Gallery --- */
.gallery-section {
  background: var(--navy-900);
  position: relative;
}

.gallery-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,168,67,0.3), transparent);
}

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

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,13,26,0.5) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* --- Visit --- */
.visit-section {
  background: var(--navy-950);
  position: relative;
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.visit-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--navy-800);
  border: 1px solid rgba(212, 168, 67, 0.08);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 20px;
  transition: all var(--transition);
}

.visit-card:hover {
  border-color: rgba(212, 168, 67, 0.25);
  box-shadow: var(--shadow-gold);
}

.visit-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  flex-shrink: 0;
}

.visit-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 6px;
}

.visit-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.visit-card a {
  color: var(--gold-400);
  transition: color var(--transition);
}

.visit-card a:hover {
  color: var(--gold-300);
}

.visit-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(212, 168, 67, 0.1);
  margin-top: 8px;
}

.visit-order-card {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  text-align: center;
  position: sticky;
  top: 100px;
}

.visit-order-icon {
  width: 72px;
  height: 72px;
  background: rgba(212, 168, 67, 0.12);
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  margin: 0 auto 24px;
}

.visit-order-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 16px;
}

.visit-order-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.visit-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,168,67,0.2), transparent);
  margin: 32px 0;
}

.visit-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* --- Footer --- */
.footer {
  background: var(--navy-950);
  border-top: 1px solid rgba(212, 168, 67, 0.1);
  padding: 64px 0 32px;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-400);
  margin-bottom: 16px;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--navy-950);
  font-weight: 700;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 20px;
}

.footer-links ul li,
.footer-contact ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links ul li a:hover {
  color: var(--gold-400);
}

.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-contact ul li svg {
  color: var(--gold-500);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact ul li a {
  color: var(--gold-400);
  transition: color var(--transition);
}

.footer-contact ul li a:hover {
  color: var(--gold-300);
}

.footer-bottom {
  border-top: 1px solid rgba(212, 168, 67, 0.08);
  padding-top: 24px;
  text-align: center;
}

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

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Default visible state for reduced-motion / no-JS */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat-card {
    flex: 1;
    min-width: 200px;
  }

  .stat-card--1 { order: 1; }
  .stat-card--2 { order: 2; }
  .stat-card--3 { order: 3; }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image-accent {
    width: 150px;
    height: 150px;
    bottom: -20px;
    right: -20px;
  }

  .visit-grid {
    grid-template-columns: 1fr;
  }

  .visit-order-card {
    position: static;
  }

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(5, 13, 26, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid rgba(212, 168, 67, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 24px 60px;
    min-height: auto;
  }

  .hero-cards {
    flex-direction: column;
  }

  .stat-card {
    min-width: auto;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

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

  .about-features {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section {
    padding: 72px 0;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
    width: 100%;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .visit-order-card {
    padding: 32px 24px;
  }
}
