/* UDUPAS HEADER — ALWAYS STAYS ON SCREEN */

.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;

    border-radius: 0 !important;
    background: rgba(10, 10, 10, 0.25) !important;

    transition:
        width 0.4s ease,
        left 0.4s ease,
        top 0.4s ease,
        border-radius 0.4s ease,
        background 0.4s ease,
        box-shadow 0.4s ease !important;
}

/* AFTER SCROLLING */
.site-header.scrolled {
    top: 15px !important;
    left: 5% !important;
    width: 90% !important;

    border-radius: 32px !important;

    background: rgba(10, 10, 10, 0.58) !important;

    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);

    border: 1px solid rgba(255,255,255,0.12);

    box-shadow: 0 8px 30px rgba(0,0,0,0.22);
}

/* WORDPRESS ADMIN BAR */
body.admin-bar .site-header {
    top: 32px !important;
}

body.admin-bar .site-header.scrolled {
    top: 47px !important;
}
.elementor-image-carousel img,
.elementor-image-carousel .swiper-slide-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 20px !important;
}
.brand .mark {
    font-size: 0 !important;
    display: inline-block;
    width: 32px;
    height: 32px;

    background-image: url("https://udupashospitality.com/wp-content/uploads/2026/08/UH-White-Logo-2-e1786953543685.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    flex-shrink: 0;
}
.event-card {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 50px !important;
}

.event-card::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 45% !important;
    z-index: 2 !important;
    pointer-events: none !important;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85) 0%,
        rgba(0,0,0,0.45) 45%,
        rgba(0,0,0,0) 100%
    ) !important;
}

.event-card .elementor-widget-heading,
.event-card .elementor-heading-title {
    position: relative !important;
    z-index: 3 !important;
}
.wedding-card {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 40px !important;
}

.wedding-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 38%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.45) 45%,
        rgba(0, 0, 0, 0) 100%
    );
    pointer-events: none;
    z-index: 2;
}
/* WEDDINGS CARD — GRADIENT + TITLE */

.elementor-element-9b9ebfa {
    position: relative !important;
}

/* Gradient over the image */
.elementor-element-9b9ebfa::after {
    content: "";
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;

    width: 100% !important;
    aspect-ratio: 900 / 1100;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 55%,
        rgba(0, 0, 0, 0.30) 72%,
        rgba(0, 0, 0, 0.90) 100%
    ) !important;

    border-radius: 50px !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

/* Keep title above gradient + move it slightly upward */
.elementor-element-9b9ebfa h2 {
    position: relative !important;
    z-index: 3 !important;
    transform: translateY(-15px) !important;
}
/* WEDDINGS CARD — SOFTER GRADIENT */

/* REMOVE THE OLD BLACK GRADIENT COMPLETELY */

.elementor-element-9b9ebfa::after {
    content: none !important;
    display: none !important;
    background: none !important;
}

/* EVENT CARDS */

.event-card {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 50px !important;
}

/* ALL EVENT TITLES */

.event-card .event-title {
    position: absolute !important;
    left: 50% !important;
    bottom: 35px !important;
    transform: translateX(-50%) !important;

    width: 90% !important;
    margin: 0 !important;
    padding: 0 !important;

    text-align: center !important;
    z-index: 10 !important;
}

/* Remove Elementor's heading spacing */
.event-card .event-title {
    line-height: 1.1 !important;
}
/* ALIGN WEDDINGS + EXHIBITIONS TITLES */

/* Make each card the positioning reference */
.elementor-element-9b9ebfa,
.elementor-element-57980f3 {
    position: relative !important;
}
/* ALL EVENT CARD IMAGES — SAME SIZE */

.elementor-element-6143c31 img {
    width: 520px !important;
    height: 520px !important;

    object-fit: cover !important;
    object-position: center center !important;

    border-radius: 50px !important;
    display: block !important;
}
/* TIGHT EVENT GRID */

.elementor-element-6143c31 > .e-con-inner {
    row-gap: 5px !important;
    column-gap: 40px !important;
}

/* REMOVE EXTRA CARD HEIGHT */

.elementor-element-9b9ebfa,
.elementor-element-57980f3 {
    height: auto !important;
    min-height: 0 !important;
    align-self: start !important;
}