/* ==========================================================================
   VIZAGLO — MODULAR COMPONENT: TRAVEL PACKAGE & STYLE CARDS
   International Platform Card Standard (MakeMyTrip, Booking.com, Tripoto)
   ========================================================================== */

/* Grid layout for trip cards */
.trips-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

/* Single Package Card */
.trip-card-item {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    height: 100%;
}

.trip-card-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 119, 182, 0.14);
    border-color: #90E0EF;
}

/* Card Media / Image Cover */
.trip-card-media {
    position: relative;
    height: 210px;
    background-size: cover;
    background-position: center;
    background-color: #CBD5E1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px;
}

.card-media-overlay-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.card-top-badges {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.badge-cat {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge-duration {
    background: rgba(255, 183, 3, 0.92);
    color: #0F172A;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.card-audience-badge {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    color: #1E293B;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Card Body Content */
.trip-card-content {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-destination-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0077B6;
    margin-bottom: 8px;
}

.tag-from {
    color: #64748B;
    font-weight: 500;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 10px;
}

.card-title a {
    color: #0F172A;
    text-decoration: none;
    transition: color 0.15s ease;
}

.card-title a:hover {
    color: #0077B6;
}

.card-excerpt {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.55;
    margin: 0 0 14px;
    flex-grow: 1;
}

/* Highlights Snippet */
.card-mini-highlights {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #F8FAFC;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.78rem;
    color: #334155;
    margin-bottom: 16px;
    border-left: 3px solid #00B8D9;
}

.card-mini-highlights span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Pricing Block */
.card-pricing-block {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 12px 0 14px;
    border-top: 1px solid #F1F5F9;
    margin-bottom: 14px;
}

.price-kicker {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748B;
    margin-bottom: 2px;
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-num {
    font-size: 1.35rem;
    font-weight: 900;
    color: #0F172A;
    letter-spacing: -0.01em;
}

.price-num.quote-only {
    font-size: 1.1rem;
    color: #0077B6;
}

.price-basis {
    font-size: 0.78rem;
    color: #64748B;
    font-weight: 500;
}

.price-disclaimer-pill {
    font-size: 0.6875rem;
    color: #94A3B8;
    background: #F8FAFC;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

/* Card Action Buttons */
.card-actions-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-card-customise {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 14px;
    background: linear-gradient(135deg, #FFB703 0%, #FB8500 100%);
    color: #0F172A;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.18s ease;
    box-shadow: 0 2px 8px rgba(251, 133, 0, 0.25);
    white-space: nowrap;
}

.btn-card-customise:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(251, 133, 0, 0.38);
    color: #000000;
}

/* WhatsApp Quick Action — Hidden by default, reveals ONLY when card is hovered */
.card-actions-row .btn-card-wa {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #25D366;
    color: #FFFFFF !important;
    border: 1px solid #1EBE5D;
    text-decoration: none;
    flex-shrink: 0;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.28);
}

.card-actions-row .btn-card-wa svg {
    width: 20px;
    height: 20px;
    fill: #FFFFFF !important;
    color: #FFFFFF !important;
}

.trip-card-item:hover .card-actions-row .btn-card-wa,
.trip-card-item:focus-within .card-actions-row .btn-card-wa {
    display: inline-flex;
    animation: vzWaPop 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes vzWaPop {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.card-actions-row .btn-card-wa:hover {
    background: #1EBE5D;
    border-color: #16A34A;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
}

.btn-card-details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 12px;
    border-radius: 10px;
    background: #F1F5F9;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.btn-card-details:hover {
    background: #E2E8F0;
    color: #0F172A;
}

/* ==========================================================================
   TRAVEL STYLES / THEME CARDS (Section 3)
   ========================================================================== */
.styles-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.photo-style-card {
    position: relative;
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-style-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.22);
}

.style-tag-badge {
    align-self: flex-start;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(6px);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.02em;
}

.style-tag-gold {
    background: rgba(255, 183, 3, 0.9);
    color: #0F172A;
}

.style-card-bottom {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.style-card-bottom h3 {
    color: #FFFFFF;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.style-card-bottom p {
    color: #E2E8F0;
    font-size: 0.8125rem;
    line-height: 1.4;
    margin: 0 0 6px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.style-link-gold {
    color: #FFB703;
    font-size: 0.8125rem;
    font-weight: 700;
    transition: color 0.15s ease;
}

.photo-style-card:hover .style-link-gold {
    color: #FFC857;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .trips-cards-grid {
        grid-template-columns: 1fr;
    }
    .styles-category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .photo-style-card {
        height: 200px;
        padding: 12px;
    }
    .style-card-bottom h3 {
        font-size: 1.05rem;
    }
    .style-card-bottom p {
        display: none; /* Keep clean on small mobile */
    }
}
