/* =========================================
   GLOBAL RESET & BASE
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: #ffffff;
  color: #2e2e2e;
  line-height: 1.7;
  font-size: 16px;
}

/* Luxury gold variable */
:root {
  --gold: #d4af37;
  --gold-dark: #b08a26;
  --black: #1a1a1a;
  --white: #ffffff;
  --soft-bg: #faf7f1;
  --transition: 0.35s ease;
}

/* Smooth fade reveal */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards ease-out;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Container */
.container {
  width: 90%;
  margin: auto;
  max-width: 1300px;
}

/* Buttons */
.btn,
.btn-primary,
.btn-outline,
.btn-large,
.btn-cta {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary,
.btn-cta,
.btn-large {
  background: var(--gold);
  color: #000;
  border: none;
}
.btn-primary:hover,
.btn-cta:hover,
.btn-large:hover {
  background: var(--gold-dark);
}

.btn-outline {
  border: 2px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: #000;
}

/* Section layout */
.section {
  padding: 80px 0;
  animation: fadeInUp 0.9s ease;
}

.section h2 {
  text-align: center;
  font-size: 38px;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 1px;
}

.section p.muted {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
}

/* =========================================
   HEADER
========================================= */
.header {
  background: #ffffffee;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #e5e2dd;
  position: sticky;
  top: 0;
  z-index: 999;
  transition: var(--transition);
}

.header .brand img {
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.15));
  display: block;
  height: 60px;
  max-width: 200px;
}

.header.sticky {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Fix: UL inside navbar defaults to hidden */
#navbar {
  display: none;
}

.nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  align-items: center;
}

.nav a {
  font-weight: 500;
  color: #333;
  transition: var(--transition);
  text-decoration: none;
}
.nav a:hover {
  color: var(--gold);
}

.nav a.active {
  color: var(--gold);
}

/* Mobile menu button */
.hamburger {
  display: none;
  background: none;
  font-size: 26px;
  border: none;
  cursor: pointer;
}

/* X animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =========================================
   HERO
========================================= */
.hero {
  padding: 160px 0 140px;
  background-size: cover !important;
  background-position: center !important;
  position: relative;
}
.hero h1 {
  font-size: 52px;
  color: var(--black);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}
.hero p.lead {
  max-width: 600px;
  font-size: 20px;
  color: #333;
  margin: 20px 0 35px;
}

/* =========================================
   SERVICES CARDS
========================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.card {
  padding: 28px;
  border-radius: 12px;
  background: var(--soft-bg);
  border-left: 4px solid var(--gold);
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.card:hover {
  transform: translateY(-8px);
  background: #fffdf8;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.card h3 {
  margin-bottom: 12px;
  font-size: 22px;
  color: var(--black);
}

/* =========================================
   GALLERY GRID
========================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 800px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-thumb {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 10px;
  border: 2px solid rgba(212, 175, 55, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
}

.gallery-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.4s ease;
  display: block;
}

.gallery-thumb:hover img {
  transform: scale(1.06);
}
.gallery-thumb:hover {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

/* =========================================
   RESPONSIVE NAVIGATION FIX
========================================= */
@media (max-width: 900px) {
  .nav ul {
    display: none;
    flex-direction: column;
    background: #ffffff;
    padding: 20px;
    position: absolute;
    right: 0;
    top: 80px;
    width: 70%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    z-index: 999;
  }

  .hamburger {
    display: block;
  }
}

/* When navbar is opened */
#navbar.open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 80px;
  right: 0;
  width: 70%;
  background: #ffffff;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  z-index: 999;
}

/* Ensure UL is visible inside open menu */
#navbar.open ul {
  display: flex !important;
  flex-direction: column;
  gap: 20px;
}

/* =========================================
   TESTIMONIALS
========================================= */
.testimonials blockquote {
  padding: 30px;
  border-left: 5px solid var(--gold);
  background: #fffdf4;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  font-style: italic;
}

