/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #faf9f7;
    --color-bg-alt: #f2f0ec;
    --color-bg-card: #ffffff;
    --color-text: #1a1a1a;
    --color-text-muted: #6b6560;
    --color-accent: #8b6914;
    --color-accent-hover: #a47d1a;
    --color-border: #e0dcd6;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-name: 'Nunito', 'Montserrat', sans-serif;
    --font-body: 'Montserrat', -apple-system, sans-serif;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

img {
    max-width: 100%;
    display: block;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-touch-callout: none;
}

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

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(250, 249, 247, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

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

.nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text {
    font-family: var(--font-name);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text);
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    border: 1px solid var(--color-accent);
    padding: 8px 20px;
    color: var(--color-accent);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--color-accent);
    color: #ffffff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 1.5px;
    background: var(--color-text);
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #f5f3ef 0%, #faf9f7 50%, #f0ebe3 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(139, 105, 20, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(139, 105, 20, 0.04) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 24px;
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 1s ease 0.3s forwards;
}

.hero-title {
    font-family: var(--font-name);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 600;
    letter-spacing: 6px;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeUp 1s ease 0.5s forwards;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    font-style: italic;
    color: var(--color-accent);
    letter-spacing: 8px;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 1s ease 0.7s forwards;
}

.hero-description {
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 3px;
    color: var(--color-text-muted);
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeUp 1s ease 0.9s forwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 1s ease 1.1s forwards;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--color-accent);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--color-text-muted);
    color: var(--color-text);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    opacity: 0;
    animation: fadeUp 1s ease 1.5s forwards;
}

.scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--color-accent);
    animation: scrollPulse 2s ease infinite;
}

/* ===== SECTION LABELS ===== */
.section-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 40px;
    line-height: 1.2;
}

.center {
    text-align: center;
}

/* ===== ABOUT ===== */
.about {
    padding: 120px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-photo {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border: 1px solid var(--color-border);
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.about-text {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--color-accent);
}

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* ===== SERVICES ===== */
.services {
    padding: 120px 0;
    background: var(--color-bg-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 20px;
}

.service-card {
    padding: 40px 28px;
    border: 1px solid var(--color-border);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-8px);
}

.service-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 24px;
    color: var(--color-accent);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.service-card p {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ===== PORTFOLIO ===== */
.portfolio {
    padding: 120px 0;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 24px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    grid-auto-rows: 250px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item.tall {
    grid-row: span 2;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: var(--transition);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-img,
.portfolio-item:hover .portfolio-video {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(139, 105, 20, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-overlay p {
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-placeholder {
    transform: scale(1.05);
}

.portfolio-item.hidden {
    display: none;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 120px 0;
    background: var(--color-bg-alt);
}

.testimonials-slider {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    min-height: 280px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    text-align: center;
    padding: 0 20px;
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: -20px;
}

.testimonial-text {
    font-size: 1.05rem;
    font-weight: 300;
    font-style: italic;
    color: var(--color-text-muted);
    line-height: 1.9;
    margin-bottom: 32px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
}

.author-name {
    font-size: 0.9rem;
    font-weight: 500;
}

.author-role {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    letter-spacing: 1px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--color-text-muted);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

/* ===== CONTACT ===== */
.contact {
    padding: 120px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-text {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 300;
}

.contact-item svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: var(--transition);
}

.social-link:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--color-text);
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    outline: none;
    transition: var(--transition);
}

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

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-accent);
    cursor: pointer;
    flex-shrink: 0;
}

.form-checkbox label {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: none;
    color: var(--color-text-muted);
    cursor: pointer;
    margin-bottom: 0;
}

/* ===== FOOTER ===== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    letter-spacing: 1px;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

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

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 2rem;
    color: var(--color-text);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--color-accent);
}

.lightbox-content {
    max-width: 80vw;
    max-height: 80vh;
}

.lightbox-img {
    max-width: 80vw;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-placeholder {
    width: 60vw;
    height: 60vh;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 1rem;
    letter-spacing: 2px;
}

/* ===== TOAST NOTIFICATION ===== */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 28px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    z-index: 3000;
    min-width: 320px;
    max-width: 500px;
    opacity: 0;
    transition: all 0.4s ease;
}

.toast.show {
    bottom: 40px;
    opacity: 1;
}

.toast.success {
    border-color: var(--color-accent);
}

.toast.error {
    border-color: #c94e4e;
}

.toast-icon {
    flex-shrink: 0;
}

.toast.success .toast-icon-success { display: block; color: var(--color-accent); }
.toast.success .toast-icon-error { display: none; }
.toast.error .toast-icon-success { display: none; }
.toast.error .toast-icon-error { display: block; color: #c94e4e; }
.toast-icon-success, .toast-icon-error { display: none; }

.toast-message {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.5;
}

.toast-close {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0 0 0 8px;
    transition: var(--transition);
    flex-shrink: 0;
}

.toast-close:hover {
    color: var(--color-text);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transition: right 0.4s ease;
        border-left: 1px solid var(--color-border);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 20px auto 0;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }

    .portfolio-item.tall {
        grid-row: span 1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .about-stats {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-stats {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        text-align: center;
    }
}
