/* =============================================
   AVASA - HOMEPAGE SECTIONS FIX
   Slider ke neeche ke saare sections ka layout
   ============================================= */

/* ---- GLOBAL SECTION SPACING ---- */
.section {
    padding: 90px 0;
}

.section-header {
    margin-bottom: 55px;
}

.section-title {
    font-size: 2.2rem;
    letter-spacing: 0.05em;
}

.section-subtitle {
    font-size: 0.78rem;
    letter-spacing: 0.35em;
}

/* ---- ROOMS SECTION ---- */
.rooms-section {
    background: linear-gradient(160deg, #f9f7f3 0%, #f0ede6 100%);
    padding: 100px 0;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.room-card {
    border-radius: 14px;
    box-shadow: 0 6px 30px rgba(0,0,0,0.09);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 50px rgba(0,0,0,0.14);
}

.room-image {
    aspect-ratio: 16/10;
}

.room-content {
    padding: 22px 24px 20px;
}

.room-title {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.room-footer {
    margin-top: 16px;
    padding-top: 14px;
}

/* ---- ABOUT SECTION ---- */
.about-section {
    background: #fff;
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.18);
    display: block;
}

.about-image-accent {
    width: 160px;
    height: 160px;
    bottom: -25px;
    right: -25px;
    opacity: 0.85;
}

.about-content {
    padding-left: 10px;
}

.about-content .section-title {
    font-size: 2rem;
    text-align: left;
}

.about-content .section-subtitle {
    text-align: left;
}

.about-feature {
    margin-bottom: 18px;
}

.about-feature-icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.05));
    border: 1px solid rgba(212,175,55,0.3);
}

.about-feature-text h4 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.about-feature-text p {
    font-size: 0.88rem;
    margin-bottom: 0;
    color: #757575;
}

.about-stats {
    padding-top: 24px;
    margin-top: 24px;
    gap: 16px;
}

.about-stat-number {
    font-size: 2.2rem;
}

/* ---- GALLERY SECTION ---- */
.gallery-section {
    background: #fff;
    padding: 100px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 12px;
    border-radius: 12px;
    overflow: hidden;
}

.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:nth-child(4) {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item {
    border-radius: 0;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: unset;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
}

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

.gallery-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 65%);
}

/* ---- DISCOVER MANALI SECTION ---- */
.discover-manali-section {
    background: linear-gradient(160deg, #f9f7f0 0%, #f2ede3 100%) !important;
    padding: 100px 0 !important;
}

.discover-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 28px !important;
    margin-top: 0 !important;
}

.discover-card {
    border-radius: 14px !important;
    box-shadow: 0 8px 35px rgba(0,0,0,0.09) !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease !important;
    overflow: hidden !important;
}

.discover-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 22px 55px rgba(0,0,0,0.14) !important;
}

.discover-card-image {
    height: 260px !important;
    overflow: hidden !important;
}

.discover-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s ease !important;
}

.discover-card:hover .discover-card-image img {
    transform: scale(1.08) !important;
}

.discover-card-content {
    padding: 28px !important;
}

.discover-card-content h3 {
    font-size: 1.4rem !important;
    padding-bottom: 14px !important;
    margin-bottom: 14px !important;
}

.discover-card-content p {
    font-size: 0.93rem !important;
    line-height: 1.75 !important;
}

.discover-attraction {
    font-size: 0.72rem !important;
    letter-spacing: 1.5px !important;
    margin-bottom: 8px !important;
}

.discover-badge {
    font-size: 0.7rem !important;
    padding: 5px 12px !important;
    border-radius: 4px !important;
}