/* =========================================
   BLOG PREVIEW
========================================= */
.blog-card {
  background: var(--soft-bg);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}
.blog-card:hover {
  transform: translateY(-8px);
  background: #fff;
}
.blog-card img {
  width: 100%;
  border-radius: 10px;
}

/* =========================================
   CTA STRIP
========================================= */
.cta-strip {
  background: var(--gold);
  color: #000;
  padding: 40px 0;
  text-align: center;
}

/* =========================================
   FOOTER
========================================= */
.site-footer {
  background: #000;
  color: #ddd;
  padding: 60px 0 20px;
}

.site-footer h4 {
  color: var(--gold);
  margin-bottom: 16px;
}

.site-footer a {
  color: #ccc;
  transition: var(--transition);
}
.site-footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  margin-top: 20px;
  border-top: 1px solid #333;
  padding-top: 15px;
  text-align: center;
  color: #777;
}

/* =========================================
   WHATSAPP FLOAT
========================================= */
.wa-float {
  position: fixed;
  right: 25px;
  bottom: 25px;
  background: var(--gold);
  padding: 14px 18px;
  border-radius: 50px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}
.wa-float:hover {
  background: var(--gold-dark);
}

/* =========================================
   LUXURY SERVICE CARDS
========================================= */
.service-card {
  background: #fff;
  border-radius: 14px;
  padding: 26px;
  border: 1px solid rgba(248, 213, 104, 0.22);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: all 0.35s ease, transform 0.35s ease;
  position: relative;
  overflow: hidden;
}

.service-card img {
    width: 100%;
    height: 350px;      /* fixed height for uniform cards */
    object-fit: cover;  /* crop to fit without distortion */
    border-radius: 12px;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(248, 213, 104, 0.22), rgba(255, 204, 51, 0.18));
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card * {
  position: relative;
  z-index: 2;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 16px 50px rgba(248, 213, 104, 0.35);
  border-color: rgba(248, 213, 104, 0.55);
}

/* =========================================
   BLOG POPUP
========================================= */
.blog-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  animation: fadeIn 0.35s ease;
}

.blog-popup {
  width: 90%;
  max-width: 760px;
  background: #0f0f0f;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(248, 213, 104, 0.35);
  transform: translateY(40px);
  opacity: 0;
  animation: popupRise 0.45s ease forwards;
}

.blog-popup img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.blog-popup-content {
  padding: 25px 28px 32px;
}

.blog-popup-content h2 {
  color: var(--gold);
  margin-bottom: 12px;
  font-family: "Playfair Display", serif;
}

.blog-popup-content p {
  color: #ddd;
  line-height: 1.65;
}

