/* header css */

/* SECTION BACKGROUND */
.beach-section {
    position: relative;
    overflow: hidden;
}

/* BACKGROUND IMAGE */
.beach-bg {
    position: absolute;
    inset: 0;
    background-image: url("../images/home/new/castle-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* SOFT OVERLAY FOR READABILITY */
.beach-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.55);
}

/* CONTENT WRAPPER */
.beach-border-box {
    position: relative;
    z-index: 1;
    padding: 4rem 0;
}

/* OPTIONAL TWEAKS */
.beach-title {
    text-align: center;
}

.location-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}


.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #FFFFF0;
    z-index: 1000;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;

    /* Your Required Font */
    font-family: "Times New Roman", serif !important;
    font-style: italic !important;
    font-size: 20px !important;
    line-height: 1.3 !important;
    color: #800020 !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
}

.timer-lace {
    background: none;
}

.timer {
    display: flex;
    gap: 10px;
    text-align: center;

    /* Apply Required Font */
    font-family: "Times New Roman", serif !important;
    font-style: italic !important;
    font-size: 20px !important;
    line-height: 1.3 !important;
    color: #800020 !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
}

.timer div {
    display: flex;
    flex-direction: column;
    line-height: 20px;
}

.menu-toggle {
    width: 38px;
    height: 38px;
    background: #fff;
    border: 2px solid #000;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;

    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);

    /* Apply Required Font */
    font-family: "Times New Roman", serif !important;
    font-style: italic !important;
    font-size: 20px !important;
    line-height: 1.3 !important;
    color: #800020 !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
}

.overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #F9F6F1;
    z-index: 2000;
    display: none;
    flex-direction: column;
    align-items: center;

    /* Apply Required Font */
    font-family: "Times New Roman", serif !important;
    font-style: italic !important;
    font-size: 20px !important;
    line-height: 1.3 !important;
    color: #800020 !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
}

.overlay-menu.open {
    display: flex;
}

.overlay-top {
    width: 100%;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #F9F6F1;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;

    /* Apply Required Font */
    font-family: "Times New Roman", serif !important;
    font-style: italic !important;
    font-size: 20px !important;
    line-height: 1.3 !important;
    color: #800020 !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
}

.close-btn {
    width: 38px;
    height: 38px;
    background: #fff;
    border: 2px solid #000;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;

    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);

    /* Apply Required Font */
    font-family: "Times New Roman", serif !important;
    font-style: italic !important;
    font-size: 20px !important;
    line-height: 1.3 !important;
    color: #800020 !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
}

.menu-content {
    width: 100%;
    max-width: 300px;
    text-align: center;
    margin-top: 0px;

    /* Apply Required Font */
    font-family: "Times New Roman", serif !important;
    font-style: italic !important;
    font-size: 20px !important;
    line-height: 1.3 !important;
    color: #800020 !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
}

