﻿@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Comforter+Brush&family=Heebo:wght@100..900&family=Turret+Road:wght@200;300;400;500;700;800&display=swap');

:root {
    /* Colors from your existing design */
    --battleship-gray: hsl(0, 0%, 53%);
    --viridian-green: hsl(180, 98%, 31%);
    --silver-chalice: hsl(0, 0%, 69%);
    --mikado-yellow: #f59e0b;
    --granite-gray: hsl(0, 0%, 40%);
    --independence: hsl(219, 20%, 32%);
    --spanish-gray: hsl(0, 0%, 61%);
    --oxford-blue: hsl(222, 46%, 17%);
    --black-coral: hsl(223, 8%, 44%);
    --eerie-black: hsl(210, 11%, 15%);
    --light-gray: hsl(0, 0%, 80%);
    --white-2: hsl(0, 0%, 98%);
    --white-1: hsl(0, 0%, 100%);
    --black: hsl(0, 0%, 0%);
    --jet: hsl(0, 0%, 20%);
    /* Font Families */
    --ff-abril-fatface: 'Abril Fatface', cursive;
    --ff-comforter-brush: 'Comforter Brush', cursive;
    --ff-heebo: 'Heebo', sans-serif;
    --ff-turret-road: 'Turret Road', sans-serif;
    /* Font Sizes */
    --fs-1: 3.4rem;
    --fs-2: 3.2rem;
    --fs-3: 3rem;
    --fs-4: 2.4rem;
    --fs-5: 1.8rem;
    --fs-6: 1.7rem;
    --fs-7: 1.4rem;
    --fs-8: 1.2rem;
    /* Font Weights */
    --fw-400: 400;
    --fw-500: 500;
    --fw-600: 600;
    --fw-700: 700;
    /* Other Variables */
    --radius-6: 6px;
    --radius-12: 12px;
    --section-padding: 60px;
    --transition-1: 0.15s ease;
    --transition-2: 0.35s ease;
    --cubic-out: cubic-bezier(0.33, 0.85, 0.56, 1.02);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a, img, span, input, button, ion-icon {
    display: flex;
}

a {
    text-decoration: none;
}

input, button {
    border: none;
    background: none;
    font: inherit;
}

button {
    cursor: pointer;
}

input {
    width: 100%;
}

img {
    height: auto;
}

li {
    list-style: none;
}

address {
    font-style: normal;
}

html {
    font-family: var(--ff-heebo);
    font-size: 10px;
    scroll-behavior: smooth;
}

body {
    background: var(--white-1);
    font-size: 1.6rem;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: 15px;
}

.section-header {
    text-align:center;
}


.section-title {
    color: var(--oxford-blue);
    font-size: var(--fs-3);
    font-weight: var(--fw-500);
    font-family: var(--ff-abril-fatface);
    margin-bottom: 15px;
}

.section-subtitle {
    font-family: var(--ff-comforter-brush);
    color: var(--mikado-yellow);
    font-size: var(--fs-3);
    margin-bottom: 10px;
}

/* Buttons */
.btn {
    background: var(--background, var(--white-1));
    color: var(--color, var(--viridian-green));
    font-weight: var(--fw-700);
    width: max-content;
    padding: 12px 28px;
    border: 2px solid var(--border-color, var(--white-1));
    border-radius: var(--radius-6);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-2);
    cursor: pointer;
}

