/* Online Couture Page Styles */
:root {
    --c0: #fbfbfb;
    /* White/Light */
    --c11: #1a0a14;
    /* Dark/Black */
    --rose-gold: #b76e79;
}

.md-landing-wrapper {
    font-family: var(--font-body);
    color: var(--c11);
    background: var(--c0);
    position: relative;
    width: 100%;
    overflow-x: hidden;
}

.md-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: var(--c0);
    overflow: hidden;
}

.md-bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    /* Parallax overflow */
    /* background-size: cover;  Removed for video support */
    /* background-position: center; */
    z-index: 1;
    pointer-events: none;
}

.md-bg-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Vignette Overlay */
.md-bg-media::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
    z-index: 2;
}

.md-hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.md-headline {
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    font-weight: 300;
    font-size: clamp(2.5rem, 10vw, 9rem);
    text-align: center;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 20;
    pointer-events: none;
    color: #FFFFFF;
    mix-blend-mode: difference;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
}

.md-section-content {
    position: absolute;
    top: 8rem;
    bottom: 4rem;
    left: 4rem;
    right: 4rem;
    padding: 2rem;
    z-index: 10;
}

.md-cards-container {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 40px;
    align-items: center;
}

.md-card {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--c11);
    border: none;
    background: transparent;
}

.md-card h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--c11);
}

.md-card p {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.6;
    font-weight: 300;
}

.md-card-media {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.md-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.md-card:hover .md-card-media img {
    transform: scale(1.05);
}

.md-process-section .md-section-content {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    min-height: 80vh;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.md-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    z-index: 5;
}

.md-grid-item h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--rose-gold);
    margin-bottom: 15px;
}

.md-title-small {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    color: var(--rose-gold);
    font-weight: 600;
}

/* Hover Reveal Image */
.hover-reveal-img {
    position: fixed;
    width: 250px;
    height: 350px;
    object-fit: cover;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    z-index: 9999;
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 2px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    filter: grayscale(20%);
}

.hover-reveal-img.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.elite-text strong {
    font-weight: 500;
    color: var(--c11);
}

.elite-text em {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.1em;
    color: var(--rose-gold);
}

.hover-text {
    cursor: pointer;
    border-bottom: 1px solid rgba(183, 110, 121, 0.3);
    transition: border-color 0.3s;
    position: relative;
    z-index: 100;
}

.hover-text:hover {
    border-bottom-color: var(--rose-gold);
    color: var(--rose-gold);
}

/* Responsive */
@media(max-width: 768px) {
    .md-section-content {
        left: 1rem;
        right: 1rem;
        top: 6rem;
        bottom: 2rem;
        padding: 0;
    }

    .md-cards-container {
        grid-template-columns: 1fr;
    }

    .md-contact-grid {
        grid-template-columns: 1fr;
    }

    .md-headline {
        font-size: 10vw;
        /* Reduced from 15vw to fit better */
        width: 90%;
        /* Prevent edge touching */
        left: 50%;
        transform: translate(-50%, -50%);
        /* Ensure true centering */
        white-space: normal;
        /* Allow wrapping if needed */
    }
}