/* ========================================================
   GODREJ BLUE - MOBILE RESPONSIVE ENHANCEMENTS
   ======================================================== */

/* 1. Global Mobile Fixes */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    -webkit-text-size-adjust: 100%;
}

img, video, canvas, svg {
    max-width: 100% !important;
    height: auto;
}

/* 2. Mobile Bottom Sticky Action Bar */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #001f30;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    padding: 8px 12px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mobile-sticky-bar .mob-bar-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    outline: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mobile-sticky-bar .mob-bar-brochure {
    background: #cd8c66;
    color: #ffffff;
}

.mobile-sticky-bar .mob-bar-brochure:hover,
.mobile-sticky-bar .mob-bar-brochure:active {
    background: #b67854;
    color: #ffffff;
}

.mobile-sticky-bar .mob-bar-enquire {
    background: #076291;
    color: #ffffff;
}

.mobile-sticky-bar .mob-bar-enquire:hover,
.mobile-sticky-bar .mob-bar-enquire:active {
    background: #054c72;
    color: #ffffff;
}

/* 3. Breakpoint: Screens under 992px (Tablets & Mobile) */
@media (max-width: 991px) {
    /* Show mobile sticky bottom bar */
    .mobile-sticky-bar {
        display: flex !important;
    }

    /* Provide bottom padding so fixed bar never covers content */
    body {
        padding-bottom: 65px !important;
    }

    /* Hide desktop vertical floating side tabs */
    .brochure_cta,
    .enquire-btn-fixed,
    .toggle-sidebar,
    .sidebar-contact {
        display: none !important;
    }

    /* Sticky Mobile Header */
    .main-header {
        position: sticky !important;
        top: 0;
        background: #ffffff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        z-index: 990;
    }

    .main-menu__wrapper {
        padding: 8px 15px !important;
    }

    .main-menu__logo img {
        max-height: 42px !important;
        width: auto !important;
    }

    .mobile-nav__toggler {
        font-size: 24px !important;
        color: #076291 !important;
        padding: 6px 10px;
        cursor: pointer;
    }

    /* Modal Responsive Optimization */
    .modal-dialog {
        margin: 20px auto !important;
        max-width: 94% !important;
    }

    .modal-content {
        border-radius: 8px !important;
        overflow: hidden;
    }

    .modal-header {
        padding: 14px 18px !important;
    }

    .modal-title {
        font-size: 18px !important;
    }

    .modal-body {
        padding: 18px 16px !important;
    }

    .modal-body .form-control,
    .modal-body .form-select {
        height: 46px !important;
        font-size: 14px !important;
        border-radius: 4px !important;
    }

    .modal-body .submit-btn {
        height: 46px !important;
        line-height: 46px !important;
        padding: 0 !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        width: 100% !important;
        text-align: center !important;
        border-radius: 4px !important;
    }

    /* Intl tel input inside modal */
    .iti {
        width: 100% !important;
    }
}

