:root {
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --accent-color: #888888;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Oswald', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-primary);
    overflow-x: hidden;
    cursor: none;
    /* Custom cursor */
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 1px solid white;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s;
    transform: translate(-50%, -50%);
}

a:hover~.cursor {
    transform: translate(-50%, -50%) scale(2);
    background-color: white;
    mix-blend-mode: difference;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 40px;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
    backdrop-filter: blur(5px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 2px;
    font-weight: 500;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    opacity: 0;
    animation: fadeIn 1.5s ease-out forwards;
}

.profile-container {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.profile-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.profile-container:hover .profile-pic {
    transform: scale(1.1);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 5rem;
    letter-spacing: 10px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero p {
    color: var(--accent-color);
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Scroll Indicator */
.scrolldown {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 40px;
}

.scrolldown span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 1px solid white;
    border-right: 1px solid white;
    transform: rotate(45deg);
    margin: -5px auto 0;
    animation: scroll 2s infinite;
}

.scrolldown span:nth-child(2) {
    animation-delay: .2s;
}

.scrolldown span:nth-child(3) {
    animation-delay: .4s;
}

@keyframes scroll {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-10px, -10px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotate(45deg) translate(0px, 0px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gallery Section */
.gallery {
    padding: 100px 5%;
    background-color: var(--bg-color);
}

.gallery-grid {
    column-count: 3;
    column-gap: 20px;
}

@media (max-width: 1000px) {
    .gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        column-count: 1;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s;
    margin-bottom: 20px;
    /* Spacing for masonry items */
    break-inside: avoid;
    /* Prevent images breaking across columns */
    display: block;
    width: 100%;
}

.gallery-item img {
    width: 100%;
    height: auto;
    /* Allow natural height */
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    z-index: 10;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* About & Contact */
.about,
.contact {
    padding: 100px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.about h2,
.contact h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.about p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--accent-color);
    line-height: 1.6;
}

.instagram-link {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
    margin-top: 20px;
}

.instagram-link:hover {
    background-color: white;
    color: black;
}

footer {
    text-align: center;
    padding: 40px;
    font-size: 0.8rem;
    color: var(--accent-color);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
        /* Simplify for now */
    }

    .cursor {
        display: none;
        /* No cursor on touch */
    }
}