/**
 * ===================================================
 *  Murikkumvayal Sree Mahavishnu Temple Official Website -  Stylesheet files 
 *  ---------------------------------------------------
 *  Author       :👤 @JK 
 *  Version   : 1.2
 *  Last Updated : Jul 18, 2025✅️
 *  Description  : 
 *    This stylesheet provides the full responsive layout and UI design
 *    for the Murikkumvayal Sree Mahavishnu Temple official website.
 * 
 *    Included Sections:
 *      - Global Reset & Typography
 *      - Responsive Container Setup
 *      - Promo Strip & Sticky Header
 *      - Desktop & Mobile Navigation
 *      - Banner Slider & Side Cards
 *      - Welcome Section
 *      - Contact Section
 *      - Footer & Copyright
 * 
 *    Color Theme:
 *      - Primary Blue: #003087
 *      - Divine Gold:  #D3AF37
 *      - Accent Navy:  #0F1C49
 * 
 *  Notes:
 *    - Mobile-first responsive design
 *    - Smooth animations & hover effects
 *    - Structured using utility-first best practices

/* =======GLOBAL RESET & BASE ============ */

/**
 * 1. Reset all margins and padding for consistent cross-browser rendering
 * 2. Use border-box sizing for more intuitive element sizing
 * 3. Set base font and color scheme for the entire document
 */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

