:root {
    --bg-color: #030303;
    /* Ultra-luxury dark */
    --text-primary: #f8f8f2;
    /* Ivory */
    --text-secondary: #a0a0a0;
    --accent: #d4af37;
    /* Elegant gold accent */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 400;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1.2rem 5%;
    background: rgba(3, 3, 3, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-weight: 600;
}

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

.hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
    position: relative;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
}

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

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

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

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

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: brightness(0.7) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(3, 3, 3, 0.3) 0%, rgba(3, 3, 3, 1) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 8rem;
    letter-spacing: 10px;
    margin-bottom: 1rem;
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.6);
    line-height: 1.1;
}

.hero-content h1 .last-name {
    color: var(--accent);
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    font-weight: 100;
    margin-left: 1rem;
    display: block;
    margin-top: -1rem;
}

.hero-content p {
    font-size: 1.2rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
}

.cta-btn {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
}

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

/* Portfolio Section (Masonry) */
.portfolio-section {
    padding: 10rem 5%;
    background-color: var(--bg-color);
}

.portfolio-section h2 {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 6rem;
    letter-spacing: 5px;
}

.masonry-gallery {
    column-count: 2;
    /* 2 columns for massive aesthetic images */
    column-gap: 2rem;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: grayscale(15%);
}

.gallery-item:hover img {
    transform: scale(1.03);
    filter: grayscale(0%);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    opacity: 0;
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 1;
}

.hover-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
    pointer-events: none;
}

.gallery-item:hover .hover-text {
    opacity: 1;
}

/* About Section */
.about-section {
    padding: 10rem 5%;
    background-color: #070707;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    justify-content: center;
}

.about-container {
    max-width: 800px;
    text-align: center;
}

.about-container h2 {
    font-size: 3.5rem;
    margin-bottom: 3rem;
    letter-spacing: 5px;
}

.about-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Contact Section */
.contact-section {
    padding: 10rem 5%;
    text-align: center;
    background: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.contact-container h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 5px;
}

.contact-container p {
    color: var(--text-secondary);
    margin-bottom: 4rem;
    font-size: 1.1rem;
    font-weight: 300;
}

.contact-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.contact-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
    font-size: 0.85rem;
    transition: var(--transition);
    background: transparent;
}

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

.instagram-btn {
    border-color: var(--accent);
    color: var(--accent);
}

.instagram-btn:hover {
    background-color: var(--accent);
    color: var(--bg-color);
}


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

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

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 300;
}

.close-lightbox:hover {
    color: var(--accent);
    transform: scale(1.1);
}

/* Animations Classes */
.fade-target {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Responsive */
@media (max-width: 992px) {
    .masonry-gallery {
        column-count: 1;
    }

    .hero-content h1 {
        font-size: 5rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(3, 3, 3, 0.95);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    .contact-links {
        flex-direction: column;
        align-items: stretch;
    }
}