/* =========================================
   ANIMATIONS
========================================= */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes popupRise {
  0% {
    transform: translateY(60px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   BLOG LIST PAGE
========================================= */
.blog-list-wrapper {
  padding: 60px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.blog-item-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(248, 213, 104, 0.22);
  transition: all 0.35s ease;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.blog-item-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(248, 213, 104, 0.25);
  border-color: rgba(248, 213, 104, 0.65);
}

.blog-item-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.blog-item-card:hover img {
  transform: scale(1.06);
}

.blog-item-content {
  padding: 20px;
}

.blog-item-content h3 {
  font-family: "Playfair Display", serif;
  margin-bottom: 10px;
  font-size: 20px;
  color: #111;
}

.blog-item-content p {
  color: #555;
  line-height: 1.55;
  font-size: 15px;
}

.blog-item-content a {
  margin-top: 12px;
  display: inline-block;
  color: var(--gold-dark);
  font-weight: 600;
}

.blog-item-content a:hover {
  color: var(--gold);
}

/* =========================================
   GOLD HOVER EFFECT
========================================= */
.gold-hover {
  position: relative;
  overflow: hidden;
}

.gold-hover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(248, 213, 104, 0.18), transparent);
  transform: translateX(-100%);
  transition: 0.55s ease;
}

.gold-hover:hover::after {
  transform: translateX(100%);
}

/* =========================================
   RESPONSIVE FIXES
========================================= */
@media (max-width: 768px) {
  .blog-popup img {
    height: 220px;
  }
  .blog-popup-content {
    padding: 20px;
  }
}

@media (max-width: 640px) {
  .blog-popup-content p {
    font-size: 14px;
    color: #eee;
  }
  .blog-item-content h3 {
    font-size: 18px;
  }
}

/* =========================================
   PRINT CLEANUP
========================================= */
@media print {
  .hero,
  .header,
  .site-footer,
  .wa-float,
  .gallery-popup,
  .blog-popup-overlay {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff;
  }
}

/* ============================
   MOBILE MENU FIX (GLOBAL)
============================ */

.hamburger {
  display: none;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2000;
}

@media (max-width: 768px) {

  .nav {
    position: relative;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 65px;
    right: 0;
    background: #fff;
    width: 250px;
    flex-direction: column;
    padding: 15px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 0 0 8px 8px;
    z-index: 1500;
  }

  .nav-list.show {
    display: block !important;
  }

  .nav-list li {
    margin: 12px 0;
  }

  .nav-list a {
    color: #333 !important;
    font-size: 18px;
  }

  .hamburger {
    display: block;
  }
}

.blog-header {
  padding: 60px 0 40px;
  text-align: center;
}

.blog-title-center {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  color: #333;
  margin: 0 auto;
  width: 100%;
}
  
@media (max-width: 768px) {
  .blog-title-center {
    font-size: 26px;
  }
}

/* --- Make homepage blog preview & blog page images same size --- */
.blog-preview-img,
.blog-grid-img {
    width: 100%;
    height: 260px;      /* adjust height as needed */
    object-fit: cover;
    border-radius: 10px;
}

/* ============================================
   MENU PAGE — PREMIUM OCCASION GRID CARDS
   ============================================ */

.menu-hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(90deg, #f8d568, #ffd700);
  color: #333;
}

.menu-hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.menu-hero p {
  font-size: 18px;
  opacity: 0.8;
}

/* Occasion Section Title */
.menu-section {
  padding: 60px 0;
}

.menu-section h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 35px;
  color: #d4a017;
}

/* Premium Card Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

/* Occasion Card */
.menu-card {
  background: #fff;
  border-radius: 18px;
  padding: 25px;
  border: 1px solid #f0e3b2;
  box-shadow: 0 4px 14px rgba(0,0,0,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

/* Occasion Title */
.menu-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: #c29400;
}

/* Dish List */
.menu-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-card ul li {
  padding: 6px 0;
  border-bottom: 1px solid #eee;
  font-size: 16px;
  color: #444;
}

.menu-card ul li:last-child {
  border-bottom: none;
}

/* Price Note */
.menu-price {
  margin-top: 15px;
  font-size: 15px;
  font-weight: 600;
  color: #999;
  text-align: right;
}

/* Responsive Fixes */
@media (max-width: 600px) {
  .menu-hero h1 {
    font-size: 32px;
  }
  .menu-section h2 {
    font-size: 26px;
  }
  .menu-card {
    padding: 20px;
  }
}

/* Blog page spacing fix */
body.blog-page .blog-header {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body.blog-page .blog-header .blog-title-center {
    margin-bottom: 5px !important; /* or 0px for very tight spacing */
    padding-bottom: 0 !important;
}

body.blog-page .blog-article p:first-of-type {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Blog H2 & H3 Spacing */
.blog-article h2 {
    margin-top: 25px;    /* space above H2 */
    margin-bottom: 15px; /* space below H2 */
}

.blog-article h3 {
    margin-top: 20px;    /* space above H3 */
    margin-bottom: 12px; /* space below H3 */
}