body {
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: #333;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ============================================= */
/* =============== LINK STYLES ================ */
/* ============================================= */

/**
 * Link styling with:
 * 1. Brand color scheme
 * 2. Smooth color transition on hover
 * 3. Distinctive active state styling
 */
a {
  color: #003087; 
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #D3AF37;
}

a.active {
  color: #fff;
  font-weight: 600;
  border-bottom: 2px solid #D3AF37;
}

/* Secondary link styling for specific cases */
a {
  text-decoration: none;
  color: inherit;
}
.h2 {
  font-family: 'Playfair Display',
    serif;
  font-size: 2.0rem;
  color: #00344c;
  font-weight: 600;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.h2::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(to right, #c5a357, #8a6d2b);
}

p {
  font-family: 'Tiro Malayalam', serif;
  font-size: 1rem;
    line-height: 1.8;
    color: #2c2c2c;
}
/* ============================================= */
/* ============== LAYOUT CONTAINER ============= */
/* ============================================= */

/**
 * Responsive container with breakpoints:
 * - Mobile-first approach
 * - Max-width constraints at each breakpoint
 * - Padding adjustments for different screen sizes
 */
 .container {
  width: 100%;
  padding: 0 15px;
  margin: 0 auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
    padding: 0 20px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}

/* ============================================= */
/* ============= HEADER COMPONENTS ============= */
/* ============================================= */

/* Sticky header wrapper */
.atmams-sticky-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ============================================= */
/* ============= PROMO BAR STYLES ============== */
/* ============================================= */

/**
 * Promotional banner with:
 * - Brand color scheme
 * - Flexible layout for content
 * - Responsive adjustments
 */
.atmams-promo {
  background: #003087;
  color: #D3AE39;
  font-size: 14px;
  padding: 8px 0;
}

.atmams-promo .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.atmams-promo .left span {
  background: #D3AF37;
  color: #003087;
  font-weight: 700;
  padding: 3px 8px;
  margin-right: 10px;
  border-radius: 3px;
  font-size: 12px;
}

.atmams-promo .right {
  display: flex;
  gap: 15px;
}

.atmams-promo .right a {
  color: #fff;
  font-size: 13px;
  transition: color 0.3s;
}

.atmams-promo .right a:hover {
  color: #D3AF37;
}

/* ============================================= */
/* ============= MAIN HEADER STYLES ============ */
/* ============================================= */

.atmams-header {
  padding: 15px 0;
  background: #0F1C49;
  margin-bottom: 0px;
  border-bottom: 3px solid #D3AF37; 
}

.atmams-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Logo styling */
.atmams-logo img {
  height: 60px;
  width: auto;
  max-width: 100%;
}

/* ============================================= */
/* ========== DESKTOP NAVIGATION MENU ========== */
/* ============================================= */

.atmams-nav-desktop {
  display: flex;
  flex: 1;
  justify-content: center;
}

.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-links a {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 0;
  position: relative;
  transition: color 0.3s;
}

/* Animated underline effect */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #D3AF37;
  transition: width 0.3s;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: #D3AF37;
  font-weight: 600;
}

.nav-links a.active::after {
  width: 100%;
  background: #D3AF37;
}

/* ============================================= */
/* ============ DROPDOWN COMPONENT ============= */
/* ============================================= */

.dropdown-container {
  position: relative;
  margin-left: 15px;
}

@media (min-width: 769px) {
  .dropdown-container {
    position: absolute;
    right: 0;
    margin-left: 0;
  }
}

/* Primary button styling */
.atmams-btn {
  background: #D3AF37;
  color: #0F1C49;
  padding: 8px 20px;
  border: none;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
  white-space: nowrap;
}

.atmams-btn:hover {
  background: #e6b800;
}

/* ============================================= */
/* ============ BRANCH POPUP MODAL ============= */
/* ============================================= */

.branch-popup-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.branch-popup-container.show {
  display: flex;
  animation: fadeIn 0.3s;
}

.branch-popup {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  width: 90%;
  max-width: 400px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.branch-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #0F1C49;
  color: white;
  border-radius: 12px 12px 0 0;
}

.branch-popup-title {
  font-weight: 600;
  font-size: 18px;
}

.branch-popup-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.branch-popup-content {
  padding: 20px;
}

.branch-message {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: #333;
}

.branch-message:last-child {
  border-bottom: none;
}

.branch-message strong {
  color: #0F1C49;
  display: block;
  margin-bottom: 5px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================= */
/* ============= MOBILE NAVIGATION ============= */
/* ============================================= */

/* Mobile menu toggle button */
.atmams-menu-icon {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.atmams-menu-icon img {
  filter: brightness(0) invert(1);
}

/* Mobile navigation drawer */
.atmams-nav-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #0F1C49;
  color: white;
  padding: 80px 20px 40px;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
  gap: 15px; 
  overflow-y: auto;
}

.atmams-nav-mobile.active {
  transform: translateY(0);
}

.atmams-nav-mobile a {
  color: white;
  font-size: 10px;
  font-weight: 500;
  padding: 12px 24px; 
  width: auto; 
  min-width: 200px; 
  max-width: 300px;
  transition: all 0.3s;
  text-align: center;
  border-radius: 4px; 
}

.atmams-nav-mobile a:hover {
  color: #0F1C49;
  background: #D3AF37;
}

.atmams-nav-mobile a.active {
  color: #0F1C49;
  font-weight: 600;
  background: #D3AF37;
}

/* Mobile menu close button */
.atmams-close-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  background: #D3AF37;
  border: 2px solid gold;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
}

.atmams-close-btn:hover {
  background: #0F1C49; /* Changed hover background */
  border-color: #D3AF37; /* Changed hover border color */
  color: #D3AF37; /* Changed icon/text color on hover */
  transform: scale(1.05);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
}
/* ============================================= */
/* ============ RESPONSIVE ADJUSTMENTS ========= */
/* ============================================= */

@media (max-width: 768px) {
  .atmams-nav-desktop {
    display: none;
  }
  
  .atmams-menu-icon {
    display: block;
    order: 3;
  }
  
  .atmams-logo {
    order: 1;
  }
  
  .dropdown-container {
    display: block;
    order: 2;
    position: static;
    margin-left: auto;
    margin-right: 15px;
  }
  
  .atmams-logo img {
    height: 50px;
  }
}

@media (max-width: 576px) {
  .atmams-promo .left {
    font-size: 12px;
  }
  
  .atmams-promo .left span {
    margin-right: 5px;
    padding: 2px 6px;
  }
  
  .atmams-nav-mobile a {
    font-size: 16px;
    padding: 8px 15px;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .atmams-btn {
    padding: 8px 15px;
    font-size: 13px;
  }
}

/* ============================================= */
/* =============== MAIN CONTENT ================ */
/* ============================================= */

.atmams-main {
  padding: 40px 0;
  margin-top: 0px;
  background: #fff;
}

/* ============================================= */
/* ============ CONTENT LAYOUT GRID ============ */
/* ============================================= */

.main-content {
  display: flex;
  gap: 30px;
}

/* ============================================= */
/* ============= IMAGE SLIDER ================== */
/* ============================================= */

.atmams-slider {
  width: 860px;
  height: 420px;
  overflow: hidden;
  position: relative;
}

.atmams-slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.atmams-slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}

/* Slider navigation arrows */
.atmams-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 0%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s;
}

