:root {
    --hot-pink: #F10C65;
    --warm-gold: #FBC81B;
    --deep-black: #0a0a0a;
    --off-black: #1a1a1a;
    --light-gray: #d4d4d4;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--deep-black);
    color: var(--light-gray);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

/* Navigation */
nav {
    position: sticky;
    top: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(251, 200, 27, 0.2);
    z-index: 1000;
    padding: 20px 0;
}

/* Placeholder divs should not constrain content */
#header-placeholder,
#footer-placeholder {
    position: relative;
    overflow: visible;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 2px;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-brand span {
    font-weight: 700;
    background: linear-gradient(135deg, var(--hot-pink), var(--warm-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-brand:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 45px;
    list-style: none;
}

.nav-links a {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(212, 212, 212, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--hot-pink);
    transition: width 0.3s ease;
}

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

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

.nav-links a.active {
    color: var(--hot-pink);
}

.nav-links em {
    font-style: normal;
    color: var(--hot-pink);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown > a {
    padding-bottom: 30px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(26, 26, 26, 0.98);
    border: 1px solid rgba(251, 200, 27, 0.2);
    min-width: 200px;
    padding: 0;
    margin-top: 0;
    list-style: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(251, 200, 27, 0.1);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 15px 25px;
    color: rgba(212, 212, 212, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 12px;
    letter-spacing: 2px;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background: rgba(251, 200, 27, 0.1);
    color: var(--warm-gold);
}

.dropdown-menu a.active {
    color: var(--hot-pink);
    background: rgba(241, 12, 101, 0.1);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--light-gray);
    transition: all 0.3s ease;
}

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

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

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

/* Header */
header {
    text-align: center;
    padding: 100px 20px 40px;
}

header.hero {
    padding: 120px 20px 80px;
}

h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(48px, 8vw, 90px);
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 15px;
    color: #ffffff;
}

h1 span {
    font-weight: 700;
    background: linear-gradient(135deg, var(--hot-pink), var(--warm-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--light-gray);
    opacity: 0.9;
}

.tagline em {
    font-style: normal;
    color: var(--hot-pink);
    font-weight: 400;
}

/* Main Content */
main {
    padding: 60px 0;
    flex: 1;
}

/* Page Title */
.page-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    color: var(--warm-gold);
    letter-spacing: 2px;
}

.page-title em {
    font-style: normal;
    color: var(--hot-pink);
}

.page-title span {
    background: linear-gradient(135deg, var(--hot-pink), var(--warm-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    text-align: center;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 1px;
    color: rgba(212, 212, 212, 0.7);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--warm-gold);
    letter-spacing: 2px;
}

.bio {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(212, 212, 212, 0.8);
    margin-bottom: 40px;
    font-weight: 300;
}

.contact-link {
    display: inline-block;
    padding: 15px 45px;
    background: transparent;
    border: 1px solid var(--hot-pink);
    color: var(--hot-pink);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: var(--hot-pink);
    color: var(--deep-black);
    box-shadow: 0 0 20px rgba(241, 12, 101, 0.3);
}

/* Projects Section */
.project-category {
    margin-bottom: 80px;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    color: var(--warm-gold);
    letter-spacing: 2px;
}

.section-title em {
    font-style: normal;
    color: var(--hot-pink);
}

.category-description {
    text-align: center;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
    color: rgba(212, 212, 212, 0.6);
    margin-bottom: 50px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.project-card {
    background: var(--off-black);
    border: 1px solid rgba(251, 200, 27, 0.2);
    padding: 45px 35px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    text-decoration: none;
    display: block;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--hot-pink);
    transition: width 0.4s ease;
}

.project-card:hover::before {
    width: 100%;
}

.project-card:hover {
    border-color: var(--hot-pink);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(241, 12, 101, 0.2);
}

.project-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--warm-gold);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.project-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.project-type {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--hot-pink);
    margin-bottom: 20px;
}

.project-description {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(212, 212, 212, 0.8);
    margin-bottom: 30px;
    font-weight: 300;
}

.project-link {
    display: inline-block;
    padding: 12px 35px;
    background: transparent;
    border: 1px solid var(--warm-gold);
    color: var(--warm-gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: var(--warm-gold);
    color: var(--deep-black);
    box-shadow: 0 0 20px rgba(251, 200, 27, 0.3);
}

/* Coming Soon / Mystery */
.coming-soon, .mystery {
    opacity: 0.6;
}

.coming-soon .project-link,
.mystery .project-link {
    border-color: rgba(212, 212, 212, 0.3);
    color: rgba(212, 212, 212, 0.5);
    cursor: not-allowed;
}

.coming-soon .project-link:hover,
.mystery .project-link:hover {
    background: transparent;
    color: rgba(212, 212, 212, 0.5);
    box-shadow: none;
}

/* Project Detail Page */
.project-detail {
    max-width: 900px;
    margin: 0 auto;
}

/* Project Gallery */
.project-gallery {
    margin: 50px 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.project-gallery h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--warm-gold);
    margin-bottom: 30px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    justify-content: center;
}

.gallery-item {
    cursor: pointer;
    overflow: hidden;
    border: 1px solid rgba(251, 200, 27, 0.2);
    transition: all 0.3s ease;
    aspect-ratio: 16/9;
}

.gallery-item:hover {
    border-color: var(--hot-pink);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(241, 12, 101, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    border: 1px solid rgba(251, 200, 27, 0.3);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: var(--light-gray);
    cursor: pointer;
    background: rgba(10, 10, 10, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(251, 200, 27, 0.3);
}

.lightbox-close:hover {
    background: var(--hot-pink);
    color: var(--deep-black);
    transform: rotate(90deg);
}

.project-detail-header {
    text-align: center;
    margin-bottom: 60px;
}

.project-detail-header h1 {
    font-size: clamp(40px, 6vw, 64px);
    margin-bottom: 20px;
}

.project-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.meta-item {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.meta-label {
    color: var(--warm-gold);
    font-weight: 600;
    margin-right: 8px;
}

.meta-value {
    color: rgba(212, 212, 212, 0.7);
    font-weight: 300;
}

.project-description-full {
    font-size: 17px;
    line-height: 1.9;
    color: rgba(212, 212, 212, 0.85);
    margin-bottom: 50px;
    text-align: left;
}

.project-screenshot {
    margin: 50px 0;
}

.project-screenshot img {
    width: 100%;
    height: auto;
    border: 1px solid rgba(251, 200, 27, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.project-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 60px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 45px;
    background: transparent;
    border: 1px solid var(--hot-pink);
    color: var(--hot-pink);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--hot-pink);
    color: var(--deep-black);
    box-shadow: 0 0 20px rgba(241, 12, 101, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 15px 45px;
    background: transparent;
    border: 1px solid var(--warm-gold);
    color: var(--warm-gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--warm-gold);
    color: var(--deep-black);
    box-shadow: 0 0 20px rgba(251, 200, 27, 0.3);
}

/* Services Page */
.services-intro {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.services-intro p {
    font-size: 17px;
    line-height: 1.9;
    color: rgba(212, 212, 212, 0.85);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.service-card {
    background: var(--off-black);
    border: 1px solid rgba(251, 200, 27, 0.2);
    padding: 50px 40px;
    text-align: center;
    transition: all 0.4s ease;
}

.service-card:hover {
    border-color: var(--hot-pink);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(241, 12, 101, 0.2);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 25px;
}

.service-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--warm-gold);
}

.service-card h3 em {
    font-style: normal;
    color: var(--hot-pink);
}

.service-description {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(212, 212, 212, 0.8);
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    text-align: left;
    margin-bottom: 20px;
}

.service-features li {
    font-size: 13px;
    color: rgba(212, 212, 212, 0.7);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--hot-pink);
}

.cta-section {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 80px 40px;
    background: var(--off-black);
    border: 1px solid rgba(251, 200, 27, 0.2);
}

.cta-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--warm-gold);
    letter-spacing: 2px;
}

.cta-section h2 em {
    font-style: normal;
    color: var(--hot-pink);
}

.cta-section p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(212, 212, 212, 0.8);
    margin-bottom: 40px;
}

/* Footer */
footer {
    padding: 20px 20px 10px;
    text-align: center;
    border-top: 1px solid rgba(251, 200, 27, 0.2);
    margin-top: 20px;
}

.footer-credit {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-weight: 300;
    color: rgba(212, 212, 212, 0.6);
    line-height: 1.8;
}

.footer-credit strong {
    color: var(--hot-pink);
    font-weight: 600;
}

.footer-year {
    font-size: 12px;
    margin-top: 20px;
    color: rgba(212, 212, 212, 0.4);
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }

    .nav-links {
        position: fixed;
        top: 71px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 71px);
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        gap: 0;
        padding: 40px 0;
        transition: right 0.3s ease;
    }

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

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 20px 0;
        border-bottom: 1px solid rgba(251, 200, 27, 0.1);
    }

    .dropdown-menu {
        position: static;
        background: rgba(10, 10, 10, 0.5);
        border: none;
        margin-top: 0;
        padding: 0;
        box-shadow: none;
    }

    .dropdown-menu li {
        padding: 0;
    }

    .dropdown-menu a {
        padding: 15px 20px;
        font-size: 11px;
    }

    .hamburger {
        display: flex;
    }

    .container {
        padding: 0 20px;
    }

    header {
        padding: 60px 20px 30px;
    }

    header.hero {
        padding: 80px 20px 60px;
    }

    h1 {
        font-size: 42px;
    }

    .tagline {
        font-size: 12px;
    }

    main {
        padding: 40px 0;
    }

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

    .project-card {
        padding: 35px 25px;
    }

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

    .project-meta {
        flex-direction: column;
        gap: 15px;
    }

    .project-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .cta-section {
        padding: 50px 30px;
    }

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

@media (max-width: 480px) {
    .nav-brand {
        font-size: 22px;
    }
}