.menu-links {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.menu-links li {
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.menu-links li:first-child {
    border-top: none !important;
}

.menu-links a {
    display: block;
    padding: 18px 0;
    text-transform: uppercase;
    color: #800020;
    text-decoration: none;
    font-size: 20px !important;

    /* Apply Required Font */
    font-family: "Times New Roman", serif !important;
    font-style: italic !important;
    line-height: 1.3 !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
}

.menu-links a:hover {
    color: #2d3020;
}

body.menu-open {
    overflow: hidden;
}

/* =====================
   MOBILE FONT UPDATE
===================== */
@media(max-width: 575px) {

    .top-bar,
    .timer,
    .menu-toggle,
    .overlay-menu,
    .overlay-top,
    .close-btn,
    .menu-content,
    .menu-links a {
        font-size: 16px !important;
        line-height: 1.3 !important;
    }
}


/* ================= GENERAL SECTIONS ================= */
.mairie-img {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.mairie-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ==========================
     TEXT OVERLAY
========================== */
.text-overlay {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #800020;
    width: 90%;
}

/* ==========================
   GLOBAL FONT (ALL TEXT EXCEPT COUPLE)
========================== */
.text-overlay .mairie-title,
.text-overlay .small-text,
.text-overlay .oui-text,
.text-overlay .event-date,
.text-overlay .event-date .sub-text,
.text-overlay .address,
.text-overlay .address .sub-text {
    font-family: "Times New Roman", serif !important;
    font-style: italic !important;
    font-size: 20px !important;
    /* DESKTOP FIX */
    line-height: 1.3 !important;
    /* DESKTOP FIX */
    color: #800020 !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
}

/* ❌ DO NOT TOUCH – COUPLE NAME */
.text-overlay .couple-names {
    font-family: 'Artis-Swing', cursive;
    font-size: 42px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #800020;
}

/* ==========================
     RESPONSIVE — TABLET
========================== */
@media (min-width: 576px) {
    /* NO FONT CHANGES HERE NOW */
}

/* TABLET LARGE */
@media (min-width: 768px) {
    /* NO FONT CHANGES HERE NOW */
}

/* ==========================
     DESKTOP VIEW
========================== */
@media (min-width: 992px) {
    .mairie-img img {
        max-height: 928px;
        width: 100%;
        object-fit: cover;
    }

    .text-overlay {
        top: 50%;
        left: 35%;
        transform: translate(-50%, -50%);
        width: 80%;
    }
}

/* ==========================
     MOBILE VIEW
========================== */
@media (max-width: 575px) {

    .text-overlay .mairie-title,
    .text-overlay .small-text,
    .text-overlay .oui-text,
    .text-overlay .event-date,
    .text-overlay .event-date .sub-text,
    .text-overlay .address,
    .text-overlay .address .sub-text {
        font-size: 16px !important;
        line-height: 1.2 !important;
    }
}

/* ================= HOUPPA SECTION ================= */
.houppa-overlay-wrapper {
    background-color: #F9F6F1;
    border-width: 175px;
    border-style: solid;
    border-image-source: url(../images/home/new/Lace-border-desktop.png);
    border-image-slice: 250 fill;
    border-image-repeat: round;
    border-radius: 0;
    color: #800020;
    text-align: center;

}

.hebrew-top {
    font-size: 14px;
    font-weight: bold;
}

.houppa-title {
    font-family: "Times New Roman", serif;
    font-style: italic;
    font-size: 20px;
    line-height: 1.3;
    color: #800020;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.overlay-img {
    width: 150px !important;
    height: auto;
    margin: 5px auto !important;
}

.parents-block,
.italic-line,
.highlighted-date,
.ceremony-location,
.hebrew-names {
    font-family: "Times New Roman", serif;
    font-style: italic;
    font-size: 18px !important;
    line-height: 1.3 !important;
    color: #800020 !important;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.parents-row {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.parents-left,
.parents-right {
    width: auto !important;
    max-width: 220px;
}

.parents-names {
    white-space: nowrap;
    display: inline-block;
}

.parents-left {
    text-align: center !important;
}

.parents-right {
    text-align: center !important;
}

.couple-names {
    font-family: 'Artis-Swing', cursive;
    font-size: 42px;
    font-weight: 500;
    margin: 15px 0;
}

/* ================= MOBILE ONLY ================= */
@media (max-width: 575px) {

    .houppa-overlay-wrapper {
        background-color: #F9F6F1;
        padding: 10px 0px;
        border-width: 70px;
        border-style: solid;
        border-image-source: url(../images/home/new/Lace-border-mobile.png);
        border-image-slice: 180 fill;
        border-image-repeat: round;
        border-radius: 0;
    }

    .houppa-overlay-content p:last-child {
        margin-bottom: 0 !important;
    }

    .houppa-title {
        font-size: 16px;
        line-height: 1.2;
    }

    .parents-row {
        display: flex;
        gap: 0;
        flex-wrap: nowrap;
        width: 90%;
        margin: 0 auto;
    }

    .parents-left,
    .parents-right {
        flex: 1;
        text-align: center !important;
    }

    .parents-right {
        white-space: normal !important;
    }

    .parents-right-block {
        white-space: normal !important;
        line-height: 1.3;
    }

    /* First line only stays one row */
    .parents-right-block .parents-names {
        white-space: nowrap;
    }


    .italic-line,
    .highlighted-date,
    .ceremony-location,
    .hebrew-names {
        font-size: 12px !important;
        line-height: 1.2 !important;
    }

    .parents-block {
        font-size: 10px !important;
        line-height: 1.2 !important;
    }

    .parents-left {
        white-space: normal !important;
        text-align: center !important;
    }

    .parents-left p {
        white-space: nowrap;
    }

    .parents-row {
        width: 88%;
    }

    .parents-right {
        padding-right: 8px;
        box-sizing: border-box;
    }
}

/* ================= BEACH================= */
.beach-section {

    background-color: #F9F6F1;
    border-width: 175px;
    border-style: solid;
    border-image-source: url(../images/home/new/Lace-border-desktop.png);
    border-image-slice: 250 fill;
    border-image-repeat: round;
    border-radius: 0;
    color: #800020;

}

@media (max-width: 575px) {
    .beach-section {
        background-color: #F9F6F1;
        padding: 10px 0px;
        border-width: 70px;
        border-style: solid;
        border-image-source: url(../images/home/new/Lace-border-mobile.png);
        border-image-slice: 180 fill;
        border-image-repeat: round;
        border-radius: 0;
    }
}

.beach-border-box {
    padding: 35px 20px;
    /*border: 14px solid transparent;*/
    border-image-source: url("../images/lace-border.png");
    border-image-slice: 60;
    border-image-repeat: round;
    border-image-width: 14px;
    border-radius: 12px;
    box-sizing: border-box;
}

.beach-border-box .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.overlay-text {
    text-align: center;
    margin-bottom: 25px;
}

.beach-title {
    font-family: 'Artis-Swing', cursive;
    font-size: 42px;
    font-weight: 500;
    margin-bottom: 15px;
    text-align: center;
}

.beach-subtitle {
    font-family: "Times New Roman", serif;
    font-style: italic;
    font-size: 15px !important;
    line-height: 1.3 !important;
    color: #800020 !important;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.beach-img img {
    width: 100%;
    height: 500px !important;
    border-radius: 12px;
    object-fit: cover;
}

.dolce-pytel-row {
    min-height: 650px;
}

.beach-content {
    text-align: center;
}

.beach-names {
    font-family: 'Artis-Swing', cursive;
    font-size: 42px;
    font-weight: 500;
    margin-bottom: 15px;
}

.invite-line,
.beach-date,
.beach-location,
.transport-text {
    font-family: "Times New Roman", serif;
    font-style: italic;
    font-size: 18px !important;
    line-height: 1.3 !important;
    color: #800020 !important;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Clickable location link (Desktop + Mobile) */
.beach-location a,
.location-link {
    color: #800020;
    text-decoration: none;
    font-style: italic;
}

.beach-location a:hover {
    text-decoration: underline;
}

.beach-date .subtext {
    font-family: "Times New Roman", serif;
    font-style: italic;
    font-size: 12px !important;
    line-height: 1.3 !important;
    color: #800020 !important;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ======================
   DESKTOP VIEW (>=992px)
====================== */
@media (min-width: 992px) {
    .beach-border-box {
        padding: 55px 40px;
        border: 0px solid transparent;
    }

    .overlay-text {
        margin-bottom: 40px;
    }

    .beach-names {
        font-size: 42px;
    }

    .invite-line,
    .beach-date,
    .beach-location,
    .transport-text {
        font-size: 20px;
        line-height: 1.3 !important;
    }

    .beach-img img {
        display: block;
        padding: 10px;
        width: 100%;
        /* height: 400px !important; */
        border-radius: 12px;
        object-fit: cover;
        object-position: top center;
    }

    .beach-img {
        padding-left: 40px;
    }

    .beach-content {
        text-align: center;
        padding-left: 0px;
        padding-right: 200px;
    }
}

/* ======================
   MOBILE VIEW (<=575px)
====================== */
@media (max-width: 575px) {

    .beach-title {
        font-family: 'Artis-Swing', cursive;
        font-size: 42px;
        font-weight: 500;
        margin-bottom: 15px;
        text-align: center;
    }

    .beach-names {
        font-size: 42px;
    }

    .beach-border-box {
        padding: 1px 0px 0px 0px;
    }

    .beach-img img {
        padding: 30px;
        width: 100%;
        height: 252px !important;
        border-radius: 12px;
        object-fit: cover;
        object-position: top center;
    }

    .dolce-pytel-row {
        min-height: 400px;
    }

    .beach-content {
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }

    /* Mobile adjustments for unified text */
    .beach-subtitle,
    .invite-line,
    .beach-date,
    .beach-location,
    .transport-text {
        font-size: 16px !important;
        line-height: 1.2 !important;
    }
}

/* ================= HOTELS SECTION ================= */

.hotels-section {
    background-color: #F9F6F1;
    border-width: 175px;
    border-style: solid;
    border-image-source: url('../images/home/new/Lace-border-desktop.png');
    border-image-slice: 250 fill;
    border-image-repeat: round;
    border-radius: 0;
}

.hotels-border-box {
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
}

.hotels-section img {
    max-width: 120px !important;
    margin: 10px auto 25px;
}

.hotels-section h4,
.hotels-section p,
.hotels-section small,
.hotels-section a,
.hotels-section h5 {
    font-family: "Times New Roman", serif;
    font-style: italic;
    font-size: 18px;
    line-height: 1.3;
    color: #800020;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.hotels-section h2 {
    font-family: "Times New Roman", serif;
    font-style: italic;
    font-size: 20px;
    line-height: 1.3;
    color: #800020;
    font-weight: 500;
    letter-spacing: 0.3px;
    margin-bottom: 5px;
}

.dolce-btn,
.hotels-section .btn {
    background-color: #800020;
    color: #fff;
    border-radius: 50px;
    padding: 6px 25px;
    border: 1px solid #800020;
    font-size: 15px !important;
    font-style: italic;
    letter-spacing: 0.3px;
    display: inline-block;
    transition: 0.3s ease;
}

.dolce-btn:hover,
.hotels-section .btn:hover {
    background-color: #800020 !important;
    color: #fff !important;
    border-color: #800020;
}

/* ============================================
   MOBILE - ONE SINGLE BORDER ONLY
============================================ */
@media (max-width: 575px) {

    .hotels-section {
        background-color: #F9F6F1;
        padding: 11px 2px;
        border-width: 55px;
        border-style: solid;
        border-image-source: url('../images/home/new/Lace-border-mobile.png');
        border-image-slice: 160 fill;
        border-image-repeat: round;
        border-radius: 0;
    }

    .hotels-section img {
        max-width: 120px !important;
        margin-bottom: 20px;
    }

    .hotels-section h2,
    .hotels-section h4,
    .hotels-section p,
    .hotels-section small,
    .hotels-section a,
    .hotels-section h5 {
        font-size: 12px !important;
        line-height: 1.2 !important;
    }

    .hotels-section h2 {
        font-size: 16px !important;
    }
}

@media (min-width: 992px) {
    .hotel-card {
        padding: 20px;
    }
}

/* ================= ADDRESSES SECTION ================= */

.address-section {
    background-color: #F9F6F1;
    border-width: 175px;
    border-style: solid;
    border-image-source: url(../images/home/new/Lace-border-desktop.png);
    border-image-slice: 250 fill;
    border-image-repeat: round;
}


.address-border-box {
    padding: 0 !important;
    border: none !important;
    margin: 0 auto !important;
}

.address-section h4,
.address-section p,
.address-section small,
.address-section a,
.address-section h5 {
    font-family: "Times New Roman", serif !important;
    font-style: italic !important;
    font-size: 18px !important;
    line-height: 1.3 !important;
    color: #800020 !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
}

/* TITLE EXTRA */
.address-section h2 {
    font-family: "Times New Roman", serif;
    font-style: italic;
    font-size: 20px;
    line-height: 1.3;
    color: #800020;
    font-weight: 500;
    letter-spacing: 0.3px;
    margin-bottom: 5px;
}

.address-text {
    margin-top: 6px;
    display: inline-block;

    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 0.6px;
}


@media (max-width: 575px) {

    .address-section {
        background-color: #F9F6F1;
        padding: 11px 2px;
        border-width: 55px;
        border-style: solid;
        border-image-source: url(../images/home/new/Lace-border-mobile.png);
        border-image-slice: 160 fill;
        border-image-repeat: round;
        border-radius: 0;
    }

    .address-border-box {
        padding: 0px 0px !important;

    }

    .address-section h2,
    .address-section h4,
    .address-section p,
    .address-section small,
    .address-section a,
    .address-section h5 {
        font-size: 12px !important;
        line-height: 1.2 !important;
    }

    .address-section h2 {
        font-size: 18px !important;
    }

    .address-text {
        text-underline-offset: 3px;
        text-decoration-thickness: 0.5px;
    }
}

/* ================= PRESENCE SECTION ================= */
.presence-section {
    background-color: #F9F6F1;
    border-width: 175px;
    border-style: solid;
    border-image-source: url(../images/home/new/Lace-border-desktop.png);
    border-image-slice: 250 fill;
    border-image-repeat: round;
    border-radius: 0;
}

.presence-border-box {
    padding: 0 !important;
    border: none !important;
    margin: 0 auto !important;
}

/* HEADINGS (FONT FIXED) */

.presence-subtitle {
    font-family: "Times New Roman", serif;
    font-style: italic;
    font-size: 18px;
    line-height: 1.3;
    color: #800020;
    font-weight: 500;
    letter-spacing: 0.3px;
    margin-bottom: 5px;
}

.presence-title {
    font-family: "Times New Roman", serif;
    font-style: italic;
    font-size: 20px;
    line-height: 1.3;
    color: #800020;
    font-weight: 500;
    letter-spacing: 0.3px;
    margin-bottom: 5px;
}

/* LABELS */
.presence-label,
.presence-note,
.hotel-list label {
    font-family: "Times New Roman", serif;
    font-style: italic;
    font-size: 18px;
    color: #800020;
    font-weight: 500;
}

/* Image */
.presence-img img {
    width: 150px !important;
    height: auto;
    margin: 5px auto 25px auto !important;
    display: block;
}

/* RADIO GROUP – BURGUNDY */
.presence-radio-group label {
    font-family: "Times New Roman", serif;
    font-style: italic;
    font-size: 18px;
    font-weight: 500;
    color: #800020 !important;
    cursor: pointer;
}

.presence-radio-group input[type="radio"] {
    accent-color: #800020 !important;
}

/* BUTTON */
.presence-btn {
    background: #800020;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.7rem 2.5rem;
    font-size: 18px;
    cursor: pointer;
}

/* HOTEL RADIO – SELECTED STATE BURGUNDY */
.hotel-list input[type="radio"] {
    accent-color: #800020;
}

.hotel-list input[type="radio"]:checked+span,
.hotel-list input[type="radio"]:checked {
    color: #800020;
}

/* ========= MOBILE VIEW ========= */
@media (max-width: 575px) {

    .presence-section {
        background-color: #F9F6F1;
        padding: 11px 2px;
        border-width: 70px;
        border-style: solid;
        border-image-source: url(../images/home/new/Lace-border-mobile.png);
        border-image-slice: 180 fill;
        border-image-repeat: round;
    }

    .presence-border-box {
        padding: 0px 0px !important;
    }

    .presence-title {
        font-size: 16px;
        line-height: 1.2;

    }

    .presence-subtitle {

        font-size: 12px;
        line-height: 1.22;

    }


    .presence-label,
    .presence-note,
    .hotel-list label,
    .presence-radio-group label {
        font-size: 12px !important;
        line-height: 1.2 !important;
    }
}