/* 4. Breakpoint: Screens under 768px (Phones) */
@media (max-width: 767px) {
    /* Section padding */
    .section-padding {
        padding-top: 45px !important;
        padding-bottom: 45px !important;
    }

    /* Section Titles */
    .section-title {
        margin-bottom: 24px !important;
    }

    .section-title__title {
        font-size: 25px !important;
        line-height: 31px !important;
    }

    .section-title__tagline {
        font-size: 12.5px !important;
        letter-spacing: 0.05em !important;
    }

    /* Overview Section */
    .about-one {
        padding: 40px 0 !important;
    }

    .about-one__left {
        margin-right: 0 !important;
        margin-bottom: 25px !important;
        text-align: center;
    }

    .about-one__right {
        margin-left: 0 !important;
    }

    .about-one__text-1 {
        font-size: 20px !important;
        line-height: 28px !important;
        text-align: left;
    }

    .about-one__text-2 {
        font-size: 14px !important;
        line-height: 22px !important;
        margin-top: 15px !important;
        margin-bottom: 20px !important;
        text-align: left;
    }

    .about-one__btn-box {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin-top: 20px !important;
    }

    .about-one__btn-box .thm-btn {
        width: 100% !important;
        text-align: center !important;
        padding: 12px 20px !important;
        font-size: 13px !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Amenity / Highlights CTAs */
    .highlight-1 .text-center a.thm-btn,
    .gallery .text-center a.thm-btn {
        display: block !important;
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 10px !important;
        text-align: center !important;
        padding: 12px 15px !important;
    }

    /* Gallery Slider */
    .gallery-box-slider .slick-slide {
        padding: 0 4px !important;
    }

    .gallery-box-slider img {
        height: 220px !important;
        width: 100% !important;
        object-fit: cover !important;
        border-radius: 6px !important;
    }

    /* FAQ Section */
    .faq-section {
        padding: 45px 0 !important;
    }

    .faq-item {
        margin-bottom: 12px !important;
        border-radius: 6px !important;
    }

    .faq-question {
        font-size: 14px !important;
        padding: 14px 14px !important;
        text-align: left !important;
        line-height: 1.4 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .faq-question span {
        font-size: 18px !important;
        margin-left: 8px !important;
    }

    .faq-answer {
        padding: 0 14px 14px !important;
        font-size: 13px !important;
        line-height: 1.6 !important;
    }

    /* About Godrej section */
    .about-godrej {
        padding: 45px 0 !important;
    }

    /* Footer Responsive */
    footer#footer {
        padding-top: 40px !important;
        padding-bottom: 20px !important;
    }

    .footer-logo-address {
        text-align: center !important;
    }

    .footer-logo {
        margin-bottom: 20px !important;
    }

    .address-box h3 {
        font-size: 13px !important;
        line-height: 1.6 !important;
        text-align: center !important;
    }

    .social-links {
        justify-content: center !important;
        margin-top: 15px !important;
        margin-bottom: 20px !important;
    }

    .disclaimer-box {
        padding: 16px !important;
        margin-top: 15px !important;
    }

    .disclaimer-box h3 {
        font-size: 14px !important;
        text-align: center !important;
    }

    .disclaimer-box p {
        font-size: 11px !important;
        line-height: 1.6 !important;
        text-align: justify !important;
    }

    .credit-box .copyright p {
        text-align: center !important;
        font-size: 12px !important;
    }

    .gallery-wrap img {
        height: 230px !important;
    }

    .gallery-txt p {
        font-size: 15px !important;
        margin-top: 10px !important;
    }

    .gallery-description-wrapper {
        padding: 0 10px !important;
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
}

/* ========================================================
   Gallery Curation & Luxury Hover Styles
   ======================================================== */
.gallery {
    background: #092038 !important;
}

.gallery-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    background: #06182a;
}

.gallery-wrap img {
    height: 380px !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 8px;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-wrap:hover img {
    transform: scale(1.05);
}

.gallery-wrap .gallery-hover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 37, 64, 0.85) 0%, rgba(10, 37, 64, 0.2) 60%, transparent 100%);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

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

