/* =========================================
   MALAIKA MALINDI RESTAURANT - STYLESHEET
   Warm coastal Italian luxury aesthetic
   ========================================= */

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

:root {
  --gold: #C9A96E;
  --gold-light: #E8D5A3;
  --deep: #1A1208;
  --warm-dark: #2C1F0E;
  --cream: #F9F3E8;
  --cream-dark: #EDE4D0;
  --terracotta: #B05A3A;
  --ocean: #2B5C74;
  --ocean-light: #3A7A9B;
  --text-muted: #7A6A52;
  --white: #FFFFFF;
  --shadow: 0 4px 30px rgba(26,18,8,0.15);
  --shadow-lg: 0 12px 60px rgba(26,18,8,0.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--deep);
  overflow-x: hidden;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
}

/* ---- NAVBAR ---- */
.navbar {
  background: rgba(26, 18, 8, 0.95);
  backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(201,169,110,0.25);
}

.navbar-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--gold) !important;
  text-decoration: none;
}

.navbar-brand span {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  margin-top: -2px;
}

.navbar-nav .nav-link {
  color: rgba(249,243,232,0.8) !important;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--gold) !important;
}

.navbar-toggler {
  border-color: rgba(201,169,110,0.4);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(201,169,110,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-reserve-nav {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.25em;
  padding: 0.4rem 1.2rem !important;
  border-radius: 0;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-reserve-nav:hover {
  background: var(--gold);
  color: var(--deep) !important;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(160deg, #1A1208 0%, #2C1F0E 40%, #1E3040 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-texture {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 70% 50%, rgba(43,92,116,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(176,90,58,0.12) 0%, transparent 50%);
  z-index: 0;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A96E' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.9;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--cream);
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(249,243,232,0.65);
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
  margin-top: 0.75rem;
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem 0;
  opacity: 0.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.hero-badge {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(249,243,232,0.6);
  border: 1px solid rgba(201,169,110,0.3);
  padding: 0.35rem 0.9rem;
  border-radius: 0;
}

.btn-hero-primary {
  background: var(--gold);
  color: var(--deep);
  border: none;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border-radius: 0;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
}

.btn-hero-primary:hover {
  background: var(--gold-light);
  color: var(--deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201,169,110,0.35);
}

.btn-hero-secondary {
  background: transparent;
  color: rgba(249,243,232,0.8);
  border: 1px solid rgba(249,243,232,0.3);
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border-radius: 0;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
}

.btn-hero-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
}

.hero-scroll-hint span {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(249,243,232,0.4);
  margin-bottom: 0.6rem;
}

.scroll-arrow {
  width: 1px;
  height: 45px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ---- SECTION COMMONS ---- */
.section-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1rem;
}

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

.gold-divider {
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin: 1.5rem 0;
}

.gold-divider.centered { margin: 1.5rem auto; }

/* ---- ABOUT ---- */
.about-section {
  background: var(--cream);
  padding: 7rem 0;
}

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

.about-image-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.about-image-border {
  position: absolute;
  top: -15px;
  left: -15px;
  right: 15px;
  bottom: 15px;
  border: 1px solid var(--gold);
  z-index: -1;
  opacity: 0.5;
}

.about-stat-box {
  background: var(--warm-dark);
  color: var(--cream);
  padding: 2rem;
  text-align: center;
  margin-top: 1.5rem;
}

.about-stat-box .stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.about-stat-box .stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(249,243,232,0.55);
  margin-top: 0.3rem;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about-feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.about-feature-list li {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--deep);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(201,169,110,0.2);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-feature-list li i {
  color: var(--gold);
  font-size: 0.9rem;
  width: 20px;
}

/* ---- MENU ---- */
.menu-section {
  background: var(--warm-dark);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.menu-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse at right, rgba(43,92,116,0.12), transparent 70%);
  pointer-events: none;
}

.menu-section .section-title { color: var(--cream); }
.menu-section .section-label { color: var(--gold); }

.menu-tabs .nav-link {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(249,243,232,0.45);
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  padding: 0.6rem 1.4rem;
  border-radius: 0;
  transition: all 0.3s;
  margin-right: 0.25rem;
}

.menu-tabs .nav-link:hover { color: var(--gold-light); }
.menu-tabs .nav-link.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: none;
}

.menu-item {
  border-bottom: 1px solid rgba(201,169,110,0.12);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  transition: background 0.2s;
}

.menu-item:hover { background: rgba(201,169,110,0.04); }

.menu-item-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--cream);
}

