/* 
  Voyage - High-end Modern Travel/Lifestyle Brand Style Sheet
  Designed for: Modern Luxury, Minimalist, Editorial Feel
*/

:root {
    /* Color Palette */
    --primary-color: #4F46E5; /* Deep Indigo / Royal Blue */
    --primary-hover: #4338CA;
    --secondary-purple: #7C3AED;
    --secondary-green: #10B981;
    
    --bg-dark: #050505;
    --bg-card: #121212;
    --bg-footer: #0A0A0A;
    
    --text-primary: #FFFFFF;
    --text-secondary: #A1A1AA;
    --text-muted: #71717A;
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --fw-bold: 700;
    --fw-medium: 500;
    --fw-regular: 400;
    
    /* Spacing & Sizing */
    --container-max: 1440px;
    --section-spacing: 120px;
    --border-radius-lg: 32px;
    --border-radius-md: 16px;
    --border-radius-sm: 8px;
    
    /* Animation */
    --transition-base: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 1. Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

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

h1, h2, h3, h4 {
    line-height: 1.1;
    font-weight: var(--fw-bold);
    letter-spacing: -0.02em;
}

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.8;
}

/* 2. Utility Classes */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

.section-padding {
    padding: var(--section-spacing) 0;
}

.text-uppercase {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    font-weight: var(--fw-medium);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 3. Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: var(--fw-medium);
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-outline:hover {
    border-color: white;
    background-color: rgba(255, 255, 255, 0.05);
}

/* 4. Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition-base);
}

.header.scrolled {
    padding: 16px 0;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: var(--fw-bold);
    letter-spacing: -0.03em;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.nav-link:hover {
    color: var(--text-primary);
}

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

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

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

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-image-matrix {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    height: 600px;
}

.matrix-img {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: absolute;
}

.matrix-img-1 { grid-area: 1 / 1 / 8 / 7; z-index: 1; }
.matrix-img-2 { grid-area: 3 / 8 / 12 / 13; z-index: 2; }
.matrix-img-3 { grid-area: 9 / 1 / 13 / 6; z-index: 3; }

.floating-card {
    position: absolute;
    bottom: 10%;
    left: -10%;
    padding: 24px;
    border-radius: var(--border-radius-md);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* 6. Content Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.destination-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    height: 500px;
    cursor: pointer;
}

.destination-card img {
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease;
}

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

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card-tag {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    width: fit-content;
    margin-bottom: 12px;
}

/* 7. Footer */
.footer {
    background-color: var(--bg-footer);
    padding: 100px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand p {
    margin: 24px 0;
    max-width: 300px;
}

.footer-column h4 {
    margin-bottom: 24px;
    font-size: 1rem;
    color: var(--text-primary);
}

.footer-link {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 0.9375rem;
}

.footer-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* 8. Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: fadeInUp 0.8s ease forwards;
}

/* 9. Responsive Design */
@media (max-width: 1024px) {
    :root {
        --section-spacing: 80px;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-grid {
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
    
    .footer-column:last-child {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    .nav-menu {
        display: none; /* In real project, use hamburger menu */
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content p {
        margin: 0 auto 40px;
    }
    
    .hero-image-matrix {
        height: 450px;
    }
    
    .matrix-img-1 { grid-area: 1 / 1 / 9 / 12; }
    .matrix-img-2, .matrix-img-3, .floating-card { display: none; }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
}

/* Scrollbar Style */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}