﻿/* =============================================
   Classic.css — Vietnam Classic Tours Page
   ============================================= */

/* ---- Animations ---- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.7);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -600px 0;
    }

    100% {
        background-position: 600px 0;
    }
}

@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb {
    width: 90%;
    margin: 24px auto 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #888;
    flex-wrap: wrap;
}

    .breadcrumb a {
        color: #c46239;
        text-decoration: none;
        transition: color 0.2s;
    }

        .breadcrumb a:hover {
            color: #8e3416;
        }

    .breadcrumb span {
        color: #bbb;
        font-size: 12px;
    }

/* =============================================
   HERO
   ============================================= */
.hero-image {
    width: 90%;
    margin: 0 auto 0;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    animation: fadeIn 0.8s ease forwards;
}

    .hero-image img {
        width: 100%;
        height: 520px;
        object-fit: cover;
        display: block;
        transition: transform 0.6s ease;
    }

    .hero-image:hover img {
        transform: scale(1.03);
    }

/* Hero overlay text */
.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
    padding: 50px 40px 30px;
    color: #fff;
}

    .hero-overlay h2 {
        font-size: 36px;
        font-weight: 700;
        margin-bottom: 6px;
        text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    }

    .hero-overlay p {
        font-size: 15px;
        opacity: 0.88;
    }

/* =============================================
   FEATURES
   ============================================= */
.features {
    width: 90%;
    margin: 30px auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    text-align: center;
}

.feature-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    background: #fff;
    padding: 18px 16px;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    border: 1.5px solid transparent;
    transition: all 0.3s ease;
    cursor: default;
    animation: fadeUp 0.6s ease forwards;
    opacity: 0;
}

    .feature-box:nth-child(1) {
        animation-delay: 0.1s;
    }

    .feature-box:nth-child(2) {
        animation-delay: 0.2s;
    }

    .feature-box:nth-child(3) {
        animation-delay: 0.3s;
    }

    .feature-box:nth-child(4) {
        animation-delay: 0.4s;
    }

    .feature-box:hover {
        border-color: #c46239;
        box-shadow: 0 8px 28px rgba(196,98,57,0.15);
        transform: translateY(-4px);
        color: #c46239;
    }

.feature-icon {
    font-size: 22px;
    flex-shrink: 0;
}

/* =============================================
   STATS STRIP
   ============================================= */
