:root {
    --bg-color: #FFFDD0;
    --text-color: #003366;
    --accent-color: #FFCC00;
    --font-display: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Custom cursor everywhere */
}

body {
    background-color: #fff;
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 1px solid var(--text-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    mix-blend-mode: difference;
}

body.hovering .cursor {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: transparent;
}

/* Navigation */
.nav-trigger {
    position: fixed;
    top: 40px;
    right: 40px;
    z-index: 1000;
    mix-blend-mode: difference;
    cursor: none;
}

.hamburger {
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

body.nav-open .hamburger span:first-child {
    transform: rotate(45deg) translate(5px, 6px);
}

body.nav-open .hamburger span:last-child {
    transform: rotate(-45deg) translate(5px, -6px);
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 33, 71, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

body.nav-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
}

.nav-links {
    list-style: none;
    text-align: center;
}

.nav-links li {
    font-family: var(--font-display);
    font-size: 3rem;
    margin: 20px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    cursor: none;
}

body.nav-open .nav-links li {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for nav items */
body.nav-open .nav-links li:nth-child(1) {
    transition-delay: 0.1s;
}

body.nav-open .nav-links li:nth-child(2) {
    transition-delay: 0.2s;
}

body.nav-open .nav-links li:nth-child(3) {
    transition-delay: 0.3s;
}

body.nav-open .nav-links li:nth-child(4) {
    transition-delay: 0.4s;
}

body.nav-open .nav-links li:nth-child(5) {
    transition-delay: 0.5s;
}

.nav-links li:hover {
    color: var(--accent-color);
    letter-spacing: 5px;
}

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

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.logo {
    position: absolute;
    font-family: var(--font-display);
    font-size: 6vw;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 10px;
    opacity: 1;
    transition: opacity 0.5s ease;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.hero:hover .logo {
    opacity: 1;
    text-shadow: 0 0 30px var(--accent-color);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    font-size: 0.8rem;
    letter-spacing: 3px;
    opacity: 0.7;
    animation: float 2s infinite ease-in-out;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* Sections Common */
.section {
    min-height: 100vh;
    padding: 80px 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-label {
    position: absolute;
    top: 40px;
    left: 40px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    opacity: 0.5;
}

/* SIGHT */
.sight-section {
    overflow: hidden;
    padding-left: 0;
    padding-right: 0;
    background-color: var(--text-color);
    color: var(--bg-color);
}

.sight-section .section-label {
    color: var(--bg-color);
    opacity: 0.9;
}

.horizontal-scroll-container {
    display: flex;
    gap: 20px;
    padding-left: 40px;
    padding-right: 40px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
}

.horizontal-scroll-container.active {
    cursor: grabbing;
}

.horizontal-scroll-container::-webkit-scrollbar {
    display: none;
}

.sight-item {
    min-width: 60vw;
    height: 70vh;
    background-color: #222;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 30px;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 4px;
    overflow: hidden;
}

.sight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 2;
    pointer-events: none;
}

.sight-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.sight-item:hover {
    transform: scale(0.98);
}

/* Fallback Gradients for failed image generation */
.sight-item:nth-child(1) {
    background: linear-gradient(135deg, #1a1a1a 0%, #360033 100%);
}

.sight-item:nth-child(2) {
    background: linear-gradient(135deg, #0b8793 0%, #360033 100%);
}

.sight-item:nth-child(3) {
    background: linear-gradient(135deg, #f5af19 0%, #f12711 100%);
}

.sight-item:nth-child(4) {
    background: linear-gradient(135deg, #20002c 0%, #cbb4d4 100%);
}

.sight-item video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s ease;
}

.sight-item:hover video {
    transform: scale(1.05);
}

.sight-item .label {
    position: absolute;
    bottom: 30px;
    left: 30px;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    z-index: 10;
    pointer-events: none;
}

/* Video Modal Styling */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

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

.modal-content {
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16/9;
    background: #000;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.video-modal.active .modal-content {
    transform: scale(1);
}

.modal-content video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    /* Best for full video view in modal */
    background: #000;
}

.modal-close {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    z-index: 2001;
    line-height: 1;
}

/* Blur background effect */
.content-wrapper {
    transition: filter 0.5s ease, transform 0.5s ease;
}

body.modal-open .content-wrapper {
    filter: blur(20px) brightness(0.5);
    transform: scale(0.98);
}

/* SOUND */
.album-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.album-card {
    aspect-ratio: 1/1;
    background: #001f3f;
    position: relative;
    overflow: hidden;
    border: 1px solid #003366;
    transition: border-color 0.3s ease;
    cursor: none;
}

.album-card:hover {
    border-color: #fff;
}

.album-card img,
.placeholder-art {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.album-card:hover img,
.album-card:hover .placeholder-art {
    transform: scale(1.05);
}

.album-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.album-card:hover .album-info {
    opacity: 1;
    transform: translateY(0);
}

.album-info h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.album-info p {
    font-size: 0.9rem;
    color: #aaa;
}

/* TOUR */
.tour-section {
    align-items: center;
}

.tour-line {
    width: 2px;
    height: 80%;
    background: #003366;
    position: absolute;
    left: 50%;
    top: 10%;
    transform: translateX(-50%);
    z-index: 0;
}

.tour-stops {
    display: flex;
    flex-direction: column;
    gap: 15vh;
    z-index: 1;
    width: 100%;
    max-width: 800px;
}

.tour-stop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 51, 102, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.tour-stop:hover {
    background: rgba(0, 51, 102, 0.05);
    padding-left: 40px;
    padding-right: 40px;
}

.stop-marker {
    width: 10px;
    height: 10px;
    background: var(--text-color);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

.tour-stop:hover .stop-marker {
    transform: translate(-50%, -50%) scale(2);
    box-shadow: 0 0 20px white;
}

.date,
.city {
    font-family: var(--font-display);
    font-size: 1.5rem;
}

/* WORLD */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 40vh);
    gap: 10px;
    width: 100%;
}

.grid-item {
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.grid-item:hover {
    filter: grayscale(0%);
}

.item-lg {
    grid-column: span 2;
}

.item-md {
    grid-column: span 1;
}

.item-sm {
    grid-column: span 1;
}

/* SHOP */
.shop-section {
    background: var(--text-color);
    color: var(--bg-color);
    align-items: center;
}

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

.shop-content h2 {
    font-family: var(--font-display);
    font-size: 4rem;
    margin-bottom: 40px;
}

.btn-shop {
    display: inline-block;
    padding: 20px 60px;
    border: 2px solid var(--bg-color);
    color: var(--bg-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-shop:hover {
    background: var(--bg-color);
    color: var(--text-color);
}

@media (max-width: 768px) {
    .album-grid {
        grid-template-columns: 1fr;
    }

    .masonry-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 30vh);
    }

    .item-lg,
    .item-md,
    .item-sm {
        grid-column: span 1;
    }

    .tour-line {
        display: none;
    }

    .stop-marker {
        display: none;
    }

    .tour-stop {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    /* Mobile Shop Section Refinements */
    .shop-content h2 {
        font-size: 3rem;
        display: flex;
        flex-direction: column;
        line-height: 1;
        /* Tighter gap between "THE" and "COLLECTION" */
        margin-bottom: 20px;
        /* Reduced gap between text and button */
    }

    .shop-content h2 span {
        display: block;
    }

    .btn-shop {
        padding: 15px 30px;
        font-size: 1rem;
    }

    /* Fix for black gap on right side */
    .section {
        padding-left: 20px;
        padding-right: 20px;
        width: 100%;
        max-width: 100vw;
    }

    /* Hide custom cursor on mobile */
    .cursor {
        display: none !important;
    }

    * {
        cursor: auto !important;
    }
}