.atmams-arrow:hover {
  background: rgba(255,255,255,0.9);
  color: #00344c;
}

.atmams-arrow.left { left: 0px; }
.atmams-arrow.right { right: 00px; }

/* ============================================= */
/* ============= SIDEBAR CARD ================== */
/* ============================================= */

.atmams-side-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 300px;
}

.side-card {
  height: 420px;
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 0px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.side-card img {
  width: 100%;
  height: 60%;
  object-fit: cover;
}

.side-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.side-card h3 {
  color: #0F1C49;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.side-card p {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ============================================= */
/* ============ RESPONSIVE OPTIMIZATION ======== */
/* ============================================= */

@media (max-width: 1200px) {
  .atmams-slider {
    width: 100%;
    height: 420px;
    min-width: 100%;
  }
  
  .atmams-side-card {
    max-width: 350px;
  }
}

@media (max-width: 992px) {
  .main-content {
    flex-direction: column;
  }
  .atmams-slider {
    width: 100%;
    height: auto;
    aspect-ratio: 860/420; 
  }

  .atmams-side-card {
    display: none;
  }
}

@media (max-width: 768px) {
  .atmams-slider {
    width: 100%;
    height: auto;
    aspect-ratio: 860/420; 
  }
}

@media (max-width: 576px) {
  .atmams-slider {
    width: 100%;
    height: auto;
    aspect-ratio: 860/420; 
  }

  .atmams-arrow {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
}

/* ============================================= */
/* ============= WELCOME SECTION =============== */
/* ============================================= */

.welcome-section {
  padding: clamp(40px, 8vw, 100px) clamp(5%, 10vw, 0%);
  background: linear-gradient(to bottom, #f9f2e0, #fff9ee);
   
  overflow: hidden;
}
.section-header {
  text-align: center;
  margin-bottom: clamp(30px, 5vw, 50px);
}

.section-header h2 {
   font-family: 'Playfair Display',serif;
   font-size: 2.0rem;
   color: #0F1C49;
   font-weight: 600;
   margin-bottom: 0.5rem;
   position: relative;
   display: inline-block;
   }
   .section-header h2::after {
     content: "";
      position: absolute;
      bottom: -5px;
      left: 50%;
      transform: translateX(-50%);
      width: 100px;
      height: 3px;
      background: #D3AF37;
    }
    
   
   
.section-header p {
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  color: #7f8c8d;
  max-width: min(700px, 90%);
  margin: 0 auto;
  font-weight: 400;
}

/* ============================================= */
/* ============ WELCOME CONTENT LAYOUT ========= */
/* ============================================= */

.welcome-content {
  display: flex;
  align-items: center;
  gap: clamp(30px, 4vw, 50px);
  max-width: 1200px;
  margin: 0 auto;
}

.welcome-text {
  flex: 1;
  min-width: 50%;
}

.welcome-text p {
  margin-bottom: clamp(20px, 2vw, 30px);
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  color: #333;
  line-height: 1.8;
  text-align: left;
}

/* ============================================= */
/* ============= CTA BUTTON STYLES ============ */
/* ============================================= */

.welcome-btn {
  display: inline-block;
  padding: 14px 32px;
  background-color: #003087;
  color: #D3AF37;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #003087;
}

.welcome-btn:hover {
  background-color: #D3AF37;
  color: #003087;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 48, 135, 0.3);
}

/* ============================================= */
/* ============ WELCOME IMAGE SECTION ========== */
/* ============================================= */

.welcome-image {
  flex: 1;
  text-align: right;
  position: relative;
  min-width: 45%;
}

.welcome-image img {
  width: 80%;
  height: auto;
  transition: transform 0.5s ease;
}

.welcome-image:hover img {
  transform: scale(1.02);
}

/* ============================================= */
/* ========= MOBILE LAYOUT ADJUSTMENTS ========= */
/* ============================================= */

@media (max-width: 768px) {
  .welcome-content {
    flex-direction: column;
  }
  .section-header h2 {
font-size: 1.8rem;
}
  .welcome-image {
    width: 100%;
    text-align: center;
    order: -1;
    margin-bottom: 20px;
  }
  
  .welcome-btn {
    width: 100%;
    text-align: center;
  }
}

    /* Base Styles */
    .features-container {
        padding: 0 20px;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .features-grid {
        display: grid;
        gap: 30px;
    }
    
    .feature-link {
        text-decoration: none;
        color: inherit;
    }
    
    .feature-card {
        background: white;
        border-radius: 8px;
        padding: 30px;
        text-align: center;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        border-top: 3px solid #D3AF37;
        transition: all 0.3s ease;
    }
    
    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }
    
    .feature-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f8f6f2;
        border-radius: 50%;
    }
    
    .feature-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .feature-card h3 {
        font-family: 'Cormorant Garamond', serif;
        font-size: 24px;
        color: #1a1a1a;
        margin: 0 0 15px;
        position: relative;
    }
    
    .feature-card h3::after {
        content: "";
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 2px;
        background: #fff;
    }
    
    .feature-card p {
        font-family: 'Montserrat', sans-serif;
        color: #555;
        line-height: 1.6;
        margin: 15px 0 0;
        font-size: 16px;
    }
    
    /* 1200px Desktop View (4 columns) */
    @media (min-width: 1200px) {
        .features-grid {
            grid-template-columns: repeat(4, 1fr);
        }
    }
    
    /* 992px - 1199px (Small Desktop) */
    @media (min-width: 992px) and (max-width: 1199px) {
        .features-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        .feature-card {
            padding: 25px;
        }
        .feature-card h3 {
            font-size: 22px;
        }
    }
    
    /* 768px - 991px (Tablet Landscape) */
    @media (min-width: 768px) and (max-width: 991px) {
        .features-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        .feature-icon {
            width: 70px;
            height: 70px;
        }
        .feature-card h3 {
            font-size: 20px;
        }
    }
    
    /* 577px - 767px (Tablet Portrait) */
    @media (min-width: 577px) and (max-width: 767px) {
        .features-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }
        .feature-card {
            padding: 20px;
        }
        .feature-icon {
            width: 60px;
            height: 60px;
        }
        .feature-icon svg {
            width: 30px;
            height: 30px;
        }
    }
    
    /* 0 - 576px (Mobile) */
    @media (max-width: 576px) {
        .features-grid {
            grid-template-columns: 1fr;
            gap: 15px;
            max-width: 400px;
            margin: 0 auto;
        }
        .feature-card {
            padding: 25px 20px;
        }
        .feature-card h3 {
            font-size: 20px;
        }
    }
    
/* ============================================= */
/* ============= CONTACT SECTION =============== */
/* ============================================= */

.contact-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.contact-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact-header h2 {
  font-family: 'Playfair Display',serif;
  font-size: 2.0rem;
  color: #0F1C49;
  font-weight: 600;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.contact-header h2::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: #D3AF37;
}

.contact-header p {
font-size: clamp(1rem, 1.1vw, 1.1rem);
  color: #7f8c8d;
  max-width: min(700px, 90%);
  margin: 0 auto;
  font-weight: 400;
}

.contact-content {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  flex: 1;
}

.contact-map {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-text h3 {
  font-size: 1.3rem;
  color: #0F1C49;
  margin-bottom: 8px;
}

.contact-text p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* ============================================= */
/* ======== CONTACT SECTION RESPONSIVE ========= */
/* ============================================= */

@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
  }
  .contact-header h2 {
    font-size: 1.8rem;
  }
  
  .contact-map {
    height: 300px;
  }
  
  .contact-item {
    margin-bottom: 25px;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 40px 5%;
  }
  
  .contact-header {
    margin-bottom: 30px;
  }
  
  .contact-header h2 {
    font-size: 1.8rem;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
  }
  
  .contact-text h3 {
    font-size: 1.1rem;
  }
  
  .contact-text p {
    font-size: 0.9rem;
  }
}


/*** maya bg ***/

.maya-header {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 300px;
  padding: 40px 5%;
  position: relative;
  background: url('/images/file_0000000049bc6230afbacc956c6c5066 (1).png') center/cover no-repeat;
  color: #00344c;
  overflow: hidden;
  margin-bottom: 60px;
}
.maya-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
 background: rgba(0, 48, 87, 0.85);
}