.gallery-wrap .gallery-zoom-icon {
    width: 52px;
    height: 52px;
    background: rgba(197, 160, 89, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-wrap:hover .gallery-zoom-icon {
    transform: scale(1);
}

.gallery-txt p {
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    margin-top: 15px !important;
    text-transform: uppercase !important;
    text-align: center !important;
}

.gallery-description-wrapper p {
    color: rgba(255, 255, 255, 0.88) !important;
}

/* ========================================================
   Location & Connectivity Cards (Exact Match to Design)
   ======================================================== */
.location-section {
    background: #ffffff !important;
    padding: 90px 0 !important;
}

.location-card {
    border: 1.5px solid #232a38;
    background: #f7f5ee;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.location-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.location-card__header {
    background-color: #ccd1e8;
    border-bottom: 1.5px solid #232a38;
    padding: 12px 16px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #1a2232;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.location-card__body {
    background-color: #f7f5ee;
}

.location-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 22px;
    border-bottom: 1px solid #eae5db;
    transition: background 0.15s ease;
}

.location-item:last-child {
    border-bottom: none;
}

.location-item:hover {
    background-color: #f0ece3;
}

.location-item-left {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.location-icon-bullet {
    width: 15px;
    height: 15px;
    border: 1.5px solid #a89d8f;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    flex-shrink: 0;
}

.location-icon-bullet::after {
    content: '';
    width: 5px;
    height: 5px;
    background-color: #a89d8f;
    border-radius: 50%;
    display: block;
}

.location-name {
    color: #787066;
    font-size: 14.5px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.location-distance {
    color: #000000;
    font-size: 14.5px;
    font-weight: 700;
    margin-left: 15px;
    white-space: nowrap;
    text-align: right;
    letter-spacing: 0.2px;
}

@media (max-width: 768px) {
    .location-section {
        padding: 50px 0 !important;
    }
    .location-card__header {
        font-size: 14px;
        padding: 10px 12px;
    }
    .location-item {
        padding: 11px 14px;
    }
    .location-icon-bullet {
        margin-right: 12px;
    }
    .location-name {
        font-size: 13px;
        white-space: normal;
        line-height: 1.3;
    }
    .location-distance {
        font-size: 13px;
        margin-left: 8px;
    }
}

/* ========================================================
   Floor Plans & Master Layout Styles (Exact Match)
   ======================================================== */
.floorplans-section {
    padding: 85px 0 !important;
    background: #ffffff !important;
}

.floorplans-title {
    font-size: 30px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
    line-height: 1.3;
}

.floorplans-desc {
    font-size: 15.5px;
    color: #4b5563;
    line-height: 1.65;
    margin-bottom: 12px;
}

.master-plan-wrapper {
    position: relative;
    display: inline-block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    background: #ffffff;
    padding: 10px;
    border: 1px solid #e5e7eb;
}

.master-plan-img {
    max-height: 520px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 6px;
    display: block;
    transition: transform 0.3s ease;
}

.master-plan-wrapper:hover .master-plan-img {
    transform: scale(1.02);
}

.master-plan-overlay {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 37, 64, 0.88);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.master-plan-wrapper:hover .master-plan-overlay {
    opacity: 1;
    background: rgba(10, 37, 64, 0.98);
}

.floorplan-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.plan-card {
    border: 1.5px solid #232a38;
    background: #ffffff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.plan-card__header {
    background-color: #ccd1e8;
    border-bottom: 1.5px solid #232a38;
    padding: 10px 16px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #1a2232;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.plan-card__body {
    display: flex;
    align-items: center;
    padding: 16px 22px;
    gap: 24px;
    background: #ffffff;
}

.plan-card__thumb {
    position: relative;
    flex-shrink: 0;
    width: 95px;
    text-align: center;
}

.plan-card__thumb a {
    display: block;
    position: relative;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 5px;
    background: #fafafa;
    transition: all 0.2s ease;
}

.plan-card__thumb a:hover {
    border-color: #fba56b;
    box-shadow: 0 2px 8px rgba(251, 165, 107, 0.25);
}

.plan-card__thumb img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.thumb-zoom-tag {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 9px;
    padding: 1px 4px;
    border-radius: 2px;
}

.plan-card__details {
    flex: 1;
}

.plan-area {
    color: #948e84;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 2px;
}

.plan-parking {
    color: #78716c;
    font-size: 14px;
    margin-bottom: 4px;
}

.plan-price {
    color: #0f172a;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
}

.plan-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-plan-view {
    background: #fde3cc;
    color: #7c2d12 !important;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    display: inline-block;
    transition: all 0.2s ease;
    border: none;
}

.btn-plan-view:hover {
    background: #fcd4b4;
    color: #591d09 !important;
}

.btn-plan-book {
    background: #fba56b;
    color: #ffffff !important;
    padding: 6px 22px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    display: inline-block;
    transition: all 0.2s ease;
    border: none;
    box-shadow: 0 2px 6px rgba(251, 165, 107, 0.35);
}

.btn-plan-book:hover {
    background: #f98f4a;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(251, 165, 107, 0.45);
}

@media (max-width: 768px) {
    .floorplans-section {
        padding: 45px 0 !important;
    }
    .floorplans-title {
        font-size: 22px;
    }
    .plan-card__body {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 14px;
    }
    .plan-card__thumb {
        width: 120px;
    }
}
