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

:root {
    --color-bg: #f8f7f4;
    --color-dark: #111;
    --color-text: #555;
    --color-muted: #999;
    --color-accent: #c4a265;
    --color-border: #e2e0db;
    --font: 'Outfit', -apple-system, sans-serif;
    --nav-height: 72px;
}

html {
    scroll-behavior: smooth;
}

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

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ====== NAVBAR ====== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1.5rem, 4vw, 3.5rem);
    z-index: 1000;
    transition: background 0.4s, backdrop-filter 0.4s;
}

.navbar.scrolled {
    background: rgba(248, 247, 244, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.nav-logo {
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    color: #fff;
    transition: color 0.4s;
}

.navbar.scrolled .nav-logo { color: var(--color-dark); }

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

.nav-links a {
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.nav-links a:hover { color: #fff; }
.navbar.scrolled .nav-links a { color: var(--color-text); }
.navbar.scrolled .nav-links a:hover { color: var(--color-dark); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #fff;
    cursor: pointer;
    transition: color 0.4s;
}

.navbar.scrolled .nav-toggle { color: var(--color-dark); }

/* ====== FULLSCREEN SLIDESHOW ====== */
.fs-projects { position: relative; }

.fs-slideshow {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: #111;
}

.fs-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 0;
}

.fs-slide.active { opacity: 1; z-index: 1; }

.fs-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 8s ease;
}

.fs-slide-img.contain {
    object-fit: contain;
}

.fs-slide.active .fs-slide-img { transform: scale(1); }

.fs-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.15) 100%);
    z-index: 2;
    pointer-events: none;
}

.fs-info {
    position: absolute;
    bottom: 5rem;
    left: clamp(1.5rem, 5vw, 4rem);
    z-index: 5;
}

.fs-tag {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.6rem;
    display: block;
}

.fs-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 200;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
}

.fs-location {
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
}

.fs-location i { color: var(--color-accent); }

.fs-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.3rem;
    font-family: var(--font);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    cursor: pointer;
    transition: all 0.3s;
}

.fs-view-btn:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
}

.fs-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 clamp(0.75rem, 2vw, 1.5rem);
    z-index: 5;
    pointer-events: none;
}

.fs-nav-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s;
    border-radius: 50%;
}

.fs-nav-btn:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
}

.fs-nav-btn i { font-size: 1.2rem; }

.fs-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255,255,255,0.08);
    z-index: 5;
}

.fs-progress-bar {
    height: 100%;
    background: var(--color-accent);
    transition: width 0.5s ease;
    width: 10%;
}

.fs-counter {
    position: absolute;
    top: calc(var(--nav-height) + 1rem);
    right: clamp(1.5rem, 4vw, 3.5rem);
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.4);
    z-index: 5;
    font-variant-numeric: tabular-nums;
}

.fs-thumbs {
    position: absolute;
    bottom: 1.25rem;
    right: clamp(1.5rem, 4vw, 3.5rem);
    display: flex;
    gap: 6px;
    z-index: 5;
}

.fs-thumb {
    width: 48px;
    height: 32px;
    overflow: hidden;
    border: 1.5px solid transparent;
    padding: 0;
    cursor: pointer;
    opacity: 0.4;
    transition: all 0.3s;
    background: none;
    border-radius: 2px;
}

.fs-thumb.active { opacity: 1; border-color: var(--color-accent); }
.fs-thumb:hover { opacity: 0.7; }
.fs-thumb img { width: 100%; height: 100%; object-fit: cover; }

.fs-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 5;
}

.fs-scroll-hint span {
    font-size: 0.55rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ====== LIGHTBOX ====== */
.fs-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.97);
    z-index: 9999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.fs-lightbox.open { display: flex; }

.fs-lb-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: border-color 0.3s;
}

.fs-lb-close:hover { border-color: rgba(255,255,255,0.4); }

.fs-lb-prev,
.fs-lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s;
    z-index: 10;
}

.fs-lb-prev { left: 1.25rem; }
.fs-lb-next { right: 1.25rem; }
.fs-lb-prev:hover, .fs-lb-next:hover { background: rgba(255,255,255,0.1); }

.fs-lb-img-wrap {
    max-width: 85vw;
    max-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fs-lb-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    transition: opacity 0.3s;
}

.fs-lb-counter {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.15em;
    font-variant-numeric: tabular-nums;
}

