:root {
    --bg-color: #1a1a1a;
    --text-color: #e0e0e0;
    --accent-color: #888;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --cursor-size: 8px;
    --cursor-outline-size: 40px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Hide default cursor for custom one */
}

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

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

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: var(--cursor-size);
    height: var(--cursor-size);
    background-color: white;
}

.cursor-outline {
    width: var(--cursor-outline-size);
    height: var(--cursor-outline-size);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}



/* Typography Utility */
.italic {
    font-style: italic;
    font-weight: 400;
    color: #fff;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
    /* Ensures visibility on light/dark backgrounds */
}

.nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    font-size: 1.5rem;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    /* Adjust based on preference */
    width: auto;
    filter: invert(1);
    /* Invert if the logo is black-on-white, or remove if already white-on-black */
    mix-blend-mode: difference;
}

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

.nav-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: white;
    transition: width 0.3s ease;
}

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

/* Sections */
.section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 4rem 2rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 4rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Hero */
.hero {
    overflow: hidden;
}

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

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) blur(0px);
    /* Initial state */
    transform: scale(1.1);
    transition: filter 1s ease, transform 10s ease-out;
    /* Slight zoom interaction on load could be nice, handled in JS or CSS animation */
    animation: slowZoom 20s infinite alternate;
}

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

    100% {
        transform: scale(1.15);
    }
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-size: 6rem;
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.7;
    letter-spacing: 1px;
}

/* About */
.about-text {
    font-size: 1.5rem;
    max-width: 800px;
    font-weight: 300;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 2rem;
}



/* Gallery */
.gallery-grid {
    column-count: 3;
    column-gap: 2rem;
    width: 100%;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    background-color: #1a1a1a;
    margin-bottom: 2rem;
    /* Spacing for masonry items */
    break-inside: avoid;
    /* Prevent items from splitting across columns */
    border-radius: 4px;
    /* Optional: slight refinement */
}

.gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    /* Maintain original aspect ratio */
    filter: grayscale(100%) contrast(1.1) brightness(0.8);
    transition: transform 0.6s ease, filter 0.6s ease;
}

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

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

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

.overlay-title {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-style: italic;
}

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

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

/* Contact */
.contact-content {
    text-align: center;
}

.contact-text {
    font-size: 2rem;
    margin-bottom: 3rem;
    font-weight: 300;
}

.contact-btn {
    display: inline-block;
    padding: 1rem 3rem;
    border: 1px solid white;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: background 0.3s ease, color 0.3s ease;
}

.contact-btn:hover {
    background: white;
    color: black;
}

/* Footer */
.footer {
    padding: 2rem;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.4;
    border-top: 1px solid #222;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.scroll-indicator span {
    display: block;
    width: 100%;
    height: 100%;
    background: white;
    animation: scrollDown 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollDown {
    0% {
        transform: translateY(-100%);
    }

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

@media (max-width: 768px) {
    .header {
        padding: 1.5rem;
    }

    .nav-links {
        display: none;
        /* Simple hiding for mvp, ideally hamburger */
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .about-text {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 3rem;
    }
}

/* Social Media Links */
.social-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-icon {
    font-size: 1.5rem;
    color: var(--text-color);
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    color: white;
}