@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&family=Inter:wght@200;300;400;500&family=Great+Vibes&display=swap');

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { text-decoration: none; }
h1, h2, h3, p { margin: 0; }

/* ---------- Variables / base ---------- */
:root {
    --accent-gold: #B48F56;
    --bg-cream: #FCFBF8;
    --text-dark: #1A1A1A;
}
body {
    background-color: var(--bg-cream);
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
}

.font-playfair { font-family: 'Playfair Display', serif; }
.font-inter    { font-family: 'Inter', sans-serif; }
.font-signature { font-family: 'Great Vibes', cursive; }

::selection { background: #B48F56; color: #fff; }

/* ---------- Layout containers ---------- */
.container       { max-width: 80rem;  margin: 0 auto; padding: 0 1.5rem; }
.container-mid   { max-width: 56rem;  margin: 0 auto; padding: 0 1.5rem; }
.container-narrow{ max-width: 48rem;  margin: 0 auto; padding: 0 1.5rem; }

.section { padding-top: 8rem; padding-bottom: 8rem; }
.section-white { background: #fff; }

/* ---------- Reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.25,0.46,0.45,0.94), transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.lazy-img { opacity: 0; transition: opacity 0.7s ease; }
.lazy-img.loaded { opacity: 1; }

/* ============================================================
   Navigation
   ============================================================ */
.navbar {
    position: fixed;
    width: 100%;
    z-index: 50;
    transition: all 0.5s;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}
.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.nav-container { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo-link { position: relative; z-index: 50; }
.nav-logo { width: 280px; transition: all 0.3s; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.nav-link {
    position: relative;
    padding-bottom: 2px;
    color: #fff;
    transition: color 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: currentColor;
    transition: width 0.28s cubic-bezier(0.25,0.46,0.45,0.94);
}
.nav-link:hover { color: var(--accent-gold); }
.nav-link:hover::after { width: 100%; }
.navbar.scrolled .nav-link { color: var(--text-dark); }

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: #fff;
    z-index: 60;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
    padding: 0;
}
.mix-blend-difference { mix-blend-mode: difference; }
.menu-icon { width: 1.75rem; height: 1.75rem; }
.navbar.scrolled .mobile-menu-button { color: var(--text-dark); }

/* ---------- Mobile menu overlay ---------- */
.mobile-menu {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: 40;
    transform: translateX(-100%);
    transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
    background: var(--bg-cream);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.mobile-menu a { color: var(--text-dark); transition: color 0.4s cubic-bezier(0.25,0.46,0.45,0.94); }
.mobile-menu a:hover { color: var(--accent-gold); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(26,26,26,0.5); }
.hero-content {
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
    z-index: 10;
    width: 100%;
    margin-top: 4rem;
}
.hero-title {
    font-size: 3rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 2rem;
    line-height: 1.1;
}
.hero-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    margin: 0 auto 3rem;
    max-width: 42rem;
    font-weight: 300;
    line-height: 1.625;
}
.hero-btn {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.5);
    color: #fff;
    padding: 1rem 2.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}
.hero-btn:hover { background: #fff; color: var(--text-dark); }

.scroll-arrow {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: color 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
    animation: subtle-bounce 2s infinite ease-in-out;
}
.scroll-arrow:hover { color: #fff; }
.scroll-arrow svg { width: 1.5rem; height: 1.5rem; }
@keyframes subtle-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ============================================================
   Section headers
   ============================================================ */
.section-head { text-align: center; margin-bottom: 5rem; }
.section-title {
    font-size: 2.25rem;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
.section-divider {
    width: 3rem;
    height: 1px;
    background: var(--accent-gold);
    margin: 0 auto 1.5rem;
}
.divider-left { margin-left: 0; margin-right: 0; margin-bottom: 2rem; }
.section-desc {
    font-size: 1rem;
    color: #6b7280;
    max-width: 42rem;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.625;
}

/* ============================================================
   Portfolio / Instagram cards
   ============================================================ */
.ig-portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.ig-card {
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 3px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    cursor: pointer;
}
.ig-card-header { display: flex; align-items: center; padding: 10px 12px; gap: 10px; }
.ig-avatar { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; overflow: hidden; }
.ig-avatar-inner { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
.ig-avatar-img { width: 100%; height: 100%; object-fit: cover; }
.ig-username { font-size: 13px; font-weight: 600; color: #262626; flex: 1; }
.ig-more { color: #262626; font-size: 18px; line-height: 1; letter-spacing: 1px; }
.ig-image-wrap { position: relative; width: 100%; aspect-ratio: 1/1; overflow: hidden; background: #efefef; }
.ig-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, opacity 0.7s ease; }
.ig-card:hover .ig-image-wrap img { transform: scale(1.03); }
.ig-actions { display: flex; align-items: center; gap: 14px; padding: 10px 12px 6px; }
.ig-actions svg { width: 22px; height: 22px; cursor: pointer; transition: transform 0.15s ease; }
.ig-actions svg:hover { transform: scale(1.15); }
.ig-save { margin-left: auto; }
.ig-caption { font-size: 13px; color: #262626; padding: 0 12px 10px; line-height: 1.5; }
.ig-caption strong { font-weight: 600; margin-right: 4px; }

.portfolio-cta { text-align: center; margin-top: 4rem; }

/* ---------- Outline buttons w/ luxury fill ---------- */
.btn-outline-dark {
    display: inline-block;
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
    padding: 1rem 2.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.btn-luxury { position: relative; overflow: hidden; transition: color 0.4s ease; z-index: 1; }
.btn-luxury::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--accent-gold); transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94); z-index: -1;
}
.btn-luxury:hover::before { transform: scaleX(1); }
.btn-luxury:hover { color: #fff; border-color: var(--accent-gold); }

/* ============================================================
   About
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-accent {
    position: absolute; inset: 0;
    background: var(--accent-gold);
    transform: translate(1rem, 1rem);
    z-index: -1;
    opacity: 0.2;
}
.about-img { width: 100%; object-fit: cover; box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.about-title { margin-bottom: 2rem; }
.about-text {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 2;
}
.about-text-last { margin-bottom: 2.5rem; }
.signature { font-size: 3rem; color: var(--text-dark); line-height: 1; }

/* ============================================================
   Services
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.service-card {
    border: 1px solid #e5e7eb;
    padding: 3rem;
    text-align: center;
    background: var(--bg-cream);
    transition: all 0.5s;
}
.service-card:hover { border-color: var(--accent-gold); }
.service-icon {
    color: var(--accent-gold);
    margin-bottom: 2rem;
    transition: transform 0.5s;
}
.service-card:hover .service-icon { transform: translateY(-0.5rem); }
.service-icon svg { width: 2.5rem; height: 2.5rem; margin: 0 auto; stroke-width: 1; }
.service-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1rem;
}
.service-desc { color: #6b7280; font-weight: 300; line-height: 1.625; font-size: 0.875rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-head { margin-bottom: 4rem; }
.faq-list { border-top: 1px solid #e5e7eb; }
.faq-item { border-bottom: 1px solid #e5e7eb; }
.faq-question {
    cursor: pointer;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-q-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.2s;
}
.faq-question:hover .faq-q-text { color: var(--accent-gold); }
.faq-icon {
    width: 1.25rem; height: 1.25rem;
    color: #9ca3af;
    transition: transform 0.5s;
    flex-shrink: 0;
}
.faq-icon.rotated { transform: rotate(-180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease-in-out, padding 0.6s ease-in-out;
    padding: 0;
}
.faq-answer.open { max-height: 500px; padding: 1rem 0 2rem 0; }
.faq-answer p { color: #6b7280; font-weight: 300; line-height: 1.625; font-size: 0.875rem; }

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials { border-top: 1px solid #f3f4f6; border-bottom: 1px solid #f3f4f6; }
.testimonials-inner { text-align: center; }
.testimonials-title { font-size: 2.25rem; font-weight: 300; margin-bottom: 4rem; }

.carousel-wrapper { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-carousel {
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    overflow: hidden;
}
.testimonial-slide {
    transition: opacity 0.7s;
    position: absolute;
    width: 100%;
}
.testimonial-slide.is-active { opacity: 1; }
.testimonial-slide.is-hidden { display: none; opacity: 0; }
.testimonial-quote {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    color: var(--text-dark);
    line-height: 1.625;
    font-style: italic;
    margin-bottom: 1.5rem;
}
.testimonial-author {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.carousel-arrow {
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px;
    border: 1.5px solid #D1C5B0;
    border-radius: 50%;
    background: transparent;
    color: #B48F56;
    flex-shrink: 0;
    transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.carousel-arrow:hover {
    border-color: #B48F56;
    background: #B48F56;
    color: #fff;
    transform: scale(1.08);
}
.carousel-arrow-svg { width: 17px; height: 17px; stroke-width: 1.8; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
    position: relative;
    z-index: 10;
}
.carousel-dots button {
    width: 0.5rem; height: 0.5rem;
    border-radius: 9999px;
    background: #e5e7eb;
    border: none;
    transition: all 0.3s;
    cursor: pointer;
    padding: 0;
}
.carousel-dots button.active {
    background: var(--accent-gold);
    transform: scale(1.25);
}

/* ============================================================
   Contact form
   ============================================================ */
.contact-head { margin-bottom: 4rem; }
.contact-desc { font-size: 1rem; color: #6b7280; font-weight: 300; }

.alert {
    padding: 1rem 1.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 300;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
}
.alert-success {
    background: var(--bg-cream);
    border: 1px solid rgba(180,143,86,0.3);
    color: var(--text-dark);
}
.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 3rem;
    row-gap: 2.5rem;
}
.form-full { grid-column: 1 / -1; }
.form-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}
.form-input {
    width: 100%;
    font-size: 1rem;
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-weight: 300;
    border: none;
    border-bottom: 1px solid #D1D5DB;
    border-radius: 0;
    background-color: transparent;
    transition: border-color 0.3s ease;
    box-shadow: none !important;
    font-family: 'Inter', sans-serif;
}
.form-input::placeholder { color: #d1d5db; }
.form-input:focus { outline: none; border-bottom: 1px solid var(--accent-gold); box-shadow: none; }
.form-select { appearance: none; -webkit-appearance: none; }
.form-textarea { resize: none; }
input[type="date"].form-input::-webkit-calendar-picker-indicator { opacity: 0.5; transition: opacity 0.3s ease; cursor: pointer; }
input[type="date"].form-input:hover::-webkit-calendar-picker-indicator { opacity: 1; }

.cf-turnstile-wrap { margin-top: 2rem; }
.form-submit-wrap { text-align: center; margin-top: 3rem; }
.btn-submit {
    display: inline-block;
    border: 1px solid var(--text-dark);
    background: var(--text-dark);
    color: #fff;
    padding: 1rem 3rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.5s;
}
.btn-submit:hover { background: transparent; color: var(--text-dark); }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: #111111; color: #fff; padding-top: 6rem; padding-bottom: 3rem; }
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}
.footer-logo-col { text-align: center; }
.footer-logo-link { display: inline-block; }
.footer-logo {
    width: 250px;
    margin: 0 auto;
    filter: brightness(0) invert(1);
}
.footer-connect-col { text-align: center; }
.footer-connect-label {
    color: var(--accent-gold);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}
.footer-socials { display: flex; justify-content: center; gap: 2rem; }
.footer-social { color: #9ca3af; transition: color 0.2s; font-size: 1.25rem; }
.footer-social:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #6b7280;
    text-transform: uppercase;
}
.footer-copy { margin-bottom: 1rem; }

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 768px) {
    .nav-logo { width: 320px; }
    .nav-links { display: flex; }
    .mobile-menu-button { display: none; }

    .hero-title { font-size: 3.75rem; }
    .hero-subtitle { font-size: 1.125rem; }

    .section-title { font-size: 3rem; }

    .ig-portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

    .about-grid { grid-template-columns: repeat(2, 1fr); gap: 6rem; }

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

    .faq-q-text { font-size: 1rem; }
    .faq-answer p { font-size: 1rem; }

    .testimonial-quote { font-size: 1.25rem; }
    .testimonial-author { font-size: 1rem; }
    .carousel-wrapper { gap: 1.25rem; }

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

    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-logo-col { text-align: left; }
    .footer-logo { margin: 0; }
    .footer-connect-col { text-align: right; }
    .footer-socials { justify-content: flex-end; }
    .footer-bottom { flex-direction: row; }
    .footer-copy { margin-bottom: 0; }
}

@media (min-width: 1024px) {
    .hero-title { font-size: 4.5rem; }
    .ig-portfolio-grid { grid-template-columns: repeat(4, 1fr); }
    .signature { font-size: 3.75rem; }
}

/* Default mobile state for nav button */
@media (max-width: 767px) {
    .nav-links { display: none; }
    .mobile-menu-button { display: block; }
    /* Hide carousel arrows on mobile */
    #prev-btn, #next-btn { display: none !important; }
}
