/**
 * KAEL TOURS - Modern Design System (Luxury Hospitality Edition)
 * Identity: The Azure Horizon - Refined
 * Version: 2.0 - Enhanced UI/UX Edition
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Marcellus&display=swap');

:root {
    /* Color Palette - Boutique Luxury */
    --color-primary: #020617;
    /* Deepest Indigo */
    --color-primary-light: #0f172a;
    --color-secondary: #0D9488;
    /* Mature Teal */
    --color-secondary-light: #2DD4BF;
    --color-accent: #D4AF37;
    /* Champagne Gold */
    --color-white: #FFFFFF;
    --color-surface: #F8FAFC;
    --color-gray-100: #F1F5F9;
    --color-gray-200: #E2E8F0;
    --color-gray-500: #64748B;
    --color-danger: #EF4444;

    /* Typography - Professional Hotel Style */
    --font-heading: 'Marcellus', serif;
    --font-serif: 'Playfair Display', serif;
    --font-primary: 'Outfit', sans-serif;

    /* Spacing & Borders */
    --border-radius-lg: 1.25rem;
    --border-radius-xl: 2rem;
    --border-radius-full: 9999px;

    /* Shadows & Effects */
    --shadow-soft: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 40px -8px rgba(2, 6, 23, 0.12);
    --shadow-glass: 0 4px 30px rgba(0, 0, 0, 0.1);
    --glass-background: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.3);

    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-primary);
    background-color: var(--color-surface);
    color: var(--color-primary-light);
    line-height: 1.7;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
.font-vanguard {
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p {
    font-weight: 400;
    color: var(--color-gray-500);
    line-height: 1.8;
}

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

a:hover {
    color: var(--color-secondary);
}

/* =============================================
   LAYOUT & CONTAINERS
   ============================================= */
.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
    position: relative;
}

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

.mb-5 {
    margin-bottom: 3rem;
}

.w-100 {
    width: 100%;
}

.d-flex {
    display: flex;
}

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

.justify-content-between {
    justify-content: space-between;
}

.mr-2 {
    margin-right: 0.5rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-secondary-light));
    margin: 1.5rem auto 0;
    border-radius: var(--border-radius-full);
    animation: scaleIn 0.8s ease-out 0.3s both;
}

@keyframes scaleIn {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

/* =============================================
   MODERN NAVBAR
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    background: var(--glass-background);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-soft);
}

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

.navbar-logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: var(--transition-fast);
}

.navbar-logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.navbar-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.navbar-menu a {
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-white);
    position: relative;
}

.navbar.scrolled .navbar-menu a {
    color: var(--color-primary);
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: var(--transition-smooth);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
    width: 100%;
}

/* =============================================
   HERO VANGUARD (The Cinema Look)
   ============================================= */
.hero {
    height: 100vh;
    min-height: 800px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-primary);
    color: white;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: soft-light;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(13, 148, 136, 0.2) 0%, rgba(2, 6, 23, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.9;
    margin-bottom: 2rem;
    animation: splitReveal 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

@keyframes splitReveal {
    from {
        opacity: 0;
        transform: translateY(50px);
        letter-spacing: 0.2em;
    }

    to {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: -0.02em;
    }
}

.hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    margin-bottom: 3rem;
    font-family: var(--font-primary);
    text-transform: none;
}

/* =============================================
   BUTTONS PRESTIGE
   ============================================= */
.btn {
    padding: 1.25rem 2.5rem;
    border-radius: var(--border-radius-full);
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    border: none;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    font-size: 0.875rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-light) 100%);
    color: white;
    box-shadow: 0 10px 25px rgba(13, 148, 136, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(13, 148, 136, 0.5);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    box-shadow: 0 10px 25px rgba(2, 6, 23, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(2, 6, 23, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
    background: white;
    color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* =============================================
   GLASS SEARCH BOX
   ============================================= */
.search-section {
    position: relative;
    margin-top: -100px;
    z-index: 20;
}

.glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-premium);
    border-radius: var(--border-radius-xl);
    padding: 2.5rem;
}

.search-box {
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-secondary) !important;
}

/* =============================================
   VANGUARD CARDS (Bento Style)
   ============================================= */
.grid {
    display: grid;
    gap: 2.5rem;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.card {
    background: white;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    transition: var(--transition-fast);
    border: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-soft);
}

.card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-premium);
    border-color: var(--color-secondary);
}

.card:active {
    transform: translateY(-10px) scale(1.01);
}

.card-image-container {
    height: 300px;
    position: relative;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card-image {
    transform: scale(1.1) rotate(1deg);
}

.card-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--color-secondary);
    color: white;
    padding: 0.5rem 1.25rem;
    font-weight: 800;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.75rem;
    border-radius: var(--border-radius-full);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: popIn 0.5s ease-out;
    z-index: 10;
}

@keyframes popIn {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.1) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.card-content {
    padding: 2.5rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    transition: var(--transition-fast);
}

.card:hover .card-title {
    color: var(--color-secondary);
}

.card-description {
    font-size: 0.95rem;
    color: var(--color-gray-500);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-gray-200);
}

.card-price {
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1;
}

/* =============================================
   HOTELS EXCLUSIVOS (Floating Design)
   ============================================= */
.hotel-card {
    position: relative;
    border-radius: var(--border-radius-xl);\n    overflow: hidden;
    height: 500px;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-soft);
}

/* =============================================
   HOTELS EXCLUSIVOS (Floating Design)
   ============================================= */
.hotel-card {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    height: 500px;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-soft);
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.hotel-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hotel-card:hover .hotel-card-image {
    transform: scale(1.1);
}

.hotel-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
}

.hotel-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.95), transparent);
    color: white;
    padding: 3rem 2rem;
    transition: var(--transition-fast);
}

.hotel-card:hover .card-content {
    padding: 3.5rem 2rem;
}

.hotel-card h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.hotel-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* =============================================
   GRID SYSTEM
   ============================================= */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

/* =============================================
   ANIMATIONS & UTILITIES
   ============================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

/* Hero specific animation - keeps text visible */
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-fade-in {
    animation: heroFadeIn 1s ease-out forwards;
    opacity: 1;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* =============================================
   PULSE ANIMATION FOR ICONS
   ============================================= */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.icon-pulse:hover i {
    animation: pulse 0.6s ease-in-out;
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */
@media (max-width: 1024px) {

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .hero h1 {
        font-size: 4rem;
    }

    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {

    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .navbar-menu {
        display: none;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .section {
        padding: 4rem 0;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
    }

    .search-section {
        margin-top: -50px;
    }

    .glass {
        padding: 1.5rem;
    }

    .card-content {
        padding: 1.5rem;
    }

    .hotel-card {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        padding: 1rem 2rem;
        font-size: 0.8rem;
    }
}