﻿/* =========================
   TEXT ITINERARY CARD
========================= */

.textcard {
    width: 100%;
    min-height: 280px;
    padding: 22px;
    /* ✅ MATCH SITE GLASS LOOK */
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 18px;
    color: #333;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: .35s ease;
}


    /* =========================
   CONTENT AREA
========================= */

    .textcard .main-content {
        flex: 1;
    }


    /* =========================
   HEADER
========================= */

    .textcard .header {
        display: flex;
        justify-content: space-between;
        font-size: 13px;
    }

        .textcard .header span:first-child {
            font-weight: 600;
            color: #888;
        }


    /* =========================
   TITLE
========================= */

    .textcard .heading {
        font-size: 22px;
        margin: 18px 0 12px;
        font-weight: 600;
        color: #222;
    }


    /* =========================
   TAG LABELS
========================= */

    .textcard .categories {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

        .textcard .categories span {
            background: linear-gradient(135deg, #ffc107, #ffca2c);
            color: #000;
            padding: 5px 12px;
            font-weight: 600;
            text-transform: uppercase;
            font-size: 11px;
            border-radius: 50px;
        }


    /* =========================
   FOOTER
========================= */

    .textcard .footer {
        font-weight: 600;
        color: #777;
        margin-top: 12px;
    }


    /* =========================
   HOVER EFFECT (PREMIUM)
========================= */

    .textcard:hover {
        transform: translateY(-6px) scale(1.02);
        box-shadow: 0 18px 40px rgba(0,0,0,.12);
    }

        /* GOLD GLOW ON HOVER */

        .textcard:hover::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: 18px;
            background: linear-gradient( 120deg, transparent, rgba(255,193,7,0.25), transparent );
            opacity: 1;
        }


/* =========================
   RESPONSIVE
========================= */

@media(max-width:768px) {
    .textcard {
        min-height: 240px;
    }
}


/* =========================
   PACKAGE IMAGE CARD
========================= */

.package-card {
    padding: 0;
    overflow: hidden;
    border-radius: 18px;
}


/* IMAGE WRAPPER */

.package-image-wrapper {
    height: 220px;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
}


/* IMAGE STYLE */

.package-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}


/* IMAGE HOVER EFFECT */

.package-card:hover .package-image {
    transform: scale(1.08);
}


/* CONTENT SPACING */

.package-card .main-content {
    padding: 20px;
}
