:root {
    --bg-color: #030303;
    --text-primary: #ffffff;
    --text-muted: #8a8a8a;
    --accent: #d4af37;
    --accent-op: rgba(212, 175, 55, 0.1);
    --glass-bg: rgba(10, 10, 10, 0.6);
    --glass-border: rgba(255, 255, 255, 0.05);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-weight: 300;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    letter-spacing: normal;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    text-decoration: none;
    color: var(--text-primary);
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-main {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.logo-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.5rem;
    font-weight: 200;
    letter-spacing: 0.45em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 5px;
}

/* Custom Cursor */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1000;
    mix-blend-mode: screen;
    transition: width 0.3s, height 0.3s;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: transparent;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 1rem 5%;
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 5%;
    background: radial-gradient(circle at 50% 50%, rgba(20, 20, 20, 1) 0%, var(--bg-color) 80%);
}

.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards 0.5s;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.highlight {
    background: linear-gradient(135deg, #fff 0%, #666 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
    font-weight: 600;
    padding-right: 0.25em;
    /* Fixes final letter clipping in italic WebKit text */
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
    background: transparent;
    border: 1px solid var(--text-primary);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--text-primary);
    transition: top 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: -1;
}

.cta-button:hover {
    color: var(--bg-color);
}

.cta-button:hover::before {
    top: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeIn 1s forwards 1.5s;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite cubic-bezier(0.19, 1, 0.22, 1);
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* Gallery Section */
.gallery-section {
    padding: 8rem 5%;
    min-height: 100vh;
}

.section-headers {
    margin-bottom: 5rem;
    max-width: 600px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

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

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #111;
    cursor: pointer;
    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.6s ease;
}

@media (max-width: 900px) {
    .bento-grid {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .bento-grid {
        column-count: 1;
    }
}

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1), filter 0.6s ease;
    filter: brightness(0.8) contrast(1.1);
}

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

.gallery-item::after {
    content: 'View';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    color: #fff;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem 2rem;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.gallery-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Contact Section */
.contact-section {
    padding: 5rem 5%;
    display: flex;
    justify-content: center;
}

.contact-card.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 5rem;
    border-radius: 24px;
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.contact-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.contact-btn {
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
    background: transparent;
    border: 1px solid var(--text-primary);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

/* Footer */
footer {
    padding: 2rem 5%;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 2rem;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    color: #fff;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes scroll {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 22px;
        opacity: 0;
    }
}

/* Custom Selection */
::selection {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}