:root {
    --primary-gold: #C5A55A;
    --white: #FFFFFF;
    --black: #0A0A0A;
    --dark-bg: #111111;
    --deep-red: #8B2332;
    --forest-green: #2D5F3A;
    --nav-height: 80px;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--primary-gold);
    background-color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 4px;
}

/* Section Title */
.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-gold);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--primary-gold);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-mark {
    height: 100%;
    width: auto;
    display: block;
    object-fit: contain;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--primary-gold);
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s;
}

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

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

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

/* Mobile Nav Menu */
.nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.97);
    padding: 2rem 0;
    gap: 1.5rem;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    z-index: 999;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== HERO ===== */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-slideshow {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.05);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1), transform 10s ease-out;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

/* Hero Caption - bottom-left, small */
.hero-caption {
    position: absolute;
    bottom: 80px;
    left: 40px;
    z-index: 2;
}

.hero-caption span {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: 13px;
    color: var(--primary-gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateX(-20px);
    display: inline-block;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-caption span.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 15px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(197, 165, 90, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background-color: var(--primary-gold);
    transform: scale(1.3);
}

/* ===== PROJECTS ===== */
.projects {
    padding: 6rem 0;
    background-color: var(--black);
}

.category-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-gold);
    border-bottom: 1px solid rgba(197, 165, 90, 0.2);
    padding-bottom: 0.5rem;
}

.project-category {
    margin-bottom: 4rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-card {
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-image-container {
    position: relative;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.project-card:hover .card-image {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.4);
    color: var(--primary-gold);
    opacity: 0;
    transition: all 0.3s;
}

.project-card:hover .card-overlay {
    opacity: 1;
}

.card-overlay span {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.card-title {
    font-size: 1.2rem;
    color: var(--primary-gold);
    text-align: center;
    transition: color 0.3s;
    letter-spacing: 3px;
}

.project-card:hover .card-title {
    color: var(--white);
}

/* ===== ABOUT ===== */
.about {
    padding: 6rem 0;
    background-color: var(--dark-bg);
    position: relative;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--primary-gold);
}

.about-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.about-content p:first-child {
    font-size: 1.3rem;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    color: var(--primary-gold);
    text-align: center;
    margin-bottom: 2.5rem;
}

/* ===== CONTACT ===== */
.contact {
    padding: 6rem 0;
    background-color: var(--black);
    text-align: center;
}

.contact-info {
    font-size: 1.2rem;
    color: var(--primary-gold);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info strong {
    color: var(--white);
    font-weight: 600;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--dark-bg);
    color: rgba(197, 165, 90, 0.6);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(197, 165, 90, 0.15);
}

/* ===== GALLERY MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.95);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--primary-gold);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
}

.close-modal:hover {
    color: var(--white);
}

.modal-title {
    color: var(--primary-gold);
    text-align: center;
    font-size: 2rem;
    margin-top: 25px;
    font-weight: 300;
    letter-spacing: 4px;
}

/* Gallery Slideshow */
.gallery-slideshow {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 140px);
    padding: 0 20px;
    position: relative;
}

.gallery-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 85%;
    max-height: 80vh;
}

.gallery-image-wrapper img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
    transition: opacity 0.4s ease;
}

.gallery-arrow {
    background: rgba(197, 165, 90, 0.15);
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    font-size: 2rem;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 5;
}

.gallery-arrow:hover {
    background: var(--primary-gold);
    color: var(--black);
}

.gallery-prev {
    margin-right: 2rem;
}

.gallery-next {
    margin-left: 2rem;
}

.gallery-counter {
    text-align: center;
    padding: 10px 0;
    color: rgba(197, 165, 90, 0.6);
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-caption {
        left: 20px;
        bottom: 70px;
    }

    .hero-caption span {
        font-size: 13px;
    }

    .slide {
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        background-color: var(--black);
    }

    .card-image-container {
        height: 220px;
    }

    .card-image {
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        background-color: var(--black);
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .gallery-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }

    .gallery-prev {
        margin-right: 1rem;
    }

    .gallery-next {
        margin-left: 1rem;
    }

    .modal-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .gallery-image-wrapper {
        max-width: 95%;
    }

    .logo {
        height: 60%;
    }

    .logo-mark {
        height: 100%;
        width: auto;
        object-fit: contain;
    }
}
