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

:root {
    --cream: #FAF8F5;
    --copper: #B87333;
    --copper-light: #d4956a;
    --charcoal: #1a1a2e;
    --charcoal-light: #2d2d44;
    --text: #3a3a4a;
    --text-light: #6b6b7b;
    --border: #e0dcd7;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background: var(--cream);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

img {
    max-width: 100%;
    display: block;
}

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

/* ===== Section Tags & Headings ===== */
.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 16px;
}

.section-heading {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1.15;
    margin-bottom: 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-heading {
    margin-bottom: 0;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, background 0.3s;
}

.navbar.scrolled {
    border-bottom-color: var(--border);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--charcoal);
    letter-spacing: 0.05em;
}

.logo-divider {
    width: 1px;
    height: 20px;
    background: var(--border);
}

.logo-full {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text);
    letter-spacing: 0.02em;
    transition: color 0.3s;
    position: relative;
}

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

.nav-link:hover {
    color: var(--copper);
}

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

.nav-cta {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--cream);
    background: var(--charcoal);
    padding: 10px 24px;
    border-radius: 2px;
    letter-spacing: 0.04em;
    transition: background 0.3s;
}

.nav-cta:hover {
    background: var(--copper);
}

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

.hamburger span {
    width: 24px;
    height: 1.5px;
    background: var(--charcoal);
    transition: transform 0.3s, opacity 0.3s;
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    z-index: 999;
    flex-direction: column;
    gap: 16px;
    transform: translateY(-10px);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu.open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.mobile-link {
    font-size: 1rem;
    color: var(--text);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.mobile-cta {
    display: inline-block;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--cream);
    background: var(--charcoal);
    padding: 12px 24px;
    margin-top: 8px;
    border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    background: var(--cream);
}

.hero-content {
    max-width: 800px;
}

.hero-logo {
    height: 120px;
    width: auto;
    margin-bottom: 32px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 600px) {
    .hero-logo {
        height: 60px;
    }
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--charcoal);
    margin-bottom: 24px;
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    font-weight: 300;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-btn {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--cream);
    background: var(--charcoal);
    padding: 14px 36px;
    border-radius: 2px;
    transition: background 0.3s;
}

.hero-btn:hover {
    background: var(--copper);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

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

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ===== Stats ===== */
.stats {
    background: var(--charcoal);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 400;
    color: var(--copper);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.04em;
}

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

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

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

.about-text:last-child {
    margin-bottom: 0;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -12px;
    right: -12px;
    bottom: 12px;
    left: 12px;
    border: 1px solid var(--copper);
    opacity: 0.4;
    pointer-events: none;
}

.image-frame img {
    width: 100%;
    display: block;
    position: relative;
    z-index: 1;
}

/* ===== Focus / Cards ===== */
.focus {
    padding: 120px 0;
    background: #f4f1ec;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.focus-card {
    background: var(--cream);
    padding: 48px 36px;
    border: 1px solid var(--border);
    transition: border-color 0.3s, transform 0.3s;
}

.focus-card:hover {
    border-color: var(--copper);
    transform: translateY(-4px);
}

.focus-icon {
    width: 48px;
    height: 48px;
    color: var(--copper);
    margin-bottom: 24px;
}

.focus-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 16px;
}

.focus-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* ===== Portfolio Carousel ===== */
.portfolio {
    padding: 120px 0 120px;
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    padding: 0 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 0;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-card {
    flex: 0 0 350px;
    height: 460px;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.carousel-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.2) 50%, transparent 100%);
    z-index: 1;
    transition: background 0.4s;
}

.carousel-card:hover::before {
    background: rgba(26,26,46,0.88);
}

/* Default label — visible */
.card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 24px;
    z-index: 2;
    transition: opacity 0.3s, transform 0.3s;
}

.card-label h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 4px;
}

.card-label span {
    font-size: 0.8rem;
    color: var(--copper-light);
    letter-spacing: 0.03em;
}

.carousel-card:hover .card-label {
    opacity: 0;
    transform: translateY(10px);
}

/* Hover overlay — hidden by default */
.card-overlay {
    position: absolute;
    inset: 0;
    padding: 32px 24px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s, transform 0.4s;
}

.carousel-card:hover .card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.card-overlay h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 2px;
}

.overlay-location {
    font-size: 0.8rem;
    color: var(--copper-light);
    margin-bottom: 16px;
}

.overlay-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
}

.overlay-key {
    font-weight: 600;
    color: var(--copper);
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    margin-right: 8px;
}

.card-overlay p {
    font-size: 0.78rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

/* Arrow buttons */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--cream);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, border-color 0.3s;
}

.carousel-arrow:hover {
    background: var(--charcoal);
    border-color: var(--charcoal);
}

.carousel-arrow svg {
    width: 20px;
    height: 20px;
    color: var(--charcoal);
    transition: color 0.3s;
}

.carousel-arrow:hover svg {
    color: #fff;
}

.carousel-prev { left: 4px; }
.carousel-next { right: 4px; }

/* Mobile: tap to toggle overlay */
.carousel-card.active .card-label {
    opacity: 0;
    transform: translateY(10px);
}

.carousel-card.active .card-overlay {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 968px) {
    .carousel-wrapper {
        padding: 0 48px;
    }

    .carousel-card {
        flex: 0 0 300px;
        height: 400px;
    }

    .carousel-arrow {
        width: 36px;
        height: 36px;
    }

    .carousel-prev { left: 4px; }
    .carousel-next { right: 4px; }
}

@media (max-width: 600px) {
    .carousel-card {
        flex: 0 0 85vw;
        height: 380px;
    }

    .carousel-wrapper {
        padding: 0 44px;
    }
}

/* ===== Approach ===== */
.approach {
    padding: 120px 0;
}

.approach-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.approach-item {
    display: flex;
    gap: 32px;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.approach-item:first-child {
    padding-top: 0;
}

.approach-item:last-child {
    border-bottom: none;
}

.approach-num {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 300;
    color: var(--copper);
    min-width: 60px;
    line-height: 1;
    padding-top: 4px;
}

.approach-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.approach-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* ===== Contact ===== */
.contact {
    padding: 120px 0;
    background: #f4f1ec;
}

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

.contact-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-icon {
    width: 20px;
    height: 20px;
    color: var(--copper);
    flex-shrink: 0;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 4px;
}

.detail-value {
    font-size: 0.95rem;
    color: var(--text);
    transition: color 0.3s;
}

a.detail-value:hover {
    color: var(--copper);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    padding: 14px 16px;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 2px;
    color: var(--text);
    transition: border-color 0.3s;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

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

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

.form-submit {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--cream);
    background: var(--charcoal);
    border: none;
    padding: 14px 36px;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.3s;
    align-self: flex-start;
}

.form-submit:hover {
    background: var(--copper);
}

/* ===== Footer ===== */
.footer {
    background: var(--charcoal);
    padding: 64px 0 32px;
    color: rgba(255,255,255,0.5);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 32px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
    color: #fff;
    display: block;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 0.85rem;
    transition: color 0.3s;
}

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

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

.footer-copy {
    font-size: 0.8rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 0.8rem;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--copper);
}

/* ===== Animations ===== */
.animate-in {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

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

    .focus-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 100px 20px 60px;
    }

    .hero-headline {
        font-size: 2.2rem;
    }

    .approach-item {
        flex-direction: column;
        gap: 12px;
    }

    .approach-num {
        min-width: auto;
    }

    .footer-top,
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 16px;
    }
}