/* ---- SERVICES / HOTEL HIGHLIGHTS SECTION ---- */
.services-section {
    background: linear-gradient(160deg, #f5f0e8 0%, #ede8de 100%);
    padding: 100px 0;
}

.services-section .section-description {
    max-width: 650px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: #ffffff !important;
    border: 1px solid rgba(212,175,55,0.12) !important;
    border-radius: 14px !important;
    padding: 44px 32px !important;
    text-align: center;
    transition: all 0.4s ease !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important;
}

.service-card:hover {
    border-color: rgba(212,175,55,0.35) !important;
    box-shadow: 0 22px 50px rgba(212,175,55,0.14) !important;
    transform: translateY(-8px) !important;
    background: #fffdf5 !important;
}

.service-card::before {
    background: linear-gradient(to right, var(--avasa-gold), var(--avasa-gold-light));
}

.service-title {
    color: #1a1a1a !important;
    font-size: 1.2rem !important;
}

.service-description {
    color: #757575 !important;
    font-size: 0.92rem;
    line-height: 1.75;
}

.service-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--avasa-gold), var(--avasa-gold-dark)) !important;
    box-shadow: 0 8px 25px rgba(212,175,55,0.35) !important;
    font-size: 1.7rem !important;
    margin-bottom: 22px !important;
}

/* ---- BLOG SECTION ---- */
.blog-section {
    background: #fff !important;
    padding: 100px 0 !important;
}

.blog-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 28px !important;
}

.blog-card {
    background: #fff !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 6px 30px rgba(0,0,0,0.07) !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease !important;
    display: flex !important;
    flex-direction: column !important;
}

.blog-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 22px 55px rgba(0,0,0,0.12) !important;
}

.blog-card-image {
    height: 240px !important;
    overflow: hidden !important;
    position: relative;
}

.blog-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s ease !important;
    display: block !important;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.07) !important;
}

/* Gold top border accent on blog cards */
.blog-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--avasa-gold), var(--avasa-gold-light));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.blog-card:hover::after {
    opacity: 1;
}

.blog-card-content {
    padding: 26px 28px 24px !important;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    margin-bottom: 10px;
}

.blog-date {
    font-size: 0.82rem;
    color: #9e9e9e;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-title {
    font-size: 1.08rem !important;
    line-height: 1.45 !important;
    margin-bottom: 10px !important;
    font-weight: 600 !important;
}

.blog-title a {
    color: #1a1a1a !important;
    font-size: inherit !important;
}

.blog-title a:hover {
    color: var(--avasa-gold) !important;
}

.blog-excerpt {
    font-size: 0.9rem !important;
    line-height: 1.7 !important;
    color: #757575 !important;
    flex: 1;
    margin-bottom: 18px !important;
}

.blog-read-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--avasa-gold) !important;
    font-weight: 600;
    font-size: 0.85rem !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: gap 0.3s ease, color 0.3s ease;
}

.blog-read-more:hover {
    gap: 12px !important;
    color: #1a1a1a !important;
}

/* ---- MAP SECTION ---- */
.map-section {
    background: linear-gradient(160deg, #f0ede6 0%, #f9f7f3 100%);
    padding: 100px 0;
}

.map-wrapper {
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 15px 50px rgba(0,0,0,0.12) !important;
    border: 3px solid rgba(212,175,55,0.2) !important;
}

.map-wrapper iframe {
    display: block !important;
    height: 480px !important;
}

/* ---- VIEW ALL BUTTONS ---- */
.text-center.mt-5 {
    margin-top: 50px !important;
    text-align: center !important;
}

/* ---- SECTION CREAM BACKGROUND FIX ---- */
.section-cream {
    background: linear-gradient(160deg, #f9f7f0 0%, #f2ede3 100%) !important;
}

/* ============================================
   RESPONSIVE FIXES 
   ============================================ */

@media (max-width: 1200px) {
    .rooms-grid,
    .discover-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 22px !important;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .about-grid {
        gap: 50px;
    }
}

@media (max-width: 992px) {
    .section {
        padding: 70px 0;
    }

    .rooms-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .discover-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img {
        height: 380px;
    }

    .about-content {
        padding-left: 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 180px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 55px 0;
    }

    .rooms-grid,
    .services-grid,
    .discover-grid,
    .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-item:nth-child(4) {
        grid-column: span 1;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .discover-card-image {
        height: 210px !important;
    }

    .blog-card-image {
        height: 200px !important;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 45px 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .gallery-item {
        height: 200px;
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(4) {
        grid-column: span 1;
        grid-row: span 1;
    }
}
