/* =========================================
   Fancy Photo — Custom Styles
   ========================================= */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 300;
    color: #2a2219;
    background-color: #fefdfb;
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* =========================================
   Utility
   ========================================= */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-terra {
    color: #C4704B;
}

.hover-underline {
    position: relative;
    transition: color 0.3s ease;
}
.hover-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #C4704B;
    transition: width 0.3s ease;
}
.hover-underline:hover {
    color: #a85a3a;
}
.hover-underline:hover::after {
    width: 100%;
}

.section-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #C4704B;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 300;
    line-height: 1.1;
    color: #1e1914;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 15px;
    color: #6b5e52;
    max-width: 520px;
    line-height: 1.8;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    border-radius: 100px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: #C4704B;
    color: #fff;
    border: 1.5px solid #C4704B;
}
.btn-primary:hover {
    background: #a85a3a;
    border-color: #a85a3a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196, 112, 75, 0.3);
}

.btn-outline {
    background: transparent;
    color: #2a2219;
    border: 1.5px solid rgba(42, 34, 25, 0.25);
}
.btn-outline:hover {
    border-color: #C4704B;
    color: #C4704B;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* =========================================
   Navigation
   ========================================= */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 253, 251, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(42, 34, 25, 0.06);
    transition: box-shadow 0.3s ease;
}
.nav.scrolled {
    box-shadow: 0 1px 20px rgba(42, 34, 25, 0.06);
}

.nav-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    height: 72px;
    gap: 40px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 20px;
    font-weight: 500;
    color: #1e1914;
    letter-spacing: -0.01em;
}
.nav-logo:hover {
    color: #C4704B;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin-left: auto;
}

.nav-link {
    font-size: 13px;
    font-weight: 400;
    color: #6b5e52;
    padding: 8px 16px;
    border-radius: 100px;
    transition: all 0.3s ease;
}
.nav-link:hover {
    color: #C4704B;
    background: rgba(196, 112, 75, 0.06);
}

.nav-cta {
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    background: #C4704B;
    padding: 10px 22px;
    border-radius: 100px;
    margin-left: 8px;
    transition: all 0.3s ease;
}
.nav-cta:hover {
    background: #a85a3a;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: #2a2219;
    transition: background 0.3s ease;
    margin-left: auto;
}
.nav-toggle:hover {
    background: rgba(196, 112, 75, 0.08);
}

/* Mobile overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(30, 25, 20, 0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* =========================================
   Hero
   ========================================= */
.hero {
    min-height: 100vh;
    padding: 120px 0 0;
    background: #fefdfb;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: calc(100vh - 72px);
}

/* Left column */
.hero-greeting {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px;
    font-weight: 400;
    font-style: italic;
    color: #C4704B;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.hero-headline {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(44px, 6vw, 78px);
    font-weight: 300;
    line-height: 1.05;
    color: #1e1914;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hero-accent {
    color: #C4704B;
    font-style: italic;
}

.hero-sub {
    font-size: 16px;
    color: #6b5e52;
    line-height: 1.8;
    max-width: 440px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #6b5e52;
}
.hero-detail-item svg {
    flex-shrink: 0;
    color: #C4704B;
}
.hero-detail-item a {
    color: #6b5e52;
}
.hero-detail-item a:hover {
    color: #C4704B;
}

/* Right column — image stack */
.hero-right {
    position: relative;
    height: 680px;
}

.hero-img-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-img {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(42, 34, 25, 0.12);
}
.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-img-main {
    width: 340px;
    height: 460px;
    top: 20px;
    right: 20px;
    z-index: 2;
}

.hero-img-accent {
    width: 240px;
    height: 180px;
    bottom: 140px;
    left: 0;
    z-index: 3;
    border: 4px solid #fefdfb;
}

.hero-img-small {
    width: 140px;
    height: 140px;
    bottom: 20px;
    right: 40px;
    z-index: 3;
    border: 4px solid #fefdfb;
    border-radius: 50%;
}

