/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory; /* Forces the "one view" snap */
    overflow-x: hidden; 
  }
  

  
  
  /* 1. The Base Class: How elements look before scrolling to them */
  .reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.95); /* Slide down and slightly smaller */
    filter: blur(5px); /* Optional: Adds a premium "soft" entrance */
    transition: all 1.0s cubic-bezier(0.165, 0.84, 0.44, 1); /* "God-level" smoothness */
    will-change: transform, opacity; /* Optimizes browser performance */
  }
  
  /* 2. The Active Class: Added by JavaScript when the element is scrolled into view */
  .reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  
  /* 3. Optional: Staggered Delay for Grids (like your 8 Gallery images) */
  /* This makes items pop up one-by-one instead of all at once */
  .reveal:nth-child(2) { transition-delay: 0.1s; }
  .reveal:nth-child(3) { transition-delay: 0.2s; }
  .reveal:nth-child(4) { transition-delay: 0.3s; }
  
  body {
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
   
  }
  /* --- Pre-loader Styles --- */
  #loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff; /* Matches your clean theme */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s;
  }
  
  .loader-content {
    text-align: center;
    width: 200px;
  }
  
  .loader-logo {
    width: 100px;
    margin-bottom: 20px;
    animation: pulse 1.5s infinite ease-in-out;
  }
  
  .loader-bar {
    height: 2px;
    width: 100%;
    background: #f3f3f3;
    position: relative;
    overflow: hidden;
  }
  
  .loader-bar::after {
    content: '';
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #EAC452; /* Your gold color */
    animation: loading 1.5s infinite;
  }
  
  @keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
  }
  
  @keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
  }
  
  /* --- Scroll Reveal Styles --- */
  .reveal {
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: all 1s ease;
  }
  
  .reveal.active {
    transform: translateY(0);
    opacity: 1;
  }
  
  /* Hide loader class */
  .loader-hidden {
    opacity: 0;
    visibility: hidden;
  }
  
  
  /* Logo Styling */
  .logo img {
    height: 70px;
    width: auto; 
    display: block;
    transition: transform 0.3s ease;
  }
  
  /* Optional: Slight hover effect like the reference site */
  .logo img:hover {
    transform: scale(1.05);
  }
  
  
  
  /* Mobile Responsive adjustment */
  @media (max-width: 768px) {
    .logo img {
        height: 60px; /* Smaller logo for mobile screens */
    }
  }
  
  /* Navbar */
  header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: auto;
  }
  
  
  /* --- Desktop Settings --- */
  .menu-toggle {
    display: none; 
    cursor: pointer;
    
  }
  
  /* --- Mobile Responsive (Max Width 768px) --- */
  @media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show icon on mobile */
    }
  
    #nav-menu { 
      position: fixed;
      top: 5vh; 
      left: 0;
      height: 90vh; 
      width: 280px; 
      display: flex; /* Keep it flex to allow links to show */
      flex-direction: column;
      padding: 80px 30px;
      z-index: 1001;
  
      /* Glass + Blur */
      background: rgba(255, 255, 255, 0.1); 
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(20px);
      border-radius: 0 20px 20px 0;
      border: 1px solid rgba(255, 255, 255, 0.2);
  
      /* Smooth Pop-out Transition */
      transform: translateX(-100%);
      transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  /* This is what the JS triggers */
  #nav-menu.active {
      transform: translateX(0);
  }
  
  .nav-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.3);
      backdrop-filter: blur(10px);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.5s ease;
      z-index: 1000;
  }
  
  .nav-overlay.active {
      opacity: 1;
      visibility: visible;
  }
  
    .nav-links li {
        margin: 15px 0;
    }
  
   
  }
  
  
  .nav-links {
    display: flex;
    list-style: none;
  }
  
  .nav-links li a {
    text-decoration: none;
    color: rgb(207, 152, 2);
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: 0.3s;
  }
  
  .nav-links li a:hover {
    color: #1dcc89;
  }
  
  
  
  /* Hero Section */
  .hero {
    height: 100vh;
    /* Keeping your original image and dark overlay */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
    url('/images/room1\ \(1\).jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Adds a subtle parallax-like effect on scroll */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
  }
  
  .hero-content {
    max-width: 900px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  /* --- The Rectangle Div (Glassmorphism) --- */
  .hero-text-box {
    background: rgba(255, 255, 255, 0.1); /* Very transparent white */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    margin-top: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  }
  
  .hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
  }
  
  .hero-text-box p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
  }
  
  /* --- Dual Button Styling --- */
  .hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
  }
  
  .btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
  }
  
  /* Primary Button (Gold) */
  .btn-primary {
    background: #d4af37;
    color: #fff;
    border: 2px solid #d4af37;
  }
  
  .btn-primary:hover {
    background: #b8962e;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
  }
  
  /* Secondary Button (Outline) */
  .btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
  }
  
  .btn-secondary:hover {
    background: #fff;
    color: #333;
    transform: translateY(-3px);
  }
  
  /* --- Scroll Down Indicator --- */
  .scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
  }
  
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-10px) translateX(-50%);}
    60% {transform: translateY(-5px) translateX(-50%);}
  }
  
  /* Responsive Fixes */
  @media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .hero-text-box { padding: 25px; width: 95%; }
    .hero-btns { flex-direction: column; width: 100%; }
    .btn { width: 100%; }
  }
  

