@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;800&family=Inter:wght@300;400;600&display=swap');

:root {
    --color-bg: #050505;
    --color-text: #e5e7eb;
    --color-text-muted: #9ca3af;
    --color-accent-blue: #38bdf8;
    --color-accent-orange: #ea580c;
    --color-accent-gold: #facc15;
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(24px);
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    
    --section-spacing: clamp(4rem, 10vw, 8rem);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Global Effects Layers */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(images/%23noiseFilter)"/%3E%3C/svg%3E');
}

.cinematic-vignette {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9998;
    background: radial-gradient(circle, transparent 50%, rgba(2, 6, 23, 0.9) 100%);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }

.flicker {
    animation: textFlicker 4s infinite alternate;
}

@keyframes textFlicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; text-shadow: 0 0 10px rgba(234, 88, 12, 0.5); }
    20%, 24%, 55% { opacity: 0.7; text-shadow: none; }
}

p {
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    color: var(--color-text-muted);
    max-width: 70ch;
}

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

/* Layout Utilities */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.section {
    padding: var(--section-spacing) 0;
    position: relative;
    z-index: 10;
}

/* Glassmorphism Components */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-text);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: var(--color-text);
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    color: var(--color-bg);
    box-shadow: 0 0 20px rgba(229, 231, 235, 0.3);
}

.btn-accent {
    background: transparent;
    color: var(--color-accent-orange);
    border: 1px solid var(--color-accent-orange);
}

.btn-accent:hover {
    background: var(--color-accent-orange);
    color: var(--color-bg);
    box-shadow: 0 0 20px rgba(234, 88, 12, 0.4);
}

/* Navigation */
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
}

header.scrolled {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--color-text);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

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

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

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

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

.menu-toggle span {
    width: 30px; height: 2px;
    background: var(--color-text);
    transition: var(--transition-smooth);
}

/* Mobile Menu */
@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 100vw; height: 100vh;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition-smooth);
    }
    
    .nav-links.nav-active {
        right: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .toggle-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .toggle-active span:nth-child(2) { opacity: 0; }
    .toggle-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

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

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate linear;
    z-index: 1;
}

@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(5,5,5,0.2) 0%, rgba(5,5,5,0.9) 100%);
    z-index: 2;
}

/* Fog Effect */
.fog-layer {
    position: absolute;
    width: 200%; height: 100%;
    top: 0; left: 0;
    background: url('images/photo-1487621167305-5d248087c724.png') repeat-x;
    background-size: cover;
    opacity: 0.15;
    mix-blend-mode: screen;
    z-index: 3;
    pointer-events: none;
}

.fog-1 { animation: drift 60s linear infinite; }
.fog-2 { animation: drift 90s linear infinite reverse; opacity: 0.1; top: 10%; }

@keyframes drift {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
}

.hero-content h1 {
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hero-content p {
    margin: 0 auto 2.5rem;
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }

/* Cards */
.location-card {
    position: relative;
    height: 450px;
    overflow: hidden;
    cursor: pointer;
    border-radius: 2px;
}

.location-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    filter: grayscale(40%) contrast(1.2);
}

.location-card:hover img {
    transform: scale(1.1);
    filter: grayscale(0%) contrast(1.1);
}

.card-info {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 2rem;
    background: linear-gradient(0deg, rgba(5,5,5,0.9) 0%, transparent 100%);
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.location-card:hover .card-info {
    transform: translateY(0);
}

.card-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.card-info p {
    font-size: 0.9rem;
    opacity: 0;
    transition: var(--transition-smooth);
}

.location-card:hover .card-info p {
    opacity: 1;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    color: var(--color-text);
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--color-accent-blue);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
    background: #020202;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--color-accent-blue);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--color-accent-orange);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Gallery Masonry */
.masonry-grid {
    column-count: 3;
    column-gap: 1.5rem;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.masonry-item img {
    width: 100%;
    display: block;
    filter: brightness(0.7) contrast(1.2);
    transition: var(--transition-smooth);
}

.masonry-item:hover img {
    filter: brightness(1) contrast(1.1);
    transform: scale(1.03);
}

@media (max-width: 1024px) { .masonry-grid { column-count: 2; } }
@media (max-width: 768px) { .masonry-grid { column-count: 1; } .footer-grid { grid-template-columns: 1fr; } }

/* Scroll Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

@media (pointer: fine) {
    .custom-cursor { display: block; }
}

body:hover .custom-cursor {
    background: rgba(56, 189, 248, 0.2);
}

/* Page specific Header padding */
.page-header {
    padding-top: 15vh;
    padding-bottom: 5vh;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
    background: linear-gradient(180deg, rgba(15,23,42,0.5) 0%, var(--color-bg) 100%);
}

.text-center { text-align: center; }
.mb-2 { margin-bottom: 2rem; }
.mt-4 { margin-top: 4rem; }

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5,5,5,0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 2rem; right: 2rem;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}