.btn-primary {
    --background: var(--viridian-green);
    --color: var(--white-1);
    --border-color: var(--viridian-green);
}

    .btn-primary:is(:hover, :focus) {
        --background: #f59e0b;
        --color: var(--viridian-green);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

.btn-outline {
    --color: var(--oxford-blue);
    --border-color: var(--silver-chalice);
}

    .btn-outline:is(:hover, :focus) {
        --color: var(--viridian-green);
        --border-color: var(--viridian-green);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        background: #f59e0b;
    }

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-view-details {
    padding: 10px 20px;
    font-size: var(--fs-7);
}

/*===================================== TOURS HERO SECTION =====================================*/
.section.tours-hero {
    background-repeat: no-repeat, no-repeat;
    background-position: bottom left, top right;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.tours-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.tours-hero-title {
    color: var(--oxford-blue);
    font-size: var(--fs-1);
    font-family: var(--ff-abril-fatface);
    font-weight: var(--fw-500);
    line-height: 1.2;
    margin-bottom: 0;
}


/*===================================== TOURS GRID =====================================*/
.tours-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.tour-card {
    background: var(--white-1);
    border-radius: var(--radius-12);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-2);
    position: relative;
    border: 1px solid var(--light-gray);
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .tour-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
        border-color: var(--viridian-green);
    }

    .tour-card.hover {
        opacity: 1;
        visibility: visible;
    }

/* Card Header */
.tour-card-header {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.tour-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tour-card:hover .tour-image {
    transform: scale(1.05);
}

.tour-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--mikado-yellow);
    color: var(--white-1);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: var(--fs-8);
    font-weight: var(--fw-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .tour-badge.new {
        background: var(--viridian-green);
    }

.tour-wishlist {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: var(--granite-gray);
    font-size: 20px;
    transition: all var(--transition-1);
    z-index: 2;
}

    .tour-wishlist:hover {
        background: var(--white-1);
        color: var(--viridian-green);
    }

    .tour-wishlist.active {
        color: #ff4757;
    }

/* Card Body */
.tour-card-body {
    padding: 10px 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tour-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tour-duration {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--granite-gray);
    font-size: var(--fs-7);
    font-weight: var(--fw-500);
}

    .tour-duration ion-icon {
        color: var(--viridian-green);
        font-size: 18px;
    }

.tour-difficulty {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: var(--fs-8);
    font-weight: var(--fw-600);
    text-transform: uppercase;
}

    .tour-difficulty.easy {
        background: rgba(76, 175, 80, 0.1);
        color: #4CAF50;
    }

    .tour-difficulty.moderate {
        background: rgba(255, 152, 0, 0.1);
        color: #FF9800;
    }

    .tour-difficulty.difficult {
        background: rgba(244, 67, 54, 0.1);
        color: #F44336;
    }

.tour-title {
    color: var(--oxford-blue);
    font-size: var(--fs-5);
    font-weight: var(--fw-600);
    margin-bottom: 3px;
    line-height: 1.3;
}

/* Card Footer */
.tour-footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 5px;
    border-top: 1px solid var(--light-gray);
    margin-top: auto;
}





/*===================================== WHY CHOOSE SECTION =====================================*/
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white-1);
    border-radius: var(--radius-12);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
    transition: all var(--transition-2);
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
        border-color: var(--viridian-green);
    }

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(6, 147, 147, 0.1);
    color: var(--viridian-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
    transition: all var(--transition-2);
}

.feature-card:hover .feature-icon {
    background: var(--viridian-green);
    color: var(--white-1);
    transform: scale(1.1);
}

.feature-title {
    color: var(--oxford-blue);
    font-size: var(--fs-5);
    font-weight: var(--fw-600);
    margin-bottom: 10px;
}

.feature-description {
    color: var(--granite-gray);
    font-size: var(--fs-6);
    line-height: 1.6;
}

/*===================================== RESPONSIVE DESIGN =====================================*/
@media (min-width: 576px) {
    :root {
        --fs-1: 4rem;
        --fs-3: 3.5rem;
    }

    .tours-hero-stats {
        grid-template-columns: repeat(4, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    :root {
        --fs-1: 4.5rem;
        --section-padding: 80px;
    }

    .tours-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .tour-card-header {
        height: 250px;
    }

    .tours-hero-content {
        margin-bottom: 80px;
    }
}

@media (min-width: 992px) {
    :root {
        --fs-1: 5.5rem;
        --fs-3: 4rem;
    }

    .tours-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .tours-hero {
        padding-top: 100px;
        padding-bottom: 80px;
    }


    .overlay-content {
        padding: 20px;
    }
}

@media (min-width: 1200px) {
    :root {
        --fs-1: 6rem;
    }

    .container {
        max-width: 1320px;
    }

    .tour-card-header {
        height: 280px;
    }
}

/* Animation for card entrance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tour-card {
    animation: fadeInUp 0.6s ease forwards;
}

    .tour-card:nth-child(2) {
        animation-delay: 0.1s;
    }

    .tour-card:nth-child(3) {
        animation-delay: 0.2s;
    }

    .tour-card:nth-child(4) {
        animation-delay: 0.3s;
    }

    .tour-card:nth-child(5) {
        animation-delay: 0.4s;
    }

    .tour-card:nth-child(6) {
        animation-delay: 0.5s;
    }

/* Print Styles */
@media print {
    .tour-wishlist,
    .btn-load-more,
    .go-top {
        display: none !important;
    }

    .tour-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
