﻿
/* ==========================================
   METUKTAKIM - RSVP PAGE
   Clean and corrected version
   ========================================== */


/* ==========================================
   1. HERO - SPLIT LAYOUT
   ========================================== */

body.rsvp-v2 .events-hero.events-hero-split {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: center !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: #171411 !important;
}


/* ==========================================
   2. HERO IMAGE CONTAINER
   ========================================== */

body.rsvp-v2 .events-hero-visual {
    position: relative !important;
    display: block !important;
    align-self: center !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
}


    /* ==========================================
   3. ORIGINAL IMAGE - NO ZOOM
   ========================================== */

    body.rsvp-v2 .events-hero-visual > img {
        position: static !important;
        inset: auto !important;
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        max-height: none !important;
        object-fit: contain !important;
        object-position: center center !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }


    /* ==========================================
   4. IMAGE GRADIENT
   ========================================== */

    body.rsvp-v2 .events-hero-visual::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 180deg, transparent 60%, rgba(10, 8, 6, 0.50) 100% );
        pointer-events: none;
    }


/* ==========================================
   5. IMAGE LABEL
   ========================================== */

body.rsvp-v2 .events-visual-label {
    position: absolute !important;
    right: 25px !important;
    bottom: 22px !important;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 !important;
    padding: 0 !important;
}

    body.rsvp-v2 .events-visual-label span {
        color: #e8c88b;
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    body.rsvp-v2 .events-visual-label strong {
        color: #ffffff;
        font-size: 23px;
        font-weight: 400;
        letter-spacing: 2px;
    }


/* ==========================================
   6. RSVP SPECIAL SERVICE NOTE
   ========================================== */

body.rsvp-v2 .rsvp-special-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    max-width: 780px;
    margin: 55px auto 0;
    padding: 22px 30px;
    border: 1px solid rgba(213, 170, 76, 0.35);
    border-radius: 12px;
    background: rgba(213, 170, 76, 0.055);
    color: #e8d6b3;
    text-align: right;
}

    body.rsvp-v2 .rsvp-special-note svg {
        width: 27px;
        height: 27px;
        flex-shrink: 0;
        color: #d5aa4c;
    }

    body.rsvp-v2 .rsvp-special-note p {
        margin: 0;
        font-size: 16px;
        line-height: 1.8;
    }


/* ==========================================
   7. TABLET
   ========================================== */

@media (max-width: 900px) {

    body.rsvp-v2 .events-hero.events-hero-split {
        grid-template-columns: minmax(0, 1fr) !important;
        min-height: 0 !important;
    }

    body.rsvp-v2 .events-hero-visual {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        align-self: stretch !important;
    }

        body.rsvp-v2 .events-hero-visual > img {
            width: 100% !important;
            height: auto !important;
        }
}


/* ==========================================
   8. MOBILE
   ========================================== */

@media (max-width: 600px) {

    body.rsvp-v2 .events-hero-visual {
        min-height: 0 !important;
        height: auto !important;
    }

        body.rsvp-v2 .events-hero-visual > img {
            width: 100% !important;
            height: auto !important;
        }

    body.rsvp-v2 .events-visual-label {
        right: 18px !important;
        bottom: 18px !important;
    }

        body.rsvp-v2 .events-visual-label span {
            font-size: 10px;
        }

        body.rsvp-v2 .events-visual-label strong {
            font-size: 19px;
        }

    body.rsvp-v2 .rsvp-special-note {
        margin-top: 35px;
        padding: 18px;
        gap: 10px;
    }

        body.rsvp-v2 .rsvp-special-note p {
            font-size: 14px;
        }

        body.rsvp-v2 .rsvp-special-note svg {
            width: 23px;
            height: 23px;
        }
}


/* ==========================================
   9. ACCESSIBILITY
   ========================================== */

@media (prefers-reduced-motion: reduce) {

    body.rsvp-v2 .events-hero-visual > img {
        animation: none !important;
        transform: none !important;
        transition: none !important;
    }
}