.menu-item-desc {
  font-size: 0.78rem;
  color: rgba(249,243,232,0.45);
  margin-top: 0.2rem;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.menu-item-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

.menu-note {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(249,243,232,0.35);
  margin-top: 2rem;
  font-style: italic;
}

/* ---- EVENTS ---- */
.events-section {
  background: var(--cream-dark);
  padding: 7rem 0;
}

.event-card {
  background: var(--white);
  border: 1px solid rgba(201,169,110,0.2);
  padding: 2rem 1.75rem;
  height: 100%;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.35s ease;
}

.event-card:hover::before { height: 100%; }
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201,169,110,0.4);
}

.event-day {
  font-family: 'Jost', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.event-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--deep);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.event-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.event-details {
  list-style: none;
  padding: 0;
  border-top: 1px solid rgba(201,169,110,0.2);
  padding-top: 1rem;
}

.event-details li {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.2rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.event-details li i { color: var(--gold); width: 16px; }

/* ---- GALLERY ---- */
.gallery-section {
  background: var(--deep);
  padding: 7rem 0;
}

.gallery-section .section-title { color: var(--cream); }

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

.gallery-item {
  overflow: hidden;
  position: relative;
  background: var(--warm-dark);
}

.gallery-item.tall { grid-row: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,18,8,0.7), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

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

.gallery-item-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--cream);
  font-style: italic;
}

/* ---- REVIEWS ---- */
.reviews-section {
  background: var(--cream);
  padding: 7rem 0;
}

.review-card {
  background: var(--white);
  border: 1px solid rgba(201,169,110,0.18);
  padding: 2rem;
  height: 100%;
  position: relative;
}

.review-quote-icon {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  color: var(--gold);
  line-height: 0.8;
  opacity: 0.25;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.review-stars {
  color: var(--gold);
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.15em;
}

.review-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--deep);
  margin-bottom: 1.25rem;
}

.reviewer-name {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--deep);
}

.reviewer-source {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ---- LOCATION ---- */
.location-section {
  background: var(--warm-dark);
  padding: 7rem 0;
}

.location-section .section-title { color: var(--cream); }
.location-section .section-label { color: var(--gold); }

.info-block {
  margin-bottom: 2rem;
}

.info-block-label {
  font-size: 0.6rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  display: block;
}

.info-block-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: rgba(249,243,232,0.85);
  line-height: 1.5;
}

.info-block-value a {
  color: rgba(249,243,232,0.85);
  text-decoration: none;
  transition: color 0.2s;
}
.info-block-value a:hover { color: var(--gold); }

.map-frame {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
  filter: grayscale(20%) contrast(1.05);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(201,169,110,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s;
}

.social-link:hover {
  background: var(--gold);
  color: var(--deep);
  border-color: var(--gold);
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--deep);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(201,169,110,0.15);
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 300;
}

.footer-brand span {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.4em;
  color: rgba(249,243,232,0.4);
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  margin-top: 2px;
}

.footer-tagline {
  font-size: 0.78rem;
  color: rgba(249,243,232,0.4);
  margin-top: 0.75rem;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
}

.footer-links {
  list-style: none;
  padding: 0;
}

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

.footer-links a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: rgba(249,243,232,0.45);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

.footer-heading {
  font-size: 0.6rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(201,169,110,0.1);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  font-size: 0.68rem;
  color: rgba(249,243,232,0.28);
  letter-spacing: 0.06em;
  text-align: center;
}

/* ---- FADE IN ANIMATIONS ---- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .gallery-item.tall { grid-row: span 1; }
}

@media (max-width: 767px) {
  .about-image-wrap img { height: 320px; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 160px 160px;
  }
  .hero h1 { font-size: 2.8rem; }
  .map-frame { height: 260px; }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 200px 200px 200px 200px;
  }
  .gallery-item.tall { grid-row: span 1; }
}
