/* =============== VARIABLES / THEME =============== */
:root {
    --bg-color: #fcfdfe;
    /* Very light ocean breeze / clean white */
    --surface-color: #ffffff;
    --text-primary: #1e293b;
    /* Deep text */
    --text-secondary: #64748b;

    --primary-color: #0ea5e9;
    /* Ocean Blue / Sky Blue */
    --primary-glow: rgba(14, 165, 233, 0.4);
    --secondary-color: #f59e0b;
    /* Sunset Orange/Yellow */
    --accent-color: #10b981;
    /* Nature Green */
    --warning: #fbbf24;

    --font-heading: 'Poppins', sans-serif;
    --font-script: 'Caveat', cursive;
    /* For playful travel touches */
    --font-body: 'Poppins', sans-serif;

    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy */
}

/* =============== BASE & UTILITIES =============== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-medium);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 5%;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-warning {
    color: var(--warning);
}

.text-white {
    color: #fff;
}

.text-light {
    color: #cbd5e1;
}

.bg-light {
    background-color: #f1f5f9;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 1rem;
}

.z-index-top {
    position: relative;
    z-index: 10;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px var(--primary-glow);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-medium);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* =============== TYPOGRAPHY =============== */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.2;
}

h1 {
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

h2 span {
    color: var(--primary-color);
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: -0.5rem;
}

p {
    color: var(--text-secondary);
}

/* =============== BUTTONS =============== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-medium);
}

.btn-round {
    border-radius: 50px;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-large {
    padding: 1.1rem 2.2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
}

.btn-glow {
    box-shadow: 0 8px 20px var(--primary-glow);
}

.btn-glow:hover {
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
}

.btn-glass:hover {
    background: #fff;
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-dark {
    background: var(--text-primary);
    color: #fff;
    box-shadow: 0 5px 15px rgba(30, 41, 59, 0.4);
}

.btn-dark:hover {
    background: var(--secondary-color);
    color: #fff;
}

.btn-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.fa-spin-hover {
    transition: transform 0.5s ease;
}

.btn:hover .fa-spin-hover {
    transform: rotate(180deg);
}

/* =============== NAVBAR =============== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition-medium);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 0.8rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    font-weight: 400;
}

.navbar:not(.scrolled) .logo {
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    position: relative;
}

.navbar.scrolled .nav-links li a {
    color: var(--text-primary);
}

.nav-links li a:hover {
    color: var(--primary-color) !important;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
}

.navbar.scrolled .hamburger {
    color: var(--text-primary);
}


/* =============== HERO SECTION =============== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-travel {
    background: var(--secondary-color);
    color: #fff;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
}

.hero-title {
    font-size: 4.5rem;
    color: #fff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero-title span {
    color: var(--secondary-color);
}

.hero-desc {
    font-size: 1.2rem;
    color: #f1f5f9;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Curved divider */
.custom-shape-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.shape-fill {
    fill: var(--bg-color);
}

/* =============== SEARCH RIBBON =============== */
.search-ribbon {
    margin-top: -60px;
}

.tour-search-form {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    justify-content: space-between;
}

.search-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.search-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.input-with-icon {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.input-with-icon i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.input-with-icon input,
.input-with-icon select {
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 1rem;
    width: 100%;
    color: var(--text-secondary);
}

.search-divider {
    width: 1px;
    height: 50px;
    background: #e2e8f0;
    margin: 0 1.5rem;
}

.search-btn {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    font-size: 1.5rem;
    padding: 0;
    flex-shrink: 0;
}

/* =============== DESTINATIONS SECTION =============== */
.destinations {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 3.5rem;
}

.dest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.dest-card {
    background: var(--surface-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-medium);
}

.dest-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.1);
}

.dest-img-wrap {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.dest-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.dest-card:hover .dest-img {
    transform: scale(1.1);
}

/* Alpine placeholder since generator stopped */
.dest-img-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
}

.swiss-bg {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    transition: var(--transition-slow);
}

.dest-card:hover .swiss-bg {
    transform: scale(1.1);
}

.swiss-bg::after {
    content: '🏔️';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    opacity: 0.6;
}

.dest-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
}

.favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: #fff;
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition-fast);
}

.favorite-btn:hover,
.favorite-btn.active {
    color: #ef4444;
    background: #fee2e2;
}

.dest-content {
    padding: 1.5rem;
}

.rating {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.location {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.dest-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 1.2rem;
    border-top: 1px dashed #e2e8f0;
}

.price-start {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.price h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0;
}

/* =============== FEATURES / WHY US =============== */
.features-travel {
    padding: 6rem 0;
}

.feature-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.polaroid-stack {
    position: relative;
    height: 500px;
    width: 100%;
}

.pic {
    position: absolute;
    border: 12px solid #fff;
    border-bottom-width: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    width: 80%;
    height: auto;
}

.pic-1 {
    top: 0;
    left: 0;
    transform: rotate(-8deg);
    z-index: 2;
}

.pic-2 {
    bottom: 0;
    right: 0;
    transform: rotate(5deg);
    z-index: 1;
}

.floating-badge {
    position: absolute;
    bottom: 50px;
    left: -20px;
    background: #fff;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 3;
    color: var(--primary-color);
}

.floating-badge div {
    display: flex;
    flex-direction: column;
}

.floating-badge strong {
    font-size: 1.5rem;
    color: var(--text-primary);
    line-height: 1;
}

.floating-badge span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: #e0f2fe;
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.text-box h4 {
    margin-bottom: 0.2rem;
}

.text-box p {
    font-size: 0.95rem;
}

/* =============== CTA PROMO =============== */
.cta-travel {
    padding: 8rem 0;
    background: url('assets/hero_travel_1771834449464.png') no-repeat center center/cover;
    position: relative;
}

.cta-travel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 165, 233, 0.85);
    backdrop-filter: blur(5px);
}

.cta-box-travel {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: #fff;
}

.cta-box-travel h2 {
    color: #fff;
    font-size: 3rem;
}

.cta-box-travel p {
    color: #e0f2fe;
    font-size: 1.1rem;
}

/* =============== FOOTER =============== */
footer {
    background: var(--text-primary);
    color: #fff;
    position: relative;
    padding: 4rem 0 0;
}

.custom-shape-divider-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.shape-fill {
    fill: #f8fafc;
}

/* Should match the section above it, but hardcoded for simplicity */

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

.footer-links h4,
.footer-contact h4 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--text-secondary);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.social-links-travel a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
}

.social-links-travel a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 1.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* =============== ANIMATIONS =============== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* =============== RESPONSIVE =============== */
@media (max-width: 992px) {
    .dest-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-wrapper {
        grid-template-columns: 1fr;
    }

    .polaroid-stack {
        height: 400px;
        max-width: 500px;
        margin: 0 auto 3rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .search-ribbon {
        margin-top: 2rem;
    }

    .tour-search-form {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .search-divider {
        width: 100%;
        height: 1px;
        margin: 0.5rem 0;
    }

    .search-btn {
        width: 100%;
        margin-top: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .navbar .btn {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .dest-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}