:root {
    --bg-color: #0a0a0a;
    --text-color: #f0f0f0;
    --accent-color: #d4af37;
    /* Muted Gold */
    --secondary-text: #888;
    --font-main: 'Montserrat', sans-serif;
    --font-display: 'Playfair Display', serif;
    --container-width: 1400px;
    --header-height: 80px;
    --container-padding: clamp(1rem, 4vw, 2rem);
    --transition-speed: 0.6s;
}

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

html {
    scroll-behavior: smooth;
}

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





a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--secondary-text);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 100;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 1.5rem;
}

.logo {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1rem + 1vw, 1.5rem);
    letter-spacing: 1px;
    font-weight: 600;
    position: relative;
    z-index: 102;
}

.main-nav {
    margin-left: auto;
}

.main-nav ul {
    display: flex;
    gap: 3rem;
}

.main-nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-color);
    transition: width 0.3s;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    position: relative;
    z-index: 102;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.is-active span:first-child {
    transform: translateY(4px) rotate(45deg);
}

.menu-toggle.is-active span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    min-height: 100svh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-subtitle {
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1s;
}

/* Gallery Grid */
.work-section {
    padding: 8rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    min-width: 0;
    border-radius: 2px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.gallery-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ccc;
}

/* Reels Section */
.reels-section {
    padding: 8rem 0;
    background-color: #0f0f0f;
}

.reels-scroller {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding-bottom: 2rem;
    scrollbar-width: none;
    /* Firefox */
}

.reels-scroller::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.reel-item {
    min-width: 300px;
    aspect-ratio: 9/16;
    background-color: #222;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.reel-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1a1a;
    color: #333;
    font-family: var(--font-display);
    font-size: 2rem;
}

/* About Section */
.about-section {
    padding: 10rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-image {
    position: sticky;
    top: 6rem;
    display: flex;
    justify-content: flex-end;
}

.about-portrait {
    width: min(100%, 240px);
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    border-radius: 2px;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
}

.about-text h2:first-child {
    margin-top: 0;
}

.about-text p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.about-text p strong {
    color: var(--text-color);
}

.about-text p a {
    color: var(--accent-color);
    transition: color 0.3s;
}

.about-text p a:hover {
    color: var(--text-color);
}

/* Services Section */
.services-section {
    padding: 8rem 0;
    background-color: var(--bg-color);
}

.services-group {
    max-width: 700px;
    margin-bottom: 5rem;
}

.services-heading {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
}

.service-item {
    border-bottom: 1px solid #333;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.service-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.service-name {
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.service-desc {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

li.service-desc {
    margin-left: 1.1rem;
    padding-left: 0.2rem;
}

.service-price {
    font-size: 1rem;
    color: var(--text-color);
    margin-top: 0.5rem;
}

.service-list {
    list-style: none;
    padding-left: 1.5rem;
    color: #ccc;
    font-size: 1rem;
    line-height: 1.8;
}

.btn-link {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid var(--text-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: all 0.3s;
}

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

/* Footer */
.site-footer {
    padding: 6rem 0 2rem;
    text-align: center;
    border-top: 1px solid #222;
}

.footer-content h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.email-link {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 3rem;
    color: var(--secondary-text);
    transition: color 0.3s;
}

.email-link:hover {
    color: var(--text-color);
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
}

.social-links h2 {
    font-size: 2.5rem;
    margin: 0;
}

.social-links h2 a {
    transition: color 0.3s;
}

.social-links h2 a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    font-size: 0.8rem;
    color: #444;
}

/* Animations */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.reveal-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.reveal-text:nth-child(1) {
    animation-delay: 0.2s;
}

.reveal-text:nth-child(2) {
    animation-delay: 0.4s;
}

.reveal-text:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Project Modal */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    overflow-y: auto;
}

.project-modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 3rem;
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.3s;
}

.modal-close:hover {
    transform: rotate(90deg);
}

.modal-content {
    padding: 8rem 2rem 4rem;
}

.modal-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.2s;
}

