/* =========================================
   DESIGN SYSTEM
   ========================================= */
:root {
    --bg-color: #050505;
    --text-primary: #F0F0F0;
    --text-secondary: #aaaaaa;
    --accent: #D4AF37;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(12px);
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-med: all 0.4s ease-out;
}

*, *::before, *::after {
    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);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* Custom cursor */
}

/* =========================================
   CUSTOM CURSOR
   ========================================= */
.cursor {
    width: 20px;
    height: 20px;
    border: 1px solid var(--text-primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease, width 0.2s ease, height 0.2s ease;
    mix-blend-mode: difference;
}

.cursor.hovered {
    transform: translate(-50%, -50%) scale(3);
    background-color: var(--text-primary);
    opacity: 0.5;
    border: none;
}

/* =========================================
   PRELOADER
   ========================================= */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease-out;
}

.logo-fade {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-primary);
    letter-spacing: 0.5em;
    animation: fadeLogo 2s infinite ease-in-out;
}

@keyframes fadeLogo {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    text-transform: uppercase;
}

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

.section-title {
    font-size: 4rem;
    letter-spacing: 0.1em;
    text-align: center;
    margin-bottom: 4rem;
}

.accent-text {
    color: var(--accent);
    font-style: italic;
    font-family: 'Playfair Display', serif;
    text-transform: none;
}

/* =========================================
   HEADER
   ========================================= */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 2rem;
}

.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 1.5rem 3rem;
    border-radius: 100px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 1px;
    background: var(--text-primary);
}

/* =========================================
   HERO
   ========================================= */
.hero {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1); /* Slight zoom for parallax start */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5,5,5,0.3), rgba(5,5,5,0.8));
}

.hero-content {
    text-align: center;
    z-index: 2;
    transform: translateY(-50px);
}

.hero-title {
    font-size: 10rem;
    line-height: 0.9;
    letter-spacing: -0.02em;
    mix-blend-mode: overlay;
    opacity: 0.9;
}

/* =========================================
   SEARCH BAR
   ========================================= */
.search-bar-container {
    position: absolute;
    bottom: 5vh;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 1000px;
    z-index: 10;
}

.glass-search-bar {
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1rem 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.search-item {
    flex: 1;
    padding: 0 1.5rem;
}

.search-item label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.search-item input {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

.search-item input::placeholder {
    color: #555;
}

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

.search-btn {
    background-color: var(--text-primary);
    color: var(--bg-color);
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-med);
    margin-left: 1rem;
}

.search-btn:hover {
    background-color: var(--accent);
    color: var(--text-primary);
}

/* =========================================
   FEATURED DESTINATIONS (MASONRY)
   ========================================= */
.featured-destinations {
    padding: 10rem 5%;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 600px); /* Fixed height rows for layout */
    gap: 2rem;
}

.grid-item {
    position: relative;
    overflow: hidden;
    /* Glass border effect */
    border: 1px solid rgba(255,255,255,0.05); 
}

.item-large {
    grid-column: 1 / span 5;
    grid-row: 1 / span 2;
}

.item-small {
    grid-column: 6 / span 7;
    grid-row: 1;
}

.item-medium {
    grid-column: 6 / span 3;
    grid-row: 2;
}

.item-wide {
    grid-column: 9 / span 4;
    grid-row: 2;
}

.item-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    filter: grayscale(20%);
}

.grid-item:hover .item-image img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-med);
}

.grid-item:hover .item-info {
    transform: translateY(0);
    opacity: 1;
}

.location {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.item-info h3 {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
}


/* =========================================
   JOURNAL
   ========================================= */
.journal {
    padding: 5rem 10% 10rem;
    background-color: #080808; /* Slightly lighter for contrast */
}

.journal-list {
    max-width: 900px;
    margin: 0 auto;
}

.journal-entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 0;
    cursor: pointer;
}

.journal-thumb {
    width: 120px;
    height: 80px;
    object-fit: cover;
    margin-right: 2rem;
    opacity: 0.6;
    transition: var(--transition-med);
    filter: grayscale(100%);
}

.journal-entry:hover .journal-thumb {
    opacity: 1;
    transform: scale(1.05);
    filter: grayscale(0%);
}

.entry-date {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-secondary);
    width: 150px;
}

.entry-title {
    flex: 1;
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    transition: padding-left 0.3s ease, color 0.3s ease;
}

.journal-entry:hover .entry-title {
    padding-left: 20px;
    color: var(--accent);
}

.read-more {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

.journal-entry:hover .read-more {
    opacity: 1;
    transform: translateX(0);
}

.journal-divider {
    height: 1px;
    width: 100%;
    background-color: rgba(255,255,255,0.1);
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-section {
    padding: 10rem 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at center, #111 0%, #050505 70%);
}

.about-content {
    max-width: 800px;
}

.about-text {
    font-size: 1.2rem;
    line-height: 2;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-family: var(--font-heading); /* Mixing fonts for elegance */
    font-weight: 300;
}

.signature {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 2rem;
    letter-spacing: 0.1em;
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-section {
    padding: 12rem 5%;
    text-align: center;
    background-color: #050505;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.contact-wrapper {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.contact-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-top: -2rem;
    margin-bottom: 4rem;
}

.minimal-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

.minimal-form input {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--text-secondary);
    padding: 1rem 0;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-family: var(--font-heading);
    text-align: center;
    outline: none;
    transition: var(--transition-med);
}

.minimal-form input:focus {
    border-bottom-color: var(--accent);
}

.minimal-form input::placeholder {
    color: #333;
}

.submit-btn {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 1.2rem 3rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: var(--transition-med);
    align-self: center;
    font-family: var(--font-body);
}

.submit-btn:hover {
    background: var(--accent);
    color: #000;
}

.concierge-links {
    margin-top: 2rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
}

.concierge-link:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.separator {
    margin: 0 1rem;
    color: var(--accent);
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    padding: 5rem 5%;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 2rem;
    letter-spacing: 0.3em;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.copyright {
    color: #444;
    font-size: 0.8rem;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 1024px) {
    html {
        font-size: 15px; /* Slightly smaller base font */
    }
    .hero-title {
        font-size: 8rem;
    }
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 1.5rem;
    }
    .grid-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        height: 400px;
    }
    .about-section, .contact-section, .featured-destinations, .journal {
        padding-left: 5%;
        padding-right: 5%;
    }
}

@media (max-width: 768px) {
    /* Header & Nav */
    .glass-nav {
        padding: 1rem;
        background: transparent;
        border: none;
        backdrop-filter: none;
    }
    .nav-links {
        /* Full screen mobile menu - Cinematic style */
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        z-index: 90;
        opacity: 0;
        transition: opacity 0.5s ease;
    }
    .nav-links.active {
        display: flex;
        opacity: 1;
    }
    .nav-links a {
        font-size: 1.8rem;
        font-family: var(--font-heading);
    }
    .menu-toggle {
        display: flex;
        z-index: 100; /* Ensure toggle is above the overlay */
    }
    
    /* Hero */
    .hero-title {
        font-size: 4rem;
        letter-spacing: -0.05em;
    }
    
    /* Search Bar */
    .search-bar-container {
        width: 90%;
        bottom: 5vh;
    }
    .glass-search-bar {
        flex-direction: column;
        gap: 1.2rem;
        padding: 2rem;
        background: rgba(20, 20, 20, 0.6); /* Darker for legibility */
        backdrop-filter: blur(20px);
    }
    .divider { display: none; }
    .search-item { width: 100%; padding: 0; text-align: center; }
    .search-item input { text-align: center; font-size: 1.2rem; }
    .search-btn { width: 100%; margin: 0; padding: 1.2rem; }
    
    /* Sections */
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
    .masonry-grid {
        grid-template-columns: 1fr;
    }
    
    /* Journal */
    .journal {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
    .journal-entry {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        text-align: left;
    }
    .journal-thumb {
        width: 100%;
        height: 200px;
        margin: 0;
        opacity: 0.8;
        filter: grayscale(0%); /* Show color on mobile by default */
    }
    .entry-date {
        display: block; /* Show date on mobile */
        width: auto;
        font-size: 0.8rem;
        opacity: 0.7;
        order: -1; /* Date above title */
    }
    .entry-title {
        font-size: 1.8rem;
        padding: 0;
    }
    .read-more {
        opacity: 1; /* Always visible on mobile */
        transform: none;
        margin-top: 1rem;
        color: var(--accent);
    }
    .journal-entry:hover .entry-title {
        padding-left: 0; /* Disable hover shift on mobile */
    }

    /* About & Contact */
    .about-section, .contact-section {
        padding: 6rem 5%;
    }
    .about-text {
        font-size: 1rem;
    }
    .contact-section::before {
        width: 300px;
        height: 300px;
    }
    .minimal-form input {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 3rem;
    }
    .section-title {
        font-size: 2rem;
    }
}
