﻿/* ================================
   MODULAR PAGE – PAGE SPECIFIC CSS
   ================================ */
/* Main layout */
.modular-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
}

/* Image section */
.modular-image-wrapper {
    width: 100%;
}

.modular-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}

/* Details section */
.modular-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modular-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.modular-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Feature list */
.modular-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

    .modular-features li {
        font-size: 15px;
        color: #333;
        margin-bottom: 12px;
    }

/* CTA Button */
.modular-cta {
    align-self: flex-start;
    background: #dc3545; /* Bootstrap danger red */
    color: #fff;
    border: none;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .modular-cta:hover {
        background: #c82333;
    }

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 992px) {
    .modular-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .modular-title {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .modular-container {
        padding: 0 20px;
        margin-top: 30px;
    }

    .modular-title {
        font-size: 24px;
    }

    .modular-cta {
        width: 100%;
        text-align: center;
    }
}

/*hero section image*/
/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 90vh; /* full-screen */
    overflow: hidden;
    margin-bottom: 60px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-title {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.6); /* subtle shadow for readability */
}

/* Paragraph Section */
.hero-description {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

    .hero-description p {
        font-size: 18px;
        line-height: 1.8;
        color: #333;
        margin-bottom: 40px;
    }

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
        bottom: 20px;
        left: 20px;
    }

    .hero-description p {
        font-size: 16px;
    }
}

/* Full-width stylish divider */
.full-divider {
    width: 100%; /* full page width */
    height: 4px; /* thickness */
    background: linear-gradient(to right, #a77f5f, #deb887, #a77f5f); /* stylish wood-tone gradient */
    margin: 80px 0; /* spacing above and below */
    border-radius: 2px; /* subtle rounded edges */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* subtle depth */
}

/*hero section image ending*/


/*Images gallery*/
/* YOUR ORIGINAL GALLERY - JUST PREMIUM HOVER */
/* 🔥 PREMIUM CLEAN GALLERY */
.premium-gallery {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-content: center;
}

.gallery-heading {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    margin: 50px 0 30px 0;
    position: relative;
}

    .gallery-heading::after {
        content: "";
        display: block;
        width: 80px;
        height: 4px;
        background: linear-gradient(to right, #a77f5f, #deb887, #a77f5f);
        margin: 10px auto 0 auto;
        border-radius: 2px;
    }

/* 🔥 CLEAN CARD */
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

    .gallery-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    }

    .gallery-card img {
        width: 100%;
        height: 280px;
        object-fit: cover;
        transition: transform 0.6s ease;
        display: block;
    }

    .gallery-card:hover img {
        transform: scale(1.05);
    }

    /* CLICK INDICATOR */
    .gallery-card::after {
        content: '✦ VIEW';
        position: absolute;
        top: 20px;
        right: 20px;
        background: rgba(255,255,255,0.92); /* white pill */
        color: #111111; /* near‑black text */
        padding: 8px 16px;
        border-radius: 999px;
        font-size: 12px;
        font-weight: 500;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        letter-spacing: 1px;
        text-transform: uppercase;
        box-shadow: 0 8px 20px rgba(0,0,0,0.18); /* subtle premium shadow */
    }

    .gallery-card:hover::after {
        opacity: 1;
        transform: translateY(0);
    }


@media (max-width: 992px) {
    .premium-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 576px) {
    .premium-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/*popup open and closing*/
/* 🔥 ULTRA-SMOOTH POPUP */
.popup-overlay {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(5px);
}

    .popup-overlay.show {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

.popup-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    animation: popupSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#popupImg {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    cursor: zoom-out;
}

.popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    color: #e5e7eb; /* soft light grey */
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
}

    .popup-close:hover {
        color: #ffffff; /* pure white on hover */
        transform: scale(1.1);
    }


.popup-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    pointer-events: none;
    z-index: 10001;
}

/* arrows: white circle, black arrow */
.popup-prev,
.popup-next {
    color: #ffffff; /* arrow color */
    font-size: 34px; /* a bit larger so it’s readable */
    background: none; /* no circle */
    border: none;
    width: auto;
    height: auto;
    cursor: pointer;
    pointer-events: all;
    transition: opacity 0.2s ease, transform 0.2s ease;
    opacity: 0.9;
}

    .popup-prev:hover,
    .popup-next:hover {
        opacity: 1;
        transform: translateY(-1px);
    }



@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/*FAQ Section*/
/* Full background */
.faq-section {
    background: #f5f4f5;
    padding: 60px 0;
}

/* Container widened */
.faq-container {
    max-width: 1400px;
    margin: auto;
    padding: 0 20px;
    font-family: Arial, sans-serif;
}

.faq-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 35px;
}

/* Thin FAQ bar */
.faq-item {
    background: #fff;
    margin-bottom: 14px;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* Question row */
.faq-question {
    width: 100%;
    padding: 10px 22px; /* thinner bar */
    background: #fff;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
}

    /* Hover like screenshot */
    .faq-question:hover {
        background: #fafafa;
    }

/* Chevron arrow */
.chevron {
    width: 8px;
    height: 8px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-left: 10px;
}

/* Rotate when active */
.faq-question.active .chevron {
    transform: rotate(-135deg);
}

/* Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 22px;
}

    .faq-answer p {
        padding: 12px 0;
        margin: 0;
        font-size: 15px;
        color: #555;
        line-height: 1.6;
    }

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-title {
        font-size: 28px;
        text-align: center;
    }

    .faq-question {
        font-size: 15px;
        padding: 12px 16px;
    }

    .faq-container {
        padding: 0 14px;
    }
}


/*FAQ Section*/