.stats-strip {
    width: 90%;
    margin: 0 auto 50px;
    background: linear-gradient(135deg, #c46239, #8e3416);
    border-radius: 18px;
    padding: 36px 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
    color: #fff;
    box-shadow: 0 12px 40px rgba(196,98,57,0.3);
}

.stat-item {
    opacity: 0;
    animation: countUp 0.6s ease forwards;
}

    .stat-item:nth-child(1) {
        animation-delay: 0.2s;
    }

    .stat-item:nth-child(2) {
        animation-delay: 0.35s;
    }

    .stat-item:nth-child(3) {
        animation-delay: 0.5s;
    }

    .stat-item:nth-child(4) {
        animation-delay: 0.65s;
    }

.stat-number {
    font-size: 38px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 13px;
    opacity: 0.85;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* =============================================
   CONTENT SECTION
   ============================================= */
.content {
    width: 90%;
    margin: auto;
    padding-bottom: 30px;
}

    .content > h1 {
        font-family: 'Playfair Display', serif;
        font-size: 48px;
        text-align: center;
        margin-bottom: 16px;
        line-height: 1.25;
        color: #1a1a1a;
        animation: fadeUp 0.7s ease forwards;
    }

    .content > .subtitle {
        font-size: 17px;
        color: #666;
        line-height: 1.9;
        margin-bottom: 10px;
        text-align: center;
        max-width: 820px;
        margin-left: auto;
        margin-right: auto;
    }

/* Read More Toggle */
.description-wrap {
    max-width: 860px;
    margin: 0 auto 30px;
    text-align: center;
}

.desc-collapsed .desc-extra {
    display: none;
}

.desc-extra p {
    font-size: 16px;
    color: #666;
    line-height: 1.9;
    margin-bottom: 14px;
    text-align: center;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    color: #c46239;
    font-weight: 600;
    font-size: 14px;
    border: none;
    background: none;
    cursor: pointer;
    transition: color 0.2s;
    font-family: 'Poppins', sans-serif;
}

    .read-more-btn:hover {
        color: #8e3416;
    }

    .read-more-btn .arrow {
        display: inline-block;
        transition: transform 0.3s;
        font-style: normal;
    }

    .read-more-btn.expanded .arrow {
        transform: rotate(180deg);
    }

/* =============================================
   TOUR FILTER BAR
   ============================================= */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    padding: 20px 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

    .filter-bar label {
        font-weight: 600;
        font-size: 14px;
        color: #333;
        white-space: nowrap;
    }

.filter-btn {
    padding: 8px 20px;
    border-radius: 30px;
    border: 2px solid #e0d6cc;
    background: transparent;
    color: #555;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: 'Poppins', sans-serif;
}

    .filter-btn:hover {
        border-color: #c46239;
        color: #c46239;
    }

    .filter-btn.active {
        background: #c46239;
        border-color: #c46239;
        color: #fff;
        box-shadow: 0 4px 14px rgba(196,98,57,0.3);
    }

.filter-search {
    margin-left: auto;
    position: relative;
}

    .filter-search input {
        padding: 9px 38px 9px 16px;
        border: 2px solid #e0d6cc;
        border-radius: 30px;
        font-size: 13px;
        outline: none;
        width: 200px;
        transition: all 0.3s;
        font-family: 'Poppins', sans-serif;
        color: #333;
    }

        .filter-search input:focus {
            border-color: #c46239;
            width: 240px;
        }

    .filter-search .s-icon {
        position: absolute;
        right: 13px;
        top: 50%;
        transform: translateY(-50%);
        color: #aaa;
        font-size: 14px;
        pointer-events: none;
    }

/* =============================================
   TOUR GRID & CARDS
   ============================================= */
.tour-grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.tour-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    animation: fadeUp 0.6s ease forwards;
    opacity: 0;
    position: relative;
    display: flex;
    flex-direction: column;
}

    .tour-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .tour-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .tour-card:nth-child(3) {
        animation-delay: 0.3s;
    }

    .tour-card:nth-child(4) {
        animation-delay: 0.4s;
    }

    .tour-card:nth-child(5) {
        animation-delay: 0.5s;
    }

    .tour-card:nth-child(6) {
        animation-delay: 0.6s;
    }

    .tour-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 50px rgba(0,0,0,0.13);
    }

    .tour-card.hidden {
        display: none;
    }

/* Badge */
.card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #c46239;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    z-index: 2;
    animation: floatBadge 3s ease-in-out infinite;
}

/* Wishlist */
.wishlist-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.25s;
    z-index: 2;
    backdrop-filter: blur(4px);
}

    .wishlist-btn:hover {
        transform: scale(1.15);
    }

    .wishlist-btn.liked {
        color: #e63946;
    }

/* Image container */
.card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 240px;
}

    .card-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.5s ease;
    }

.tour-card:hover .card-img-wrap img {
    transform: scale(1.08);
}

/* Image shimmer overlay on hover */
.card-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient( 105deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60% );
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.3s;
}

.tour-card:hover .card-img-wrap::after {
    opacity: 1;
    animation: shimmer 1s ease forwards;
}

