﻿/* =======================
   PACKAGE HOME SECTION (For Home Page Only)
======================= */

/* Package card styles for home page */
.package-card-home {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    border: 2px solid transparent;
}

.package-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

    .package-card-link:hover {
        text-decoration: none;
    }

.package-card-home:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 31, 63, 0.2);
    border-color: #001F3F;
}

.package-image-wrapper-home {
    position: center;
    width: 100%;
    max-width: 400px;
    height: 525px;
    padding-top: 100%; /* 1:1 Aspect Ratio - Square cards */
    overflow: hidden;
    background: #f8f9fa;
}

.package-image-home {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.package-card-home:hover .package-image-home {
    transform: scale(1.1);
}

.package-overlay-home {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 31, 63, 0.05) 0%, /* very light at top */
    rgba(0, 31, 63, 0.35) 70%, /* softer mid tone */
    rgba(0, 31, 63, 0.6) 100%); /* lighter bottom shade */
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: background 0.3s ease;
}

.package-card-home:hover .package-overlay-home {
    background: linear-gradient(to bottom, rgba(0, 31, 63, 0.15) 0%, /* slightly more visible on hover */
    rgba(0, 31, 63, 0.45) 60%, rgba(0, 31, 63, 0.7) 100%);
}

.package-info-home {
    color: white;
    width: 100%;
    text-align: center;
}

.package-title-home {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
    font-family: 'Varela Round', serif;
}

.package-price-home {
    font-size: 1.1rem;
    font-weight: 300;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
    backdrop-filter: blur(10px);
    font-family: 'Varela Round', serif;
}

/* Button styling */
.btn-outline-primary {
    border-width: 2px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    color: #001F3F;
    border-color: #001F3F;
}

    .btn-outline-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 31, 63, 0.2);
        background-color: #001F3F;
        border-color: #001F3F;
        color: #fff;
    }

.custom-muted {
    font-size: 1rem;
    font-weight: 400;
    color: #001F3F;
    margin-bottom: 25px;
    letter-spacing: 1px;
    font-family: 'Varela Round', serif;
    text-align: center;
}


/* Responsive adjustments */
@media (max-width: 992px) {
    .package-title-home {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .package-title-home {
        font-size: 1.2rem;
    }

    .package-price-home {
        font-size: 0.95rem;
        padding: 6px 12px;
    }

    .package-overlay-home {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .package-title-home {
        font-size: 1.1rem;
    }

    .package-overlay-home {
        padding: 10px;
    }

    .package-price-home {
        font-size: 0.85rem;
        padding: 5px 8px;
    }
}


@media (hover: none) {
    .package-card-home:hover {
        transform: none;
        box-shadow: none;
    }
}