.maya-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.75);
  z-index: 0;
}

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

.maya-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.0rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.maya-header h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: #D3AF37;
}


.maya-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  color: gold;
}

/* Responsive */
@media (max-width: 768px) {
  .maya-header {
    padding: 30px 10%;
    min-height: auto;
  }
  
  .maya-header h2 {
    font-size: 1.8rem;
  }
  
  .maya-header p {
    font-size: 1rem;
  }
}
        /* ============================================= */
        /* ============= IMAGE GALLERY GRID ============ */
        /* ============================================= */
        .gallery-section {
            padding: 60px 0;
            background: #fff;
        }

        .gallery-header {
            text-align: center;
            margin-bottom: 50px;
        }

        .gallery-header h2 {
            font-family: 'Playfair Display', serif;
            font-size: 2.0rem;
            color: #0F1C49;
            font-weight: 600;
            margin-bottom: 0.5rem;
            position: relative;
            display: inline-block;
        }

        .gallery-header h2::after {
            content: "";
            position: absolute;
            bottom: -5px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 3px;
            background: #D3AF37;
            transition: width 0.3s ease;
        }

        .gallery-header h2:hover::after {
            width: 120px;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
            padding: 0 20px;
        }

        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 0px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            aspect-ratio: 4/3;
            transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
            will-change: transform;
        }

        .gallery-item:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
        }

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

        .gallery-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(15, 28, 73, 0.9), transparent);
            color: #D3AF37;
            padding: 20px;
            transform: translateY(100%);
            transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
            backdrop-filter: blur(2px);
        }

        .gallery-item:hover .gallery-caption {
            transform: translateY(0);
        }

        .gallery-caption h3 {
            font-family: 'Playfair Display', serif;
            font-size: 1.2rem;
            margin-bottom: 8px;
            transform: translateY(20px);
            opacity: 0;
            transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
        }

        .gallery-caption p {
            transform: translateY(20px);
            opacity: 0;
            transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
        }

        .gallery-item:hover .gallery-caption h3,
        .gallery-item:hover .gallery-caption p {
            transform: translateY(0);
            opacity: 1;
        }

        /* Lightbox Styles */
        .lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(15, 28, 73, 0.98);
            z-index: 9999;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease-out;
            backdrop-filter: blur(8px);
        }

        .lightbox.active {
            display: flex;
            opacity: 1;
        }

        .lightbox-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
            animation: lightboxFadeIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
        }

        @keyframes lightboxFadeIn {
            from {
                opacity: 0;
                transform: scale(0.95);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .lightbox img {
            max-width: 100%;
            max-height: 80vh;
            border: 3px solid #D3AF37;
            border-radius: 5px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .lightbox-close {
            position: absolute;
            top: 30px;
            right: 30px;
            color: #D3AF37;
            font-size: 2.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
            background: rgba(0, 0, 0, 0.3);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(211, 175, 55, 0.5);
        }

        .lightbox-close:hover {
            color: #fff;
            background: rgba(211, 175, 55, 0.8);
            transform: rotate(90deg);
        }

        /* Loading animation */
        .lightbox-loading {
            position: absolute;
            width: 40px;
            height: 40px;
            border: 3px solid rgba(211, 175, 55, 0.3);
            border-radius: 50%;
            border-top-color: #D3AF37;
            animation: spin 1s ease-in-out infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Responsive Adjustments */
        @media (max-width: 992px) {
            .gallery-grid {
                grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            }
        }

        @media (max-width: 768px) {
            .gallery-header h2 {
                font-size: 1.8rem;
            }
            
            .gallery-grid {
                gap: 15px;
            }
            
            .lightbox img {
                max-height: 70vh;
            }
        }

        @media (max-width: 576px) {
            .gallery-grid {
                grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
                gap: 10px;
            }
            
            .gallery-caption {
                padding: 10px;
            }
            
            .gallery-caption h3 {
                font-size: 1rem;
            }
            
            .lightbox-close {
                top: 15px;
                right: 15px;
                font-size: 2rem;
                width: 40px;
                height: 40px;
            }
        }
   
     
/* ============================================= */
/* ============== FOOTER STYLES ================ */
/* ============================================= */

.atmams-footer {
text-align: center;
padding: 30px 20px;
margin-top: 50px;
background-color: #0F1C49;
color: #D3AF37;
border-top: 3px solid #D3AF37;
}
.atmams-footer p{
  color: #D3AF37;
  font-size: 0.7em;

}