/* ==========================================================================
   HOMEPAGE SPECIFIC STYLES (/assets/css/home-page.css)
   VERSION 8.0 - Final Consolidated Version
   ========================================================================== */

/* === GENERIC SECTION STYLING === */
.content-section {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}
.content-section:last-of-type {
    border-bottom: none;
}
main h2 {
    font-size: clamp(1.8rem, 5vw, 2.2rem);
    margin-bottom: 5px;
}
.section-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 5px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
}

/* === HERO SECTION === */

.hero-section-home{position:relative;width:100%;height:40vh;min-height:400px;max-height:90vh;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden;border-radius:12px;margin-bottom:20px;color:#fff;padding:0;}
.hero-bg-image-wrapper{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;z-index:0;}
.hero-bg-img{width:100%;height:100%;object-fit:cover;object-position:center;}
.hero-bg-image-wrapper::after{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(to top,rgba(0,0,0,0.6) 0%,rgba(0,0,0,0) 100%);}
.hero-content-home{position:relative;z-index:1;padding:20px;max-width:800px;}
.hero-content-home h1{font-size:clamp(1.8rem,4vw,3rem);margin-bottom:10px;text-shadow:2px 2px 2px rgba(0,0,0,0.8);}
.hero-subtitle{font-size:1rem; line-height: 1.2; margin-bottom:15px;text-shadow:1px 1px 4px rgba(0,0,0,0.6);max-width:700px;margin-left:auto;margin-right:auto;}
.hero-cta-group{display:flex;gap:15px;justify-content:center;flex-wrap:wrap;}
.cta-button{background:var(--primary-color);color:#fff;padding:5px 15px;border-radius:25px;font-weight:bold;transition:background 0.3s ease;border:2px solid var(--primary-color);}
.cta-button.secondary{background:rgba(255,255,255,0.2);border:1px solid #fff;}
.cta-button:hover{background:#e65100;transform:translateY(-3px);}




/* === INFO BANNER & COUNTDOWN TIMER (Redesigned) === */
.info-banner-section { background-color: rgba(0, 0, 0, 0.7); color: var(--white-color); padding: 15px 10px; max-width: 400px; text-align: center; border-radius: 30px; margin: 20px auto; }
.info-banner-section h2 { color: var(--primary-color); font-size: 1.6rem; margin: 0; font-family: var(--font-family-body); font-weight: normal; opacity: 1; }
.info-banner-section .festival-dates { font-size: 1.3rem; font-weight: bold; display: block; margin-top: 5px; }
/* === COUNTDOWN TIMER  === */
#countdown-timer-container { border-top: 1px solid rgba(255, 255, 255, 0.2); margin-top: 5px; padding-top: 5px; min-height: 110px; }
.timer-title { font-size: 1.3rem; opacity: 0.9; margin-bottom: 5px; }
.timer-grid { display: flex; justify-content: center; gap: 5px; }
.timer-box { display: flex; flex-direction: column; align-items: center; min-width: 60px; }
.timer-value { font-family: var(--font-family-display); font-size: 2rem; font-weight: 700; color: var(--primary-color); line-height: 1; }
.timer-label { font-size: 0.8rem; text-transform: uppercase; opacity: 0.8; margin-top: 5px; }
.timer-end-message { font-size: 1.4rem; font-weight: bold; line-height: 1.2; }




/* === SEO INTRO TEXT SECTION === */
.seo-intro-text-section { max-width: 1000px; margin: 30px auto; text-align: left; padding: 0 15px; }
.seo-intro-text-section p { font-size: 1rem; color: #555; line-height: 1.2; }
.seo-intro-text-section p + p { margin-top: 10px; }


/* === KEY FACTS CAROUSEL SECTION (Spacing Corrected) === */
.key-facts-section { background-color: var(--card-background); position: relative; padding: 10px 5px; margin-bottom: 15px; border-radius: 40px; border: 2px solid #272727; }
.key-facts-carousel { max-width: 1000px; margin: 0 auto; overflow: hidden; position: relative; }
.key-fact-card { background-color: #e6faf2; border-radius: 50px; padding: 20px 10px; height: 100%; display: flex; flex-direction: column; justify-content: flex-start; text-align: center; }
.key-fact-card h2, .key-fact-card h3 { font-size: 1.3rem; margin-bottom: 5px; color: var(--accent-color); }
.key-fact-card p { font-size: 1rem; line-height: 1.4; color: var(--text-color); }
/* --- Pagination Styling --- */
.key-facts-carousel .swiper-pagination { position: static; padding-top: 15px; }
.key-facts-carousel .swiper-pagination-bullet { width: 8px; height: 8px; background-color: #d0d0d0; opacity: 1; }
.key-facts-carousel .swiper-pagination-bullet-active { background: var(--primary-color); }

/* === UNIFIED CAROUSEL SECTIONS === */
.popular-stays-section,
.dynamic-category-section {
    background-color: #fdf5e8;
    border-radius: 25px;
    padding: 10px 5px; /* CONSISTENT 20px HORIZONTAL PADDING */
    margin: 5px 0;
    border: 1px solid #f5e9d3;
    text-align: center;
}

.popular-stays-carousel,
.dynamic-category-section .swiper-container {
    height: 330px; 
    padding-top: 10px;  
    padding-bottom: 10px; 
    overflow: hidden; 
    position: relative; 
    max-width: 950px; 
    margin: 0 auto;
}

.popular-stays-carousel .swiper-button-next, 
.popular-stays-carousel .swiper-button-prev,
.dynamic-category-section .swiper-button-next, 
.dynamic-category-section .swiper-button-prev {
    top: 40%;
}

.popular-stays-section .swiper-pagination,
.dynamic-category-section .swiper-pagination {
    display: none;
}

/* === VISUAL NAVIGATION SECTION === */
.visual-nav-section { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; padding: 10px 0; }
.visual-nav-card { position: relative; height: 230px; border-radius: 18px; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; text-decoration: none; transition: transform 0.3s ease; }
.visual-nav-card:hover { transform: translateY(-5px); }
.visual-nav-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform 0.3s ease; }
.visual-nav-card:hover .visual-nav-img { transform: scale(1.15); }
.visual-nav-overlay { position: relative; z-index: 2; width: 100%; padding: 5px; text-align: center; background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.0) 100%); }
.visual-nav-overlay h2 { font-family: 'Charm', cursive; font-weight: 700; font-size: 2rem; text-shadow: none; background: linear-gradient(90deg, #fafa33, #fafa33); -webkit-background-clip: text; background-clip: text; color: transparent; }


/* === PACKAGES AT A GLANCE TABLE === */
.packages-glance-section { 
    background-color: #f7f3f0; 
    padding: 5px 5px; /* CONSISTENT 20px HORIZONTAL PADDING */
    border-radius: 42px; border: 2px solid #232424    
}
.packages-table-container { overflow-x: auto; max-width: 950px; margin: 10px auto 0 auto; border: 2px solid #d1dff3; border-radius: 8px; background-color: #fff; }
#packages-table { width: 100%; border-collapse: collapse; text-align: left; }
#packages-table th, #packages-table td { padding: 5px 5px; border-bottom: 2px solid #eee; }
#packages-table tr:last-child td { border-bottom: none; }
#packages-table th { background-color: #b9dfff; font-size: 0.85rem; text-transform: uppercase; color: var(--text-color); }
#packages-table td { font-size: 0.95rem; vertical-align: middle; }
#packages-table .price-cell { font-weight: bold; font-size: 1.1rem; color: var(--primary-color); white-space: nowrap; }
#packages-table .inclusions-list { list-style: none; padding: 0; margin: 0; }
#packages-table .inclusions-list li { position: relative; padding-left: 20px; margin-bottom: 3px; font-size: 0.9rem; }
#packages-table .inclusions-list li:last-child { margin-bottom: 0; }
#packages-table .inclusions-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: #4CAF50; position: absolute; left: 0; top: 2px; }
@media (max-width: 768px) {
    #packages-table thead { display: none; }
    #packages-table, #packages-table tbody, #packages-table tr, #packages-table td { display: block; width: 100%; }
    #packages-table tr { margin-bottom: 15px; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; }
    #packages-table td { text-align: right; padding-left: 50%; position: relative; border-bottom: 1px solid #f5f5f5; padding-top: 12px; padding-bottom: 12px; }
    #packages-table td:last-child { border-bottom: none; }
    #packages-table td::before { content: attr(data-label); position: absolute; left: 12px; width: calc(50% - 24px); text-align: left; font-weight: bold; color: var(--text-color); font-size: 0.85rem; }
    #packages-table .inclusions-list { text-align: right; }
}

/* === COLLECTIONS CAROUSEL === */
.collections-section { background-color: #eef5ff; border-color: #dbeafe; } /* New background and border color */
.collections-section h2 { color: var(--accent-color); font-size: 1.5rem; line-height: 1.2;} /* New heading color */
.collections-section p { font-size: 1rem; line-height: 1.3; color: var(--text-color); }
.collection-card { display: flex; flex-direction: column; text-decoration: none; border-radius: 12px; background-color: var(--card-background); overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.07); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.collection-card:hover { transform: translateY(-8px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.collection-card-image { height: 180px; background-size: cover; background-position: center; }
.collection-card-content { padding: 15px; text-align: left; flex-grow: 1; display: flex; flex-direction: column; }
.collection-card-content h3 { color: var(--text-color); font-size: 1.2rem; margin-bottom: 8px; line-height: 1.3; }
.collection-card-content p { color: #555; font-size: 0.9rem; line-height: 1.3; flex-grow: 1; margin-bottom: 10px; }
.collection-card-cta { display: inline-block; text-align: center; background-color: var(--primary-color); color: var(--white-color); padding: 8px 15px; border-radius: 20px; font-size: 0.9rem; font-weight: bold; margin-top: auto; transition: background-color 0.2s; }
.collection-card:hover .collection-card-cta { background-color: #e65100; text-decoration: none; }

/* === E-E-A-T SECTIONS & TRAVEL === */
.why-trust-us-section { background-color: var(--card-background); padding: 40px 20px; border-radius: 12px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 30px; text-align: left; }
.feature-item { display: flex; align-items: flex-start; gap: 15px; }
.feature-item i { font-size: 1.8rem; color: var(--accent-color); margin-top: 5px; background-color: rgba(59, 130, 246, 0.1); border-radius: 50%; width: 50px; height: 50px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-item h3 { font-size: 1.2rem; margin-bottom: 5px; color: var(--text-color); }
.feature-item p { font-size: 0.95rem; line-height: 1.6; color: #555; }
.travel-logistics-section { background-color: var(--card-background); padding: 40px 20px; border-radius: 12px; }
.travel-logistics-section h2, .travel-logistics-section h4 { text-align: center; }
.travel-options-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 30px; max-width: 1000px; margin-left: auto; margin-right: auto; }
.travel-option { padding: 20px; border: 1px solid #eee; border-radius: 8px; }
.travel-option h4 { font-size: 1.3rem; margin-bottom: 10px; }

/* === Quick Answers  === */
.quick-answers-section { background-color: var(--card-background); padding: 30px 20px; border-radius: 12px; border: 1px solid #eee; }
.quick-answers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; text-align: left; }
.quick-answer-item h3 { color: var(--text-color); font-size: 1.3rem; margin-bottom: 10px; }
.quick-answer-item p { font-size: 0.95rem; line-height: 1.6; color: #555; }

/* === FAQ SECTION === */
.faq-section-home { max-width: 800px; margin-left: auto; margin-right: auto; }
.faq-item { border-bottom: 1px solid #eee; }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 15px 5px; cursor: pointer; background: transparent; transition: background-color 0.2s ease; text-align: left;}
.faq-question:hover { background-color: #f9f9f9; }
.faq-question h3 { font-size: 1.1em; color: var(--text-color); font-family: var(--font-family-body); font-weight: bold; margin: 0; }
.faq-question i { color: var(--primary-color); transition: transform 0.3s ease; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer { padding: 0 15px; line-height: 1.6; font-size: 0.95em; max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out, padding 0.4s ease-out; text-align: left; }
.faq-item.active .faq-answer { max-height: 300px; padding: 0 15px 15px 15px; }



/* === GUEST REVIEWS & RATINGS SECTION === */
.reviews-section-home { background-color: #eff5fd; padding: 20px 10px 10px; border-radius: 40px; }
.aggregate-rating-box { display: flex; align-items: center; justify-content: center; gap: 5px; background-color: var(--card-background); padding: 5px 15px; border-radius: 40px; margin: 0 auto 10px auto; max-width: 400px; border: 1px solid #eee; }
.aggregate-rating-box .rating-value { font-size: 2.5rem; font-weight: bold; color: var(--primary-color); line-height: 1; }
.rating-stars-and-count { text-align: left; }
.rating-stars-and-count .rating-stars { font-size: 1.1rem; color: #ffc107; }
.rating-stars-and-count p { font-size: 0.8rem; color: #777; margin: 0; }
.home-review-card { background-color: #fff; border-radius: 8px; padding: 10px 15px; height: 100%; display: flex; flex-direction: column; justify-content: center; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.05); min-height: 110px; }
.home-review-card .review-body { font-style: italic; color: #555; margin-bottom: 8px; flex-grow: 1; font-size: 0.95rem; }
.home-review-card .review-author { font-weight: bold; font-size: 0.9em; color: var(--text-color); }
.reviews-carousel { max-width: 950px; margin: 0 auto; overflow: hidden; position: relative; padding-bottom: 0; }
.reviews-carousel .swiper-pagination { position: static; padding-top: 10px; }
.reviews-carousel .swiper-pagination-bullet { width: 8px; height: 8px; background-color: #d0d0d0; opacity: 1; }
.reviews-carousel .swiper-pagination-bullet-active { background: var(--primary-color); }

/* === EXPLORE PILLS SECTION === */
.explore-pills-section { background-color: var(--card-background); padding: 30px 20px; border-radius: 12px; border: 1px solid #eee; }
.pills-subsection { margin-top: 25px; }
.pills-subsection:first-child { margin-top: 10px; }
.pills-subsection h4 { font-family: var(--font-family-body); font-size: 1.3rem; color: var(--text-color); margin-bottom: 15px; display: inline-flex; align-items: center; gap: 8px; }
.pills-subsection h4 i { color: var(--accent-color); }
.pills-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pill-link { display: inline-block; background-color: #eef5ff; color: var(--accent-color); border: 1px solid #dbeafe; border-radius: 20px; padding: 8px 15px; font-size: 0.9rem; font-weight: bold; text-decoration: none; transition: all 0.2s ease; }
.pill-link:hover { background-color: var(--accent-color); color: var(--white-color); transform: translateY(-2px); text-decoration: none; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }