:root {
    --bg-color: #050505;
    --text-main: #ffffff;
    --text-muted: #888888;
    --accent: #d4af37; /* Elegant gold accent if needed, though we keep it minimal */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.3s ease;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    cursor: none; /* We will use a custom cursor */
}

/* CUSTOM CURSOR */
#cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--text-main);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 99999;
    mix-blend-mode: difference;
    transition: width 0.3s ease, height 0.3s ease;
}
#cursor.hovered {
    width: 60px;
    height: 60px;
    background-color: transparent;
    border: 1px solid var(--text-main);
}

/* TYPOGRAPHY */
h1, h2, h3 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* UTILITIES */
.hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 0 !important;
    overflow: hidden !important;
}

.glass-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-main);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-family: var(--font-main);
    border-radius: 30px;
    cursor: none; /* Custom cursor */
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.small-btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
}

/* =======================================
   LANDING PAGE
   ======================================= */
#landing {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 1s ease;
}

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

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.2s ease, transform 6s ease-out;
}

.bg-image.active {
    opacity: 0.4; /* Dimmed so text pops */
    transform: scale(1);
}

.landing-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 10;
    width: 100%;
    padding: 2rem;
}

.landing-header h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 0.5rem;
    font-weight: 200;
}

.landing-header p {
    font-size: 1rem;
    letter-spacing: 0.3em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4rem;
}

.destinations-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2vh;
    margin-bottom: 2vh;
}

.destinations-nav li {
    font-size: clamp(1.5rem, 8vmin, 7rem);
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-muted);
    text-transform: uppercase;
    cursor: none;
    transition: var(--transition-slow);
    line-height: 1.1;
    white-space: nowrap;
}

.destinations-nav li:hover {
    color: var(--text-main);
    -webkit-text-stroke: 1px var(--text-main);
    transform: scale(1.05);
}

/* =======================================
   GALLERY VIEW
   ======================================= */
#gallery-view {
    min-height: 100vh;
    width: 100%;
    padding: 2rem 5%;
    opacity: 1;
    transition: opacity 1s ease;
    visibility: visible;
}

.gallery-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
    padding-top: 2rem;
}

@media (min-width: 768px) {
    .gallery-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.logo h2 {
    font-size: 1.5rem;
    font-weight: 200;
}

.logo span {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-main);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: none;
    padding: 0.5rem 1rem;
    position: relative;
    transition: var(--transition-fast);
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: var(--text-main);
    transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    color: var(--text-main);
}

.filter-btn.active::after {
    width: 100%;
}

/* MASONRY GRID */
.masonry-grid {
    column-count: 1;
    column-gap: 20px;
    width: 100%;
}

@media (min-width: 600px) {
    .masonry-grid {
        column-count: 2;
    }
}

@media (min-width: 900px) {
    .masonry-grid {
        column-count: 3;
    }
}

@media (min-width: 1200px) {
    .masonry-grid {
        column-count: 4;
    }
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: none;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    margin-bottom: 20px;
    break-inside: avoid;
    display: inline-block;
    width: 100%;
}

.photo-item.loaded {
    opacity: 1;
    transform: translateY(0);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.photo-item:hover img {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.photo-item:hover .photo-overlay {
    opacity: 1;
    transform: translateY(0);
}

.photo-category {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* =======================================
   LIGHTBOX
   ======================================= */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.4s ease;
    cursor: none; /* Cursor behaves differently here maybe, or we let default */
}

#lightbox.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

#lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

#lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: none;
    transition: var(--transition-fast);
}

#lightbox-close:hover {
    color: var(--text-muted);
    transform: scale(1.2);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: none;
    transition: var(--transition-fast);
    z-index: 10001;
    padding: 20px;
}

.lightbox-nav:hover {
    color: var(--text-muted);
}

#lightbox-prev {
    left: -80px;
}

#lightbox-next {
    right: -80px;
}