/* ===== ABOUT HERO SUB SECTION ===== */
.about-hero-sub {
  width: 100%;
  padding: 70px 20px;
  background: linear-gradient(135deg, #faf8f5, #ffffff);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-hero-sub .header-container {
  max-width: 750px;
  margin: 0 auto;
  padding: 0 10px;
}

/* Tag */
.about-hero-sub .cta-tag {
  display: inline-block;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #b88a44;
  background: rgba(184, 138, 68, 0.08);
  border: 1px solid rgba(184, 138, 68, 0.25);
  border-radius: 30px;
  margin-bottom: 18px;
}

/* Title */
.about-hero-sub .section-title {
  font-size: 2.6rem;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
}

/* Subtitle */
.about-hero-sub .section-subtitle {
  font-size: 1.08rem;
  color: #666;
  line-height: 1.8;
  max-width: 620px;
  margin: auto;
}

/* ===== Tablet ===== */
@media (max-width: 992px) {
  .about-hero-sub {
      padding: 60px 18px;
  }

  .about-hero-sub .section-title {
      font-size: 2.2rem;
  }

  .about-hero-sub .section-subtitle {
      font-size: 1rem;
  }
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .about-hero-sub {
      padding: 50px 15px;
  }

  .about-hero-sub .cta-tag {
      font-size: 12px;
      padding: 7px 16px;
  }

  .about-hero-sub .section-title {
      font-size: 1.8rem;
      line-height: 1.3;
  }

  .about-hero-sub .section-subtitle {
      font-size: 0.95rem;
      line-height: 1.7;
      padding: 0 8px;
  }
}

/* ===== Small Phones ===== */
@media (max-width: 480px) {
  .about-hero-sub {
      padding: 45px 12px;
  }

  .about-hero-sub .section-title {
      font-size: 1.55rem;
  }

  .about-hero-sub .section-subtitle {
      font-size: 0.9rem;
  }
}  


  /* --- Section Titles --- */
  .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
  }
  
  .section-subtitle {
    text-align: center;
    color: #d4af37; /* Gold */
    margin-bottom: 50px;
    font-style: italic;
  }





  /* --- Gallery Filter Styles --- */
.gallery-filters {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid #eee;
    background: transparent;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #555;
}

.filter-btn.active, .filter-btn:hover {
    background: #d4af37; /* MMBR Gold */
    border-color: #d4af37;
    color: #fff;
}

/* --- Masonry-style Grid --- */
.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    columns: 3 300px; /* Modern Masonry Layout */
    column-gap: 20px;
    padding: 0 20px 80px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    background: #eee;
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Hover Overlay Effect */
.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(29, 204, 137, 0.9), transparent); /* Mint Green Gradient */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: all 0.4s ease;
}

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

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

.item-overlay span {
    color: #fff;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
}

.item-overlay h4 {
    color: #fff;
    font-size: 1.4rem;
    margin-top: 5px;
}

/* Responsive Grid */
@media (max-width: 768px) {
    .gallery-container {
        columns: 1;
    }
}


/* --- Grand Footer Styling --- */
.main-footer {
    background-color: #111; /* Deep charcoal */
    color: #fff;
    padding: 80px 0 0 0;
    font-family: 'Poppins', sans-serif;
  }
  
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* Giving the brand column more room */
    gap: 40px;
  }
  
  /* Footer Columns */
  .footer-col h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
  }
  
  .footer-col h3 span {
    color: #d4af37; /* MMBR Gold */
  }
  
  .footer-col h4 {
    color: #d4af37;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
    position: relative;
  }
  
  .footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: #d4af37;
  }
  
  /* Lists and Links */
  .footer-about {
    line-height: 1.8;
    color: #999;
    margin-bottom: 25px;
  }
  
  .contact-links, .footer-nav {
    list-style: none;
    padding: 0;
  }
  
  .contact-links li, .footer-nav li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #999;
    transition: 0.3s;
  }
  
  .footer-nav a {
    text-decoration: none;
    color: #999;
    transition: 0.3s;
  }
  
  .footer-nav a:hover, .contact-links li:hover {
    color: #1dcc89; 
    transform: translateX(5px);
  }
  
  /* Social Icons */
  .footer-socials {
    display: flex;
    gap: 15px;
  }
  
  .footer-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: 0.4s;
  }
  
  .footer-socials a:hover {
    background: #d4af37;
    transform: translateY(-5px);
  }
  
  /* Bottom Copyright Bar */
  .footer-bottom {
    background: #07965f;
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
  }
  
  .footer-bottom p {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
  }
  
  /* --- Responsive Adjustments --- */
  @media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
  }
  
  @media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
  
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
  
    .contact-links li {
        justify-content: center;
    }
  
    .footer-socials {
        justify-content: center;
    }
    
    .main-footer {
        padding-top: 50px;
    }
  }






    /* --- Back to Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #d4af37; /* MMBR Gold */
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  opacity: 0; /* Hidden by default */
  visibility: hidden;
  transition: all 0.4s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  bottom: 40px; /* Slight bounce up when appearing */
}

.back-to-top:hover {
  background-color: #1a1a1a; /* Turns black on hover */
  transform: translateY(-5px);
}

/* Adjust for mobile so it doesn't block content */
@media (max-width: 768px) {
  .back-to-top {
      bottom: 20px;
      right: 20px;
      width: 45px;
      height: 45px;
  }
}