:root {
    --bg-color: #030303;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-gold: #c5a059;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Glassmorphism Classes */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* Navbar */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    padding: 15px 25px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1.1rem;
    color: var(--accent-gold);
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 5%;
    background-color: var(--bg-color);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 10vw, 5rem);
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: -2px;
    line-height: 1.1;
    text-transform: uppercase;
}


.hero-content p {
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 4vw, 1.1rem);
    max-width: 400px;
    margin-bottom: 30px;
}

/* Gallery Section */
/* Gallery Header & Navigation */
.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.gallery-header h2 {
    margin-bottom: 0;
}

.btn-text {
    background: none;
    border: none;
    color: var(--accent-gold);
    font-family: var(--font-main);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 10px 0;
    transition: opacity 0.3s ease;
}

.btn-text:hover {
    opacity: 0.7;
}

/* Project Card */
.project-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/10;
    background-color: var(--glass-bg);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 2;
}

.project-card h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 300;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gallery-section {
    padding: 80px 5%;
}

.section-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-gold);
    margin-bottom: 40px;
    display: block;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Contact Bar */
.cta-bar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    display: flex;
    gap: 10px;
    z-index: 1000;
}

.btn {
    flex: 1;
    padding: 16px;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent-gold);
    color: #000;
}

.btn-secondary {
    background: var(--glass-bg);
    color: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

@media (max-width: 480px) {
    .cta-bar {
        width: 100%;
        bottom: 0px;
        left: 0;
        transform: none;
        padding: 20px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
        max-width: none;
        border-radius: 0;
    }

    .btn {
        padding: 14px;
        font-size: 0.85rem;
    }

    nav {
        top: 10px;
        padding: 10px 20px;
    }
}

.btn:active {
    transform: scale(0.95);
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    transform: translateX(0);
    opacity: 1;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.5s ease;
}

.modal.active .modal-content {
    opacity: 1;
}

/* Slide Classes */
.slide-out-left {
    transform: translateX(-50px);
    opacity: 0;
}

.slide-out-right {
    transform: translateX(50px);
    opacity: 0;
}

.slide-in-left {
    transform: translateX(-50px);
    opacity: 0;
}

.slide-in-right {
    transform: translateX(50px);
    opacity: 0;
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: 200;
    cursor: pointer;
    line-height: 1;
    padding: 10px;
    z-index: 2100;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 30px;
    padding: 20px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    user-select: none;
    z-index: 2100;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-gold);
}

.nav-btn:active {
    transform: translateY(-50%) scale(0.9);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

@media (max-width: 768px) {
    .nav-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
        padding: 10px;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }
}

.gallery-item {
    cursor: pointer;
}