/* Decorative line */
.hero-line {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}
.hero-line-inner {
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(196, 112, 75, 0.2), transparent);
}

/* =========================================
   Marquee
   ========================================= */
.marquee-wrap {
    background: #1e1914;
    padding: 18px 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 32px;
    align-items: center;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-item {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 16px;
    font-weight: 400;
    color: rgba(254, 252, 248, 0.7);
    white-space: nowrap;
    letter-spacing: 0.04em;
}

.marquee-dot {
    color: #C4704B;
    font-size: 8px;
    flex-shrink: 0;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =========================================
   Services
   ========================================= */
.services {
    padding: 120px 0;
    background: #fefdfb;
}

.services-header {
    margin-bottom: 72px;
}

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

.service-card {
    background: #fdf8f2;
    border: 1px solid rgba(196, 112, 75, 0.08);
    border-radius: 20px;
    padding: 40px 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #C4704B, #e0a662);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(196, 112, 75, 0.1);
    border-color: rgba(196, 112, 75, 0.15);
}
.service-card:hover::before {
    transform: scaleX(1);
}

.service-card-num {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 48px;
    font-weight: 300;
    color: rgba(196, 112, 75, 0.15);
    line-height: 1;
    margin-bottom: 20px;
}

.service-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(196, 112, 75, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C4704B;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}
.service-card:hover .service-card-icon {
    background: #C4704B;
    color: #fff;
}

.service-card-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 24px;
    font-weight: 500;
    color: #1e1914;
    margin-bottom: 12px;
}

.service-card-desc {
    font-size: 14px;
    color: #6b5e52;
    line-height: 1.75;
}

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

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

.about-image {
    position: relative;
    height: 640px;
}

.about-image img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(42, 34, 25, 0.1);
}

.about-image-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    border-radius: 16px;
    overflow: hidden;
    border: 5px solid #fdf8f2;
    box-shadow: 0 16px 40px rgba(42, 34, 25, 0.12);
}
.about-image-accent img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content {
    padding: 20px 0;
}

.about-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, #C4704B, #e0a662);
    border-radius: 2px;
    margin-bottom: 32px;
}

.about-p {
    font-size: 15px;
    color: #6b5e52;
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(196, 112, 75, 0.12);
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-stat-num {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 40px;
    font-weight: 400;
    color: #C4704B;
    line-height: 1;
}

.about-stat-label {
    font-size: 12px;
    color: #8a7e72;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.about-stat-divider {
    width: 1px;
    background: rgba(196, 112, 75, 0.2);
    align-self: stretch;
}

/* =========================================
   Gallery
   ========================================= */
.gallery {
    padding: 120px 0;
    background: #fefdfb;
}

.gallery-header {
    margin-bottom: 72px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 25, 20, 0.7) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}
.gallery-item-overlay span {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.02em;
}

.gallery-item-tall {
    grid-column: 1 / 5;
    grid-row: 1 / 3;
    min-height: 500px;
}
.gallery-item {
    grid-column: span 4;
    min-height: 240px;
}
.gallery-item-wide {
    grid-column: span 8;
    min-height: 240px;
}

/* =========================================
   Contact
   ========================================= */
.contact {
    padding: 120px 0;
    background: #1e1914;
    color: #fdf8f2;
}

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

.contact .section-title {
    color: #fdf8f2;
}

.contact-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, #C4704B, #e0a662);
    border-radius: 2px;
    margin-bottom: 28px;
}

.contact-p {
    font-size: 15px;
    color: rgba(253, 248, 242, 0.6);
    line-height: 1.85;
    margin-bottom: 40px;
    max-width: 440px;
}

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

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(196, 112, 75, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C4704B;
    flex-shrink: 0;
}

.contact-detail-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(253, 248, 242, 0.4);
    margin-bottom: 4px;
}

.contact-detail-value {
    font-size: 15px;
    color: #fdf8f2;
    line-height: 1.6;
}
.contact-detail-value a {
    color: #fdf8f2;
}
.contact-detail-value a:hover {
    color: #C4704B;
}

