/* =========================================
   1. MASTER & FLOOR PLANS TABS
   ========================================= */
.plan-tabs-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.plan-tab-btn {
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 700;
    border: 2px solid #e2e8f0;
    background-color: #f8fafc;
    color: var(--brand-gray-text, #64748b);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hover Effect */
.plan-tab-btn:hover {
    border-color: var(--brand-gold, #c5a059);
    color: var(--brand-gold, #c5a059);
}

/* Active State (Selected) */
.plan-tab-btn.active {
    background-color: var(--brand-charcoal, #333);
    border-color: var(--brand-charcoal, #333);
    color: white;
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.2);
}

/* =========================================
   2. DISPLAY AREA & ANIMATIONS
   ========================================= */
.plan-display-area {
    position: relative;
    min-height: auto;
    animation: fadeIn 0.5s ease-in-out;
}

.plan-content {
    display: none; /* Hidden by default */
    width: 100%;   /* Ensures full width */
}

.plan-content.active-plan {
    display: block; /* Show only active */
    animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   3. SWIPER FIXES
   ========================================= */
.floorPlanSwiper {
    width: 100%;
    /* Add padding so hover shadows don't get cut off */
    padding: 10px 10px 10px 10px !important; 
    overflow: hidden;
}

/* =========================================
   4. PLAN CARD STYLES (Outline Design)
   ========================================= */
.plan-card {
    border: 1px solid #e2e8f0; /* Light Gray Outline */
    border-radius: 12px;
    padding: 20px;
    background: #ffffff;
    height: 100%; /* Ensures equal height cards */
    transition: all 0.3s ease;
    margin: 1px; /* Prevents border clipping */
}

/* Hover Effect: Highlight Border & Lift */
.plan-card:hover {
    border-color: var(--brand-gold, #c5a059);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.plan-card img {
    margin-bottom: 15px;
    width: 100%;
    height: auto;
    display: block;
}