/* Tour info */
.tour-info {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tour-meta {
    display: flex;
    gap: 16px;
    font-size: 12.5px;
    color: #999;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

    .tour-meta span {
        display: flex;
        align-items: center;
        gap: 4px;
    }

.tour-info h3 {
    font-size: 21px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.3;
}

.tour-info p {
    text-align: left;
    font-size: 14.5px;
    line-height: 1.75;
    color: #666;
    margin-bottom: 18px;
    flex: 1;
}

/* Highlights */
.tour-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.highlight-tag {
    font-size: 11.5px;
    background: #fff4ee;
    color: #c46239;
    border: 1px solid #f4cdb8;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

/* Price + Button row */
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f0e8e0;
    padding-top: 16px;
    margin-top: auto;
    gap: 12px;
}

.tour-price {
    display: flex;
    flex-direction: column;
}

.price-from {
    font-size: 11px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-value {
    font-size: 22px;
    font-weight: 700;
    color: #c46239;
    line-height: 1;
    font-family: 'Playfair Display', serif;
}

.price-per {
    font-size: 11px;
    color: #aaa;
}

.tour-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #c46239;
    color: #fff;
    padding: 11px 22px;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 13.5px;
    white-space: nowrap;
    border: 2px solid #c46239;
    text-decoration: none;
}

    .tour-btn:hover {
        background: transparent;
        color: #c46239;
        transform: translateX(3px);
    }

    .tour-btn .btn-arrow {
        transition: transform 0.3s;
    }

    .tour-btn:hover .btn-arrow {
        transform: translateX(4px);
    }

/* No results */
.no-results {
    display: none;
    text-align: center;
    padding: 60px 20px;
    color: #999;
    grid-column: 1 / -1;
}

    .no-results.show {
        display: block;
    }

    .no-results .nr-icon {
        font-size: 48px;
        margin-bottom: 12px;
    }

    .no-results p {
        font-size: 16px;
    }

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why-section {
    width: 90%;
    margin: 60px auto;
    background: linear-gradient(135deg, #fdf8f4, #fff);
    border-radius: 24px;
    padding: 50px 50px;
    border: 1.5px solid #f0e4d6;
}

    .why-section h2 {
        font-family: 'Playfair Display', serif;
        font-size: 36px;
        text-align: center;
        color: #1a1a1a;
        margin-bottom: 40px;
    }

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.why-card {
    text-align: center;
    padding: 28px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    cursor: default;
}

    .why-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 32px rgba(196,98,57,0.12);
    }

.why-icon {
    font-size: 38px;
    margin-bottom: 14px;
    display: block;
}

.why-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.why-card p {
    font-size: 13.5px;
    color: #777;
    line-height: 1.7;
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
    width: 90%;
    margin: 0 auto 80px;
    background: linear-gradient(135deg, #c46239 0%, #8e3416 100%);
    border-radius: 22px;
    padding: 52px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    box-shadow: 0 16px 50px rgba(142,52,22,0.28);
    position: relative;
    overflow: hidden;
}

    .cta-banner::before {
        content: '';
        position: absolute;
        top: -60px;
        right: -60px;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: rgba(255,255,255,0.07);
    }

    .cta-banner::after {
        content: '';
        position: absolute;
        bottom: -40px;
        left: 30%;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        background: rgba(255,255,255,0.05);
    }

.cta-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #fff;
    margin-bottom: 8px;
}

.cta-text p {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
}

.cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-btn-primary {
    background: #fff;
    color: #c46239;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}

    .cta-btn-primary:hover {
        background: #fff4ee;
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    }

.cta-btn-secondary {
    background: transparent;
    color: #fff;
    padding: 13px 28px;
    border-radius: 30px;
    border: 2px solid rgba(255,255,255,0.6);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}

    .cta-btn-secondary:hover {
        border-color: #fff;
        background: rgba(255,255,255,0.1);
        transform: translateY(-2px);
    }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .features {
        grid-template-columns: 1fr 1fr;
    }

    .content > h1 {
        font-size: 38px;
    }

    .hero-image img {
        height: 380px;
    }

    .hero-overlay h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr 1fr;
    }

    .content > h1 {
        font-size: 30px;
    }

    .hero-image img {
        height: 260px;
    }

    .hero-overlay {
        padding: 30px 20px 18px;
    }

        .hero-overlay h2 {
            font-size: 22px;
        }

    .stats-strip {
        grid-template-columns: repeat(2, 1fr);
        padding: 28px 20px;
    }

    .stat-number {
        font-size: 28px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-section {
        padding: 36px 24px;
    }

    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 36px 24px;
    }

    .cta-actions {
        justify-content: center;
    }

    .filter-bar {
        padding: 14px 16px;
    }

    .filter-search {
        margin-left: 0;
        width: 100%;
    }

        .filter-search input {
            width: 100%;
        }

            .filter-search input:focus {
                width: 100%;
            }
}

@media (max-width: 560px) {
    .features {
        grid-template-columns: 1fr;
    }

    .stats-strip {
        grid-template-columns: 1fr 1fr;
    }
}