.contact-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

/* Form */
.contact-form-wrap {
    padding-top: 8px;
}

.contact-form-card {
    background: rgba(253, 248, 242, 0.04);
    border: 1px solid rgba(253, 248, 242, 0.08);
    border-radius: 24px;
    padding: 48px 40px;
}

.contact-form-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 28px;
    font-weight: 400;
    color: #fdf8f2;
    margin-bottom: 8px;
}

.contact-form-desc {
    font-size: 14px;
    color: rgba(253, 248, 242, 0.5);
    margin-bottom: 32px;
    line-height: 1.7;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(253, 248, 242, 0.5);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.form-opt {
    font-weight: 300;
    text-transform: none;
    letter-spacing: 0;
    opacity: 0.6;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #fdf8f2;
    background: rgba(253, 248, 242, 0.06);
    border: 1px solid rgba(253, 248, 242, 0.1);
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
}
.form-input::placeholder {
    color: rgba(253, 248, 242, 0.25);
}
.form-input:focus {
    border-color: #C4704B;
    background: rgba(196, 112, 75, 0.06);
    box-shadow: 0 0 0 3px rgba(196, 112, 75, 0.1);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(253,248,242,0.4)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}
.form-select option {
    background: #2a2219;
    color: #fdf8f2;
}

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

/* Form success */
.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}
.form-success-icon {
    margin-bottom: 20px;
}
.form-success-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 28px;
    font-weight: 400;
    color: #fdf8f2;
    margin-bottom: 12px;
}
.form-success-text {
    font-size: 14px;
    color: rgba(253, 248, 242, 0.5);
    line-height: 1.7;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background: #161210;
    color: #fdf8f2;
    padding: 72px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(253, 248, 242, 0.06);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px;
    font-weight: 500;
    color: #fdf8f2;
    margin-bottom: 16px;
}
.footer-logo:hover {
    color: #C4704B;
}

.footer-tagline {
    font-size: 14px;
    color: rgba(253, 248, 242, 0.4);
    line-height: 1.75;
    max-width: 280px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col-title {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #C4704B;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col li {
    font-size: 14px;
    color: rgba(253, 248, 242, 0.5);
    line-height: 1.6;
}
.footer-col li a {
    color: rgba(253, 248, 242, 0.5);
    transition: color 0.3s ease;
}
.footer-col li a:hover {
    color: #C4704B;
}
.footer-col li span {
    display: block;
}
.footer-col li span:last-child {
    text-align: right;
}

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

.footer-copy, .footer-loc {
    font-size: 13px;
    color: rgba(253, 248, 242, 0.25);
}

/* =========================================
   Scroll Reveal
   ========================================= */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .reveal-up.revealed,
    .reveal-left.revealed,
    .reveal-right.revealed {
        opacity: 1;
        transform: none;
    }
}

/* With reduced motion off, we set initial states via JS */

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-right {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 140px 0 80px;
    }

    .hero-actions {
        margin-bottom: 32px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-image {
        height: 420px;
        max-width: 500px;
    }

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

    .gallery-item-tall {
        grid-column: 1 / 7;
        grid-row: auto;
        min-height: 360px;
    }
    .gallery-item {
        grid-column: span 6;
        min-height: 200px;
    }
    .gallery-item-wide {
        grid-column: span 12;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        background: #fefdfb;
        flex-direction: column;
        align-items: stretch;
        padding: 100px 32px 40px;
        gap: 4px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 16px;
        padding: 14px 16px;
        border-radius: 12px;
    }
    .nav-link:hover {
        background: rgba(196, 112, 75, 0.06);
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 16px;
        text-align: center;
        padding: 14px 22px;
    }

    .nav-toggle {
        display: flex;
    }

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

    .services, .about, .gallery, .contact {
        padding: 80px 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item-tall,
    .gallery-item,
    .gallery-item-wide {
        grid-column: span 1;
        min-height: 220px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 32px 24px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 40px;
    }

    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}
