:root {
    --primary-color: #2F4F4F;
    --secondary-color: #F5F2EB;
    --accent-color: #D4AF37;
    --background-color: #FFFFFF;
    --surface-color: #F7F5F0;
    --text-color: #222222;
    --muted-text-color: #666666;

    --on-primary-color: #FFFFFF;
    --on-secondary-color: #111111;
    --on-accent-color: #111111;
    --on-background-color: #111111;
    --on-surface-color: #111111;

    --heading-font: "Georgia", Georgia, serif;
    --body-font: "Arial", Arial, sans-serif;

    --border-radius: 8px;
    --button-radius: 999px;
    --section-spacing: 90px;
    --brand-shadow: 0 15px 40px rgba(0, 0, 0, 0.10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    background: var(--secondary-color);
    line-height: 1.6;
}

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

a {
    color: inherit;
}

section {
    scroll-margin-top: 0;
}

/* ===========================
   Header
=========================== */

.site-header {
    position: fixed;
    top: 24px;
    left: 50%;
    z-index: 100;
    width: calc(100% - 48px);
    max-width: 1320px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    transform: translateX(-50%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: rgba(15, 15, 15, 0.68);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.site-logo {
    color: white;
    text-decoration: none;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.site-nav a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.site-nav a:hover {
    color: var(--accent-color);
}

.nav-cta {
    padding: 0.7rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 999px;
}

/* ===========================
   Hero
=========================== */

.luxury-hero {
    position: relative;
    min-height: 100vh;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: white;
    background: #111;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.84) 0%,
            rgba(0, 0, 0, 0.62) 48%,
            rgba(0, 0, 0, 0.32) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 3;
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: 10rem 6% 7rem;
}

.hero-content h1 {
    max-width: 900px;
    margin: 0 0 1.25rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 7vw, 6.2rem);
    line-height: 1;
    letter-spacing: -0.03em;
}

.hero-content p {
    max-width: 700px;
    margin: 0 0 2rem;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.hero-button,
.button {
    display: inline-block;
    padding: 1rem 1.75rem;
    border-radius: 999px;
    background: var(--accent-color);
    color: var(--on-accent-color);
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.hero-button:hover,
.button:hover {
    transform: translateY(-2px);
    background: var(--accent-color);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
}

/* ===========================
   Shared Sections
=========================== */

.about,
.services,
.gallery,
.contact {
    padding: 6rem 8%;
}

.about h2,
.services h2,
.gallery h2,
.contact h2 {
    margin: 0 0 1rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.1;
}

.about > p,
.services > p,
.gallery > p,
.contact > p {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    font-size: 1.08rem;
    color: var(--muted-text-color);
}

/* ===========================
   About
=========================== */

.about {
    background: white;
}

.about p {
    max-width: 850px;
    font-size: 1.08rem;
}

/* Split About layouts */

.about-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 6rem);
}

.about-split .about-content {
    min-width: 0;
}

.about-split .about-content p {
    margin: 0 0 2rem;
    line-height: 1.75;
    color: var(--muted-text-color, #666666);
}

.about-split .about-image {
    min-width: 0;
}

.about-split .about-image img {
    display: block;
    width: 100%;
    height: clamp(360px, 44vw, 620px);
    object-fit: cover;
    border-radius: var(--border-radius, 18px);
    box-shadow: var(
        --shadow,
        0 18px 45px rgba(0, 0, 0, 0.14)
    );
}

/*
The left template places its image first.
The right template places its content first.
The HTML order therefore controls which side contains the image.
*/

@media (max-width: 850px) {
    .about-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-split .about-content {
        order: 1;
    }

    .about-split .about-image {
        order: 2;
    }

    .about-split .about-image img {
        height: clamp(300px, 75vw, 500px);
    }
}

/* ===========================
   Services
=========================== */

.services {
    color: white;
    background:
        linear-gradient(135deg, #111, var(--primary-color));
}

.services > p {
    color: var(--secondary-color);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.card {
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.7);
    background: rgba(255, 255, 255, 0.09);
}

.card h3 {
    margin: 0 0 0.75rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
}

.card p {
    margin: 0;
    color: var(--secondary-color);
}

/* ===========================
   Gallery
=========================== */

.gallery {
    background: var(--secondary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.gallery-item {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    border-radius: 18px;
    background: var(--secondary-color);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ===========================
   Contact
=========================== */

.contact {
    text-align: center;
    background: white;
}

.contact-info {
    max-width: 760px;
    margin: 2rem auto;
    padding: 2rem;
    border: 1px solid var(--secondary-color);
    border-radius: 18px;
    background: var(--surface-color);
    color: var(--on-surface-color);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.07);
}

.contact-info p {
    margin: 0.6rem 0;
}

/* ===========================
   Footer
=========================== */

footer {
    padding: 2rem 8%;
    text-align: center;
    color: var(--secondary-color);
    background: var(--primary-color);
}

/* ===========================
   Responsive
=========================== */

@media (max-width: 900px) {
    .site-header {
        top: 16px;
        width: calc(100% - 32px);
        padding: 14px 18px;
        border-radius: 16px;
    }

    .site-nav {
        gap: 1rem;
    }

    .hero-content {
        padding: 9rem 1.5rem 5rem;
    }

    .service-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item,
    .gallery-item img {
        min-height: 280px;
    }
}

@media (max-width: 700px) {
    .site-nav {
        display: none;
    }

    .about,
    .services,
    .gallery,
    .contact {
        padding: 4.5rem 1.25rem;
    }

    .luxury-hero {
        min-height: 85vh;
    }

    .hero-content h1 {
        font-size: clamp(2.7rem, 13vw, 4.5rem);
    }
}

/* ===========================
   Testimonials
=========================== */

.testimonials {
    padding: 6rem 8%;
    background: var(--surface-color);
}

.testimonials h2 {
    margin: 0 0 2.5rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.1;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    padding: 2rem;
    border-left: 5px solid var(--accent-color);
    border-radius: 16px;
    background: white;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.testimonial-text {
    margin: 0 0 1.25rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
    line-height: 1.7;
}

.testimonial-name {
    margin: 0;
    color: var(--accent-color);
    font-weight: 800;
}

@media (max-width: 900px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .testimonials {
        padding: 4.5rem 1.25rem;
    }
}

/* ===========================
   SERVICES - CARD LAYOUT
=========================== */

.services-cards {
    padding: var(--section-spacing, 100px) 0;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #111111,
            #2b2b2b
        );
}

.services-cards .section-container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.services-cards .section-heading {
    max-width: 720px;
    margin: 0 auto 60px;
    text-align: center;
}

.services-cards .section-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.services-cards .section-heading h2 {
    margin: 0 0 18px;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.1;
    color: #ffffff;
}

.services-cards .section-heading p {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.78);
}

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

.services-cards .service-card {
    position: relative;
    padding: 42px 34px;
    overflow: hidden;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--border-radius, 18px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.services-cards .service-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.36);
}

.services-cards .service-number {
    margin-bottom: 24px;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.18);
    opacity: 0.5;
}

.services-cards .service-card h3 {
    margin: 0 0 16px;
    font-size: 1.5rem;
    color: #ffffff;
}

.services-cards .service-card p {
    margin: 0;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.76);
}

/* ===========================
   Brand Presentation Engine V1
   Logo Handling
=========================== */

.site-logo-image {
    display: block;
    max-height: 70px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.site-logo-text {
    font-size: clamp(1.4rem, 2vw, 2rem);
    font-weight: 700;
}


/* =================================================
   PORTFOLIO
   ================================================= */

.portfolio-section {
    padding: var(--section-spacing, 90px) 5%;
    background: var(--surface-color, #f7f7f7);
}

.section-container {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.portfolio-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.section-eyebrow {
    display: block;
    margin-bottom: 12px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-color, #2f4f4f);
}

.portfolio-heading h2 {
    margin: 0 0 18px;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.08;
}

.portfolio-heading p {
    max-width: 680px;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.75;
}

.portfolio-grid,
.dynamic-gallery-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(260px, 1fr)
    );
    gap: 20px;
}

.portfolio-item,
.gallery-item {
    min-height: 260px;
    margin: 0;
    overflow: hidden;
    border-radius: var(--border-radius, 8px);
    box-shadow: var(
        --shadow,
        0 15px 40px rgba(0, 0, 0, 0.10)
    );
}

.portfolio-item-large {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 540px;
}

.gallery-lightbox-trigger {
    width: 100%;
    height: 100%;
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.portfolio-item img,
.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img,
.gallery-item:hover img {
    transform: scale(1.035);
}

.gallery-item-extra {
    display: none;
}

.gallery-item-extra.is-visible {
    display: block;
}

@media (max-width: 900px) {
    .portfolio-item-large {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 320px;
    }
}

@media (max-width: 600px) {
    .portfolio-grid,
    .dynamic-gallery-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-item,
    .gallery-item,
    .portfolio-item-large {
        min-height: 280px;
    }
}

/* =========================================
   Dynamic Gallery Final Layout
========================================= */

.portfolio-grid.dynamic-gallery-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(280px, 1fr)
    );
    grid-template-rows: none;
    gap: 20px;
}

.dynamic-gallery-grid .portfolio-item,
.dynamic-gallery-grid .gallery-item,
.dynamic-gallery-grid .portfolio-item-large {
    position: relative;
    display: flex;
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    min-height: 280px;
    height: 280px;
    margin: 0;
    overflow: hidden;
}

.dynamic-gallery-grid .gallery-lightbox-trigger {
    display: block;
    flex: 1;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.dynamic-gallery-grid .gallery-lightbox-trigger img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
}

@media (max-width: 650px) {
    .portfolio-grid.dynamic-gallery-grid {
        grid-template-columns: 1fr;
    }

    .dynamic-gallery-grid .portfolio-item,
    .dynamic-gallery-grid .gallery-item,
    .dynamic-gallery-grid .portfolio-item-large {
        height: 260px;
        min-height: 260px;
    }
}

/* ===========================
   Service Card Images
=========================== */

.service-card-image {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.service-card-content {
    padding: 1.5rem;
}

/* Keep extra dynamic gallery images hidden until View More is clicked */
.dynamic-gallery-grid .gallery-item-extra {
    display: none;
}

.dynamic-gallery-grid .gallery-item-extra.is-visible {
    display: flex;
}

/* =========================================
   Universal Hero Structure Fix
========================================= */

.hero {
    position: relative;
    min-height: 100vh;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #ffffff;
    background: #111111;
}

/*
Keep anchored section headings visible below the fixed site header.
*/
html {
    scroll-padding-top: 100px;
}

section[id] {
    scroll-margin-top: 0;
}

/* Ensure About headings remain visible on light backgrounds. */
.about .about-content h2 {
    display: block;
    margin: 0 0 1rem;
    color: var(--text-color, #222222);
}

@media (max-width: 700px) {
    .hero {
        min-height: 85vh;
    }
}

/* =========================================
   Blog Index and Article Pages
========================================= */

.blog-page,
.blog-article-page {
    min-height: 100vh;
    background: var(--background-color);
    color: var(--text-color);
    padding: 140px 24px 80px;
}

.blog-page .blog-section {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-page .section-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.blog-page .section-heading h1 {
    margin: 0 0 16px;
    color: var(--text-color);
    font-family: var(--heading-font);
    font-size: clamp(2.4rem, 5vw, 4.25rem);
    line-height: 1.08;
}

.blog-page .section-heading p {
    margin: 0;
    color: var(--muted-text-color);
    font-size: 1.1rem;
    line-height: 1.7;
}

.blog-page .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.blog-page .blog-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 28px;
    background: var(--surface-color);
    color: var(--text-color);
    border-radius: var(--border-radius);
    box-shadow: var(--brand-shadow);
}

.blog-page .blog-card h2 {
    margin: 0 0 16px;
    color: var(--text-color);
    font-family: var(--heading-font);
    font-size: 1.6rem;
    line-height: 1.25;
}

.blog-page .blog-card p {
    margin: 0 0 24px;
    color: var(--muted-text-color);
    line-height: 1.7;
}

.blog-page .blog-link {
    margin-top: auto;
    color: var(--accent-color);
    font-weight: 700;
    text-decoration: none;
}

.blog-page .blog-link:hover {
    text-decoration: underline;
}

.blog-article {
    width: min(100%, 820px);
    margin: 0 auto;
}

.blog-article .section-eyebrow {
    margin: 0 0 14px;
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.blog-article h1 {
    margin: 0 0 24px;
    color: var(--text-color);
    font-family: var(--heading-font);
    font-size: clamp(2.5rem, 4vw, 3.25rem);
    line-height: 1.08;
}

.blog-article-intro {
    margin: 0 0 42px;
    color: var(--muted-text-color);
    font-size: 1.25rem;
    line-height: 1.75;
}

.blog-article-content {
    color: var(--text-color);
    font-size: 1.08rem;
    line-height: 1.85;
}

.blog-article-content p {
    margin: 0 0 1.5rem;
}

.blog-article-content h2 {
    margin: 2.8rem 0 1rem;
    color: var(--text-color);
    font-family: var(--heading-font);
    font-size: clamp(1.75rem, 2.4vw, 2.125rem);
    line-height: 1.2;
}

.blog-article-content h3 {
    margin: 2.2rem 0 0.8rem;
    color: var(--text-color);
    font-family: var(--heading-font);
    font-size: 1.5rem;
    line-height: 1.25;
}

.blog-article-content ul,
.blog-article-content ol {
    margin: 0 0 1.8rem;
    padding-left: 1.5rem;
}

.blog-article-content li {
    margin-bottom: 0.65rem;
}

.blog-back-link {
    margin-top: 48px;
}

.blog-back-link a {
    color: var(--accent-color);
    font-weight: 700;
    text-decoration: none;
}

.blog-back-link a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .blog-page,
    .blog-article-page {
        padding-top: 120px;
    }

    .blog-page .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .blog-page,
    .blog-article-page {
        padding-left: 18px;
        padding-right: 18px;
    }

    .blog-page .blog-card {
        padding: 22px;
    }

    .blog-article h1 {
        font-size: 2.5rem;
        line-height: 1.08;
    }

    .blog-article-content h2 {
        font-size: 1.875rem;
        line-height: 1.15;
    }

    .blog-article-content h3 {
        font-size: 1.4rem;
    }

    .blog-article-intro {
        font-size: 1.1rem;
    }

    .blog-article-content {
        font-size: 1rem;
    }
}


/* ===========================
   AI Presentation System
=========================== */
.site-header {
    top: 0;
    width: 100%;
    max-width: none;
    border: none;
    border-radius: 0;
    background: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.luxury-hero {
    justify-content: flex-start;
}
.hero-content {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}
.luxury-hero,
.hero-content,
.hero-content h1,
.hero-content p {
    color: #ffffff;
}
.hero-overlay {
    background: rgba(0, 0, 0, 0.58);
}
.site-nav {
    gap: 1.8rem;
}
.button,
.hero-button,
.nav-cta {
    border-radius: 14px;
}
.card,
.service-card,
.collection-card,
.product-card {
    background: var(--surface-color);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
}
@media (max-width: 900px) {
    .site-header {
        top: 16px;
        width: calc(100% - 32px);
        padding: 14px 18px;
        border-radius: 16px;
    }
}

/* MARCAI PRESENTATION START: services.image.1 */
[data-marcai-id="services.image.1"] {
    width: 100%;
    height: auto;
    object-fit: contain;
}
/* MARCAI PRESENTATION END: services.image.1 */

/* MARCAI PRESENTATION START: services.structural.1 */
[data-marcai-id="services.structural.1"] {
    display: none;
}
/* MARCAI PRESENTATION END: services.structural.1 */

/* MARCAI PRESENTATION START: services.structural.2 */
[data-marcai-id="services.structural.2"] {
    display: none;
}
/* MARCAI PRESENTATION END: services.structural.2 */

/* MARCAI PRESENTATION START: services.structural.3 */
[data-marcai-id="services.structural.3"] {
    display: none;
}
/* MARCAI PRESENTATION END: services.structural.3 */

/* MARCAI PRESENTATION START: header.image.1 */
[data-marcai-id="header.image.1"] {
    transform: scale(1.1);
}
/* MARCAI PRESENTATION END: header.image.1 */

/* MARCAI PRESENTATION START: header.container.1 */
[data-marcai-id="header.container.1"] {
    background-color: black !important;
}
/* MARCAI PRESENTATION END: header.container.1 */

/* MARCAI PRESENTATION START: hero.image.1 */
[data-marcai-id="hero.image.1"] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* MARCAI PRESENTATION END: hero.image.1 */

/* MARCAI PRESENTATION START: hero.container.1 */
[data-marcai-id="hero.container.1"] {
    min-height: 0;
    aspect-ratio: 1536 / 1024;
}
/* MARCAI PRESENTATION END: hero.container.1 */

/* MARCAI PRESENTATION START: gallery.container.1 */
[data-marcai-id="gallery.container.1"] {
    background-color: tan;
}
/* MARCAI PRESENTATION END: gallery.container.1 */

/* MARCAI PRESENTATION START: about.container.1 */
[data-marcai-id="about.container.1"] {
    background-color: tan;
}
/* MARCAI PRESENTATION END: about.container.1 */

/* MARCAI PRESENTATION START: testimonials.container.1 */
[data-marcai-id="testimonials.container.1"] {
    background-color: tan;
}
/* MARCAI PRESENTATION END: testimonials.container.1 */

/* MARCAI PRESENTATION START: footer.container.1 */
[data-marcai-id="footer.container.1"] {
    background-color: black;
}
/* MARCAI PRESENTATION END: footer.container.1 */

/* MARCAI PRESENTATION START: contact.container.1 */
[data-marcai-id="contact.container.1"] {
    background-color: tan;
}
/* MARCAI PRESENTATION END: contact.container.1 */

/* MARCAI PRESENTATION START: about.image.1 */
[data-marcai-id="about.image.1"] {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}
/* MARCAI PRESENTATION END: about.image.1 */

/* MARCAI PRESENTATION START: blog.container.1 */
[data-marcai-id="blog.container.1"] {
    background-color: tan !important;
}
/* MARCAI PRESENTATION END: blog.container.1 */

/* MARCAI PRESENTATION START: main.container.1 */
[data-marcai-id="main.container.1"] {
    background-color: tan !important;
}
/* MARCAI PRESENTATION END: main.container.1 */

/* MARCAI QUOTE MODAL */

.quote-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.quote-modal.is-open {
    display: flex;
}

.quote-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
}

.quote-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: #f5f1e8;
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.quote-modal-dialog h2 {
    margin-top: 0;
    margin-bottom: 8px;
}

.quote-modal-dialog p {
    margin-bottom: 24px;
}

.quote-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    border: 0;
    background: transparent;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.quote-form {
    display: grid;
    gap: 16px;
}

.quote-form label {
    display: grid;
    gap: 6px;
    font-weight: 600;
}

.quote-form input,
.quote-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    border: 1px solid #aaa;
    border-radius: 6px;
    font: inherit;
}

.quote-form textarea {
    resize: vertical;
}

.quote-form .button {
    width: 100%;
    margin-top: 4px;
}

body.quote-modal-open {
    overflow: hidden;
}

/* MARCAI PROMOTION BANNER */

.promotion-banner {
    width: 100%;
    padding: 12px 20px;
    box-sizing: border-box;
    background: #111;
    color: #fff;
    text-align: center;
}

.promotion-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.promotion-title {
    font-size: 1.05rem;
}

.promotion-text {
    line-height: 1.4;
}

.promotion-button {
    display: inline-block;
    padding: 7px 14px;
    border: 1px solid currentColor;
    border-radius: 6px;
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

/* Keep promotion below fixed site header */
.promotion-banner {
    margin-top: 92px;
    position: relative;
    z-index: 10;
}

/* MARCAI PRESENTATION START: promotion-banner.a.1 */
[data-marcai-id="promotion-banner.a.1"] {
    display: none !important;
}
/* MARCAI PRESENTATION END: promotion-banner.a.1 */

/* MARCAI PRESENTATION START: promotion-banner.container.1 */
[data-marcai-id="promotion-banner.container.1"] {
    position: sticky !important;
    top: 92px !important;
    z-index: 90 !important;
    margin-top: 92px !important;
}
/* MARCAI PRESENTATION END: promotion-banner.container.1 */

/* =========================================================
   TROPHY TIME — MOBILE PRESENTATION
   Desktop presentation remains unchanged.
========================================================= */

@media (max-width: 700px) {

    /* HEADER */
    .site-header {
        top: 8px;
        width: calc(100% - 16px);
        padding: 8px 12px;
        border-radius: 12px;
    }

    [data-marcai-id="header.image.1"] {
        transform: none;
        max-height: 72px;
        width: auto;
        object-fit: contain;
    }

    .site-logo-image {
        max-height: 72px;
        width: auto;
    }

    /* SEASON SPECIAL */
    .promotion-banner {
        padding: 12px 16px;
    }

    .promotion-content {
        gap: 4px;
    }

    .promotion-title {
        margin: 0;
        font-size: 1rem;
        line-height: 1.2;
    }

    .promotion-text {
        margin: 0;
        font-size: 0.9rem;
        line-height: 1.35;
    }

    /* HERO */
    [data-marcai-id="hero.container.1"] {
        aspect-ratio: auto;
        min-height: 500px;
    }

    [data-marcai-id="hero.image.1"] {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .hero-content {
        padding: 24px 20px;
        width: 100%;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 9vw, 2.8rem);
        line-height: 1.05;
        margin-bottom: 14px;
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.45;
        margin-bottom: 18px;
    }

    /* PROJECTS */
    [data-marcai-id="gallery.container.1"] h2 {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
        line-height: 1.1;
        margin-bottom: 20px;
    }
}


/* Trophy Time mobile refinement */
@media (max-width: 700px) {

    /* Compact mobile header */
    .site-header {
        top: 6px;
        width: calc(100% - 12px);
        min-height: 0;
        padding: 5px 10px;
    }

    [data-marcai-id="header.image.1"],
    .site-logo-image {
        height: 60px;
        max-height: 60px;
        width: auto;
        transform: none;
    }

    /* Override original 85vh mobile hero */
    .luxury-hero,
    [data-marcai-id="hero.container.1"] {
        min-height: 0;
        height: auto;
        aspect-ratio: 4 / 5;
    }

    /* Keep hero content completely inside phone viewport */
    .hero-content {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 24px 32px;
        left: auto;
        right: auto;
        transform: none;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 10vw, 2.8rem);
        line-height: 1.02;
        margin: 0 0 14px;
        max-width: 100%;
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.4;
        margin: 0 0 18px;
        max-width: 100%;
    }

    /* Completed Projects heading */
    .gallery h2,
    [data-marcai-id="gallery.container.1"] h2 {
        font-size: 2.25rem;
        line-height: 1.05;
        margin: 0 0 24px;
    }
}


/* =========================================================
   TROPHY TIME — MOBILE NAVIGATION
========================================================= */

.mobile-menu-toggle {
    display: none;
}

@media (max-width: 700px) {

    .site-header {
        position: fixed;
    }

    .mobile-menu-toggle {
        display: block;
        margin-left: auto;
        border: 0;
        background: transparent;
        color: #ffffff;
        font-size: 2rem;
        line-height: 1;
        cursor: pointer;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        width: 100%;
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        background: #000000;
        border-radius: 12px;
        box-shadow: 0 14px 30px rgba(0,0,0,0.28);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        display: block;
        padding: 12px 14px;
        font-size: 1rem;
    }

    .nav-cta {
        text-align: center;
    }
}


/* =========================================================
   TROPHY TIME — MOBILE NAV REFINEMENT
========================================================= */

@media (max-width: 700px) {

    .site-nav {
        padding: 8px 12px 12px;
        gap: 2px;
    }

    .site-nav a {
        padding: 9px 10px;
        font-size: 0.95rem;
        line-height: 1.2;
    }

    .nav-cta {
        margin-top: 4px;
        padding: 10px 12px !important;
    }

    .mobile-menu-toggle {
        font-size: 1.8rem;
    }
}


/* =========================================================
   TROPHY TIME — MOBILE HERO + SECTION SPACING
========================================================= */

@media (max-width: 700px) {

    /* Let hero scale with different phone widths */
    [data-marcai-id="hero.container.1"] {
        min-height: clamp(430px, 115vw, 480px);
        aspect-ratio: auto;
    }

    /* Keep content comfortably inside hero */
    .hero-content {
        padding: clamp(22px, 6vw, 32px);
    }

    /* Tighten top of projects section */
    [data-marcai-id="gallery.container.1"] {
        padding-top: clamp(28px, 7vw, 42px);
    }

    [data-marcai-id="gallery.container.1"] h2 {
        margin-top: 0;
        margin-bottom: clamp(18px, 5vw, 28px);
        font-size: clamp(2rem, 8.5vw, 2.8rem);
        line-height: 1.05;
    }
}


/* =========================================================
   TROPHY TIME — MOBILE SERVICES + PROMO FIX
========================================================= */

@media (max-width: 700px) {

    /* Promotion should scroll normally on phones */
    [data-marcai-id="promotion-banner.container.1"] {
        position: relative !important;
        top: auto !important;
        z-index: 10 !important;
        margin-top: 92px !important;
    }

    /* Services become one full-width card per row */
    .services-cards .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-cards {
        padding: clamp(3rem, 10vw, 4.5rem) 0;
    }

    .services-cards .section-container {
        width: min(100% - 32px, 1200px);
    }

    .services-cards .section-heading {
        margin-bottom: 32px;
    }

    .services-cards .section-heading h2 {
        font-size: clamp(2rem, 9vw, 2.8rem);
        line-height: 1.08;
    }

    .services-cards .section-heading p {
        font-size: 1rem;
        line-height: 1.55;
    }

    .services-cards .service-card {
        width: 100%;
        padding: 26px 22px;
    }

    .services-cards .service-card h3 {
        font-size: clamp(1.35rem, 6vw, 1.65rem);
        line-height: 1.2;
    }

    .services-cards .service-card p {
        font-size: 1rem;
        line-height: 1.55;
    }

    .service-card-image {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
    }

    /* Fixed header shouldn't cover section anchors */
    section {
        scroll-margin-top: 110px;
    }
}


/* =========================================================
   TROPHY TIME — MOBILE GALLERY IMAGE FIT
========================================================= */

@media (max-width: 700px) {

    .portfolio-grid.dynamic-gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dynamic-gallery-grid .portfolio-item,
    .dynamic-gallery-grid .gallery-item,
    .dynamic-gallery-grid .portfolio-item-large {
        height: auto;
        min-height: 0;
        display: block;
    }

    .dynamic-gallery-grid .gallery-lightbox-trigger {
        height: auto;
        min-height: 0;
        display: block;
    }

    .dynamic-gallery-grid .gallery-lightbox-trigger img {
        width: 100%;
        height: auto;
        min-height: 0;
        object-fit: contain;
        display: block;
    }
}


/* =========================================================
   TROPHY TIME — MOBILE ABOUT TYPOGRAPHY
========================================================= */

@media (max-width: 700px) {

    [data-marcai-id="about.container.1"] h2 {
        font-size: clamp(2.1rem, 9vw, 2.9rem);
        line-height: 1.06;
        margin-bottom: 22px;
    }

    [data-marcai-id="about.container.1"] p {
        font-size: clamp(1rem, 4.2vw, 1.12rem);
        line-height: 1.6;
        margin-bottom: 22px;
    }
}


/* =========================================================
   TROPHY TIME — MOBILE REVIEWS
========================================================= */

@media (max-width: 700px) {

    [data-marcai-id="testimonials.container.1"] h2 {
        font-size: clamp(2.1rem, 9vw, 2.9rem);
        line-height: 1.06;
        margin-bottom: 28px;
    }

    [data-marcai-id="testimonials.container.1"] .testimonial-card {
        padding: 28px 26px;
    }

    [data-marcai-id="testimonials.container.1"] .testimonial-card p {
        font-size: 1.05rem;
        line-height: 1.55;
    }

    [data-marcai-id="testimonials.container.1"] .testimonial-card h3 {
        font-size: 1rem;
    }
}

/* MARCAI PRESENTATION START: main.h1.1 */
[data-marcai-id="main.h1.1"] {
    font-size: 52px !important;
}
/* MARCAI PRESENTATION END: main.h1.1 */

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    line-height: 1;
}

.social-link:hover {
    opacity: 0.8;
}

