/* ==========================================================================
   Layout Plan Explorer CSS - Premium Gallery Light Theme
   ========================================================================== */

/* Variables and design tokens */
:root {
    --gold-accent: #c5a254;
    --gold-hover: #bda061;
    --text-dark: #1a1a1a;
    --text-muted-dark: #666666;
    --border-light: rgba(0, 0, 0, 0.06);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* Container & Section Wrapper */
.layout-plan-section {
    position: relative;
    background-color: #f8f9fa !important;
    /* Premium off-white background */
    overflow: hidden;
}

.layout-plan-wrapper {
    position: relative;
    /* display: flex; */
    /* flex-wrap: wrap; */
    /* gap: 30px; */
}

/* Left Side Menu List */
.layout-menu-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    border-radius: 16px;
    width: 100%;
    height: 100%;
    padding: 34px;
    background: #0c3257;
}

/* Connecting Timeline Vertical Line */
.layout-menu-container::before {
    content: '';
    position: absolute;
    left: 53px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: rgba(44, 66, 97, 0.08);
    z-index: 1;
}

.layout-plan-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 16px 24px;
    background: #ffffff !important;
    border: 1px solid rgba(44, 66, 97, 0.08) !important;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 25px rgba(44, 66, 97, 0.03) !important;
    z-index: 2;
}

/* Styled Number Circle */
.layout-plan-item .item-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    font-size: 14px;
    font-weight: 700;
    color: #2c4261;
    background: #f3f5f8;
    border: 2px solid #ffffff;
    border-radius: 50%;
    margin-right: 20px;
    font-family: 'Outfit', sans-serif;
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.layout-plan-item .item-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c4261 !important;
    margin: 0;
    transition: all 0.3s ease;
}

/* Hover Accent State */
.layout-plan-item:hover {
    background: #ffffff !important;
    border-color: rgba(208, 174, 107, 0.4) !important;
    transform: translateX(8px);
    box-shadow: 0 12px 30px rgba(208, 174, 107, 0.08) !important;
}

.layout-plan-item:hover .item-num {
    background: rgba(208, 174, 107, 0.12);
    color: #c5a254;
    border-color: rgba(208, 174, 107, 0.25);
}

/* Active Theme Navy State */
.layout-plan-item.active {
    background: #2c4261 !important;
    border-color: #2c4261 !important;
    transform: translateX(12px);
    box-shadow: 0 15px 35px rgba(44, 66, 97, 0.15) !important;
}

.layout-plan-item.active {
    background: #c5a254 !important;
    border-color: #c5a254 !important;
    transform: translateX(12px);
    box-shadow: 0 15px 35px rgba(44, 66, 97, 0.15) !important;
}

.layout-plan-item.active:hover .item-num {
    background: rgb(12 50 87);
}

.layout-plan-item.active .item-title {
    color: #ffffff !important;
    font-weight: 700;
}

/* Chevron Indicator on Active */
.layout-plan-item::after {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 25px;
    color: #c5a254;
    font-size: 18px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.layout-plan-item.active::after {
    opacity: 1;
    transform: translateX(0);
}

/* Right Side Media & Presentation Container */
.layout-display-container {
    position: relative;
    background: transparent !important;
    border: none !important;
    border-radius: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: visible;
    box-shadow: none !important;
}

/* Creative Single Image Layout Styles */
.creative-single-img {
    position: relative;
    width: 100%;
    height: 700px;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff !important;
    border: 2px solid rgb(18 47 87) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 15px 40px rgba(44, 66, 97, 0.04) !important;
}

.creative-single-img:hover {
    border-color: #c5a254 !important;
    box-shadow: 0 20px 45px rgba(208, 174, 107, 0.12) !important;
}

.plan-img-single {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #ffffff;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 0px;
    /* padding: 70px 40px 105px 40px; */
}

.creative-single-img:hover .plan-img-single {
    transform: scale(1.03);
}

/* Image Overlay details */
.layout-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    pointer-events: none;
    z-index: 2;
}

/* Gold Badge Tag at Top Left */
.layout-tag {
    align-self: flex-start;
    background: #c5a254;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    box-shadow: 0 4px 12px rgba(197, 162, 84, 0.25);
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.creative-single-img:hover .layout-tag {
    transform: translateY(-2px);
}

/* Floor info at bottom */
.layout-overlay-info {
    background: rgba(44, 66, 97, 0.96) !important;
    border: 1px solid rgba(208, 174, 107, 0.25);
    border-radius: 12px;
    padding: 15px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(0);
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
    pointer-events: auto;
}

.creative-single-img:hover .layout-overlay-info {
    transform: translateY(-5px);
}

.layout-overlay-info h3 {
    font-family: 'Satoshi', 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 4px;
    margin-top: 0;
}

.layout-overlay-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85) !important;
    margin: 0;
    font-weight: 500;
}

/* Floor Content Sections */
.floor-content-pane {
    display: none;
    animation: fadeScaleIn 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.floor-content-pane.active {
    display: block;
}

@keyframes fadeScaleIn {
    0% {
        opacity: 0;
        transform: scale(0.98) translateY(5px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 991px) {
    .creative-single-img {
        height: 420px;
    }

    .layout-plan-item .item-num {
        width: 28px;
        height: 28px;
    }

    .plan-img-single {
        padding: 0px;
    }

    .layout-overlay-info h3 {
        font-size: 18px;
    }

    .layout-overlay-info p {
        font-size: 12px;
    }

    .layout-menu-container::before {
        display: none;
    }

    .layout-menu-container {
        padding-left: 0;
    }
}

@media (max-width: 575px) {
    .layout-plan-item {
        padding: 12px 18px;
    }

    .layout-plan-item .item-title {
        font-size: 14px;
    }

    .layout-plan-item .item-num {
        width: 28px;
        height: 28px;
        font-size: 12px;
        margin-right: 12px;
    }
}