:root {
    --primary: #4361ee;
    --primary-hover: #3a56d4;
    --secondary: #ff7e67;
    --dark: #0f172a;
    --gray-dark: #334155;
    --gray: #64748b;
    --gray-light: #f1f5f9;
    --white: #ffffff;
    --bg-color: #fafaf9;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -4px rgba(0,0,0,0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.025);
    --shadow-float: 0 30px 40px -10px rgba(67, 97, 238, 0.15);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--gray-dark);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
    outline: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-gray {
    background-color: #f8fafc;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.section-header.text-center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
}

.grid {
    display: grid;
    gap: 30px;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 16px 0;
    position: fixed;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo i {
    color: var(--primary);
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--gray);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--dark);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary);
}

.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-ghost {
    font-weight: 600;
    color: var(--dark);
    padding: 10px 20px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 14px rgba(67, 97, 238, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.4);
}

.btn-outline {
    border: 1px solid var(--gray-light);
    color: var(--dark);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    border-color: var(--dark);
    background-color: var(--dark);
    color: var(--white);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 24px;
}

.hero-content h1 span {
    color: var(--primary);
    position: relative;
}

.hero-content h1 span::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: rgba(67, 97, 238, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 48px;
    max-width: 480px;
}

/* Search Bar Container */
.search-bar {
    background: var(--white);
    border-radius: var(--radius-full);
    padding: 12px 12px 12px 32px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-lg);
    gap: 20px;
    border: 1px solid rgba(0,0,0,0.03);
}

.search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.search-item i {
    font-size: 1.5rem;
    color: var(--secondary);
    background: rgba(255, 126, 103, 0.1);
    padding: 10px;
    border-radius: 50%;
}

.search-info label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 2px;
}

.search-info input {
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--gray);
    width: 100%;
    background: transparent;
}

.search-info input::placeholder {
    color: var(--gray);
    opacity: 0.7;
}

.divider {
    width: 1px;
    height: 40px;
    background-color: var(--gray-light);
}

.btn-search {
    background-color: var(--primary);
    color: var(--white);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.btn-search:hover {
    background-color: var(--primary-hover);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.4);
}

.hero-image-wrapper {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    height: 600px;
    box-shadow: var(--shadow-float);
}

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

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.badge-1 {
    top: 60px;
    left: -30px;
}

.badge-2 {
    bottom: 60px;
    right: -30px;
    animation-delay: 2s;
}

.badge-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.badge-1 .badge-icon {
    background: #FEF3C7;
    color: #F59E0B;
}

.badge-2 .badge-icon {
    background: #E0E7FF;
    color: var(--primary);
}

.floating-badge h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
}

.floating-badge p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

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

.destination-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0,0,0,0.02);
}

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

.card-img-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 240px;
    margin-bottom: 20px;
}

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

.destination-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.heart-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 1.2rem;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.heart-btn:hover {
    color: #ef4444;
    background: var(--white);
    transform: scale(1.1);
}

.tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.card-top h3 {
    font-size: 1.25rem;
    color: var(--dark);
    font-weight: 700;
}

.rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}

.rating i {
    color: #F59E0B;
}

.location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--gray-light);
}

.price {
    font-size: 0.85rem;
    color: var(--gray);
}

.price span {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.btn-book {
    background-color: var(--gray-light);
    color: var(--dark);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-book:hover {
    background-color: var(--dark);
    color: var(--white);
}

/* Services */
.services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(67, 97, 238, 0.1);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 24px;
}

.icon-blue { background: rgba(67, 97, 238, 0.1); color: var(--primary); }
.icon-orange { background: rgba(255, 126, 103, 0.1); color: var(--secondary); }
.icon-green { background: rgba(16, 185, 129, 0.1); color: #10B981; }

.service-card h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 16px;
}

.service-card p {
    color: var(--gray);
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 100px 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 24px;
    display: inline-flex;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

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

.footer-links h4, .footer-contact h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-links ul li {
    margin-bottom: 16px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    padding: 8px;
}

.newsletter-form input {
    background: transparent;
    border: none;
    outline: none;
    padding: 12px 16px;
    color: var(--white);
    width: 100%;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    background: var(--primary);
    color: var(--white);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary-hover);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.bottom-links {
    display: flex;
    gap: 24px;
}

.bottom-links a:hover {
    color: var(--white);
}

/* Responsive */
@media (max-width: 1024px) {
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content p {
        margin: 0 auto 48px;
    }
    
    .search-bar {
        flex-direction: column;
        border-radius: var(--radius-lg);
        padding: 24px;
    }
    
    .divider {
        width: 100%;
        height: 1px;
        margin: 16px 0;
    }
    
    .search-item {
        width: 100%;
    }
    
    .btn-search {
        width: 100%;
        border-radius: var(--radius-md);
        margin-top: 20px;
    }
    
    .floating-badge {
        display: none;
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Auth Modal */
.auth-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.auth-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.auth-modal-card {
    background: white;
    width: 90%;
    max-width: 420px;
    border-radius: 24px;
    padding: 40px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-modal-overlay.active .auth-modal-card {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-modal:hover {
    background: #e2e8f0;
    color: var(--dark);
}

.auth-tabs {
    display: flex;
    background: #f8fafc;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 30px;
}

.auth-tab {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    font-weight: 600;
    color: var(--gray);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-tab.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.auth-form {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.auth-form.active {
    display: block;
}

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

.auth-form h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.auth-form p {
    color: var(--gray);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.input-group {
    position: relative;
    margin-bottom: 16px;
}

.input-group i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.2rem;
}

.input-group input {
    width: 100%;
    padding: 14px 16px 14px 45px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    outline: none;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #f8fafc;
    color: var(--dark);
}

.input-group input:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.form-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    cursor: pointer;
}

.form-options a {
    color: var(--primary);
    font-weight: 500;
}

.btn-block {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    margin-bottom: 24px;
}

.social-login p {
    text-align: center;
    margin-bottom: 16px;
    position: relative;
}

.social-login p::before,
.social-login p::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 25%;
    height: 1px;
    background: #e2e8f0;
}
.social-login p::before { left: 0; }
.social-login p::after { right: 0; }

.social-btns {
    display: flex;
    gap: 16px;
}

.btn-social {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--dark);
    font-size: 1.2rem;
}

.btn-social:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}