.fs-lb-thumbs {
    display: flex;
    gap: 5px;
    margin-top: 0.75rem;
    overflow-x: auto;
    max-width: 85vw;
    padding-bottom: 0.5rem;
}

.fs-lb-thumbs button {
    width: 56px;
    height: 38px;
    flex-shrink: 0;
    overflow: hidden;
    border: 1.5px solid transparent;
    padding: 0;
    cursor: pointer;
    opacity: 0.35;
    transition: all 0.3s;
    background: none;
    border-radius: 2px;
}

.fs-lb-thumbs button.active { opacity: 1; border-color: var(--color-accent); }
.fs-lb-thumbs button:hover { opacity: 0.6; }
.fs-lb-thumbs button img { width: 100%; height: 100%; object-fit: cover; }

/* ====== ABOUT ====== */
.about {
    padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 6vw, 6rem);
    text-align: center;
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
}

.about h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 200;
    color: var(--color-dark);
    line-height: 1.25;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.about p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 2.5rem;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: clamp(2.5rem, 5vw, 4rem);
    padding-top: 2.5rem;
    border-top: 1px solid var(--color-border);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 200;
    color: var(--color-dark);
    display: block;
    letter-spacing: -0.02em;
}

.stat-number::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--color-accent);
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--color-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ====== SERVICES ====== */
.services {
    padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 6vw, 6rem);
    background: var(--color-dark);
}

.services-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.services-left h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 200;
    color: #fff;
    letter-spacing: -0.02em;
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
}

.services-right {
    display: flex;
    flex-direction: column;
}

.service-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    align-items: flex-start;
}

.service-item:first-child {
    border-top: 1px solid rgba(255,255,255,0.08);
}

.service-num {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    padding-top: 0.2rem;
    flex-shrink: 0;
}

.service-item h3 {
    font-size: 1.15rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0.35rem;
}

.service-item p {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
}

/* ====== CONTACT ====== */
.contact {
    padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 6vw, 6rem);
}

.contact-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 5vw, 5rem);
}

.contact h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 200;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.contact-info p {
    font-size: 0.95rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.contact-details a,
.contact-details span {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--color-text);
    transition: color 0.3s;
}

.contact-details a:hover { color: var(--color-dark); }
.contact-details i { font-size: 1.1rem; color: var(--color-accent); }

.contact-social {
    display: flex;
    gap: 0.75rem;
}

.contact-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    transition: all 0.3s;
}

.contact-social a:hover {
    background: var(--color-dark);
    border-color: var(--color-dark);
    color: #fff;
}

.contact-social a i { font-size: 1rem; }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 0;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--color-dark);
    background: none;
    border: none;
    border-bottom: 1px solid var(--color-border);
    outline: none;
    transition: border-color 0.3s;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--color-muted);
    font-weight: 300;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--color-accent);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: var(--color-dark);
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    align-self: flex-start;
    margin-top: 0.5rem;
}

.btn-primary:hover { background: #333; transform: translateY(-1px); }
.btn-primary i { font-size: 0.9rem; }

/* ====== FOOTER ====== */
.footer {
    padding: 2rem clamp(1.5rem, 6vw, 6rem);
    border-top: 1px solid var(--color-border);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    color: var(--color-dark);
}

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

.footer-links a {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--color-muted);
    letter-spacing: 0.08em;
    transition: color 0.3s;
}

.footer-links a:hover { color: var(--color-dark); }

.footer p {
    font-size: 0.7rem;
    color: var(--color-muted);
}

/* ====== ANIMATIONS ====== */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
    .fs-thumbs { display: none; }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        flex-direction: column;
        background: var(--color-bg);
        padding: 5rem 2rem 2rem;
        gap: 1.25rem;
        transition: right 0.4s ease;
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    }

    .nav-links.open { right: 0; }
    .nav-links a { color: var(--color-dark) !important; font-size: 0.85rem; }

    .services-inner { grid-template-columns: 1fr; gap: 2rem; }
    .services-left h2 { position: static; }
    .contact-inner { grid-template-columns: 1fr; }

    .fs-nav-btn { width: 40px; height: 40px; }
    .fs-title { font-size: 1.8rem; }
    .fs-info { bottom: 3.5rem; }
    .fs-scroll-hint { display: none; }

    .fs-slide-img {
        object-fit: contain;
    }

    .fs-slide-img.contain {
        object-fit: contain;
    }

    .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
    .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
    .about-stats { flex-direction: column; gap: 1.5rem; }
}