.project-modal.active .modal-header {
    opacity: 1;
    transform: translateY(0);
}

.modal-header h2 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 8px;
    grid-auto-flow: row;
    align-items: start;
    gap: 1rem;
}

.modal-image {
    width: 100%;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    cursor: pointer;
    position: relative;
    border-radius: 2px;
    background-color: #111;
}

.project-modal.active .modal-image {
    opacity: 1;
    transform: translateY(0);
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.modal-image:hover img {
    transform: scale(1.05);
}

.modal-placeholder {
    width: 100%;
    height: 100%;
    min-height: 220px;
    background-color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: #333;
}

.modal-description {
    max-width: 600px;
    margin: 2rem auto 0;
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.8;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

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

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    z-index: 2001;
    transition: transform 0.3s;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    padding: 2rem;
    z-index: 2001;
    transition: opacity 0.3s;
    font-family: var(--font-main);
    font-weight: 100;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 0.7;
}

.lightbox-prev {
    left: 0;
}

.lightbox-next {
    right: 0;
}

/* Responsive */
@media (max-width: 960px) {
    .site-header .container {
        gap: 1rem;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        padding: 1.25rem var(--container-padding) 1.75rem;
        background: rgba(10, 10, 10, 0.97);
        backdrop-filter: blur(12px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .main-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav a {
        display: inline-block;
        font-size: 1rem;
        padding-bottom: 0;
    }

    body.nav-open {
        overflow: hidden;
    }

    .about-section,
    .work-section,
    .services-section,
    .site-footer {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image {
        position: static;
        justify-content: center;
        margin-top: 0;
    }

    .about-portrait {
        width: min(100%, 320px);
    }
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h2,
    .services-heading,
    .footer-content h2 {
        font-size: clamp(2rem, 7vw, 3rem);
    }

    .hero-content {
        padding-top: 1rem;
    }

    .hero-title {
        gap: 0.15em;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.9rem;
    }

    .gallery-overlay {
        opacity: 1;
        transform: none;
        padding: 1rem 0.9rem 0.85rem;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.08));
    }

    .gallery-title {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .gallery-category {
        font-size: 0.65rem;
        letter-spacing: 0.08em;
    }

    .about-text h2 {
        font-size: 2rem;
        margin-top: 2rem;
    }

    .about-text p,
    .service-desc,
    .service-price {
        font-size: 0.95rem;
    }

    .services-group {
        margin-bottom: 3.5rem;
    }

    .modal-content {
        padding: 6rem var(--container-padding) 3rem;
    }

    .modal-header {
        margin-bottom: 2.5rem;
    }

    .modal-header h2 {
        font-size: 2.5rem;
    }

    .modal-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.9rem;
    }

    .modal-description {
        font-size: 1rem;
        margin-top: 1.25rem;
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
    }

    .social-links {
        gap: 1.25rem 2rem;
        margin-bottom: 2.5rem;
    }

    .social-links h2 {
        font-size: 1.8rem;
    }

    .lightbox-content {
        max-width: calc(100% - 3rem);
    }

    .lightbox-close {
        top: 0.75rem;
        right: 0.75rem;
        font-size: 2rem;
    }

    .lightbox-prev,
    .lightbox-next {
        top: auto;
        bottom: 1rem;
        transform: none;
        padding: 0.75rem;
        font-size: 2rem;
    }

    .lightbox-prev {
        left: 0.5rem;
    }

    .lightbox-next {
        right: 0.5rem;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 11ch;
        line-height: 1.1;
    }

    .hero-title {
        font-size: clamp(2.2rem, 12vw, 3rem);
    }

    .gallery-grid {
        gap: 0.7rem;
    }

    .gallery-title {
        font-size: 0.88rem;
    }

    .gallery-category {
        font-size: 0.58rem;
    }

    .modal-gallery {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}
