/* Mobile - Disable clicks on hero section */
@media (max-width: 768px) {
    .hero-section.mobile-click-disabled {
        pointer-events: none;
    }

    .br-1 {
        border-right: none;
        border-bottom: 1px solid;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .br-1 {
        border-right: none;
        border-bottom: 1px solid;
    }
}

/* Chrome, Edge, Safari */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 1;
    cursor: pointer;
}

/* Optional: better dark field look */
input[type="date"] {
    color: #ffffff;
    background-color: #000;
    border: 1px solid #333;
    text-transform: uppercase;
}

/* Placeholder text fix */
input[type="date"]::placeholder {
    color: #aaa;
}

.navigation .menu-item-has-children {
    position: relative;
}

.pagination_block ul li a.next {
    min-height: 0vh;
    background: transparent;
}

.pagination_block ul li.disabled {
    margin: 0 5px;
    transition: 0.4s all;
    display: block;
    width: 39px;
    height: 39px;
    background-color: none;
    text-align: center;
    line-height: 39px;
    color: var(--white-color);
    border: 1px solid #696969;
}

.pagination_block ul li.disabled:hover,
.pagination_block ul li.disabled.active {
    background-color: var(--main-color);
    color: var(--white-color);
    border-color: var(--main-color);
}

.pagination_block ul li.disabled:hover i {
    color: var(--white-color);
}

.btn-style-one {
    background-color: var(--main-color) !important;
    color: var(--white-color) !important;
}

.btn-style-one:hover {
    background-color: var(--black-color) !important;
    color: var(--white-color) !important;
}

.bg-red {
    background-color: #d62324 !important;
}

.bg-back {
    background-color: #000 !important;
}

/* Center Private Event and Catering buttons and align to bottom */
.event-section .row {
    display: flex;
    flex-wrap: wrap;
}

.event-section .col-lg-6 {
    display: flex;
    flex-direction: column;
}

.event-section .col-lg-6 .title-box.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.event-section .bottom-wrap {
    margin-top: auto !important;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.event-section .link-btn {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Event section images */
.event-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.event-image img {
    max-width: 150px;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.event-image:hover img {
    transform: scale(1.05);
}

/* Catering Reservation Section Redesign */
.catering-reservation-section {
    position: relative;
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
    background-color: #111111 !important;
    /* Fallback */
}

/* Background image overlay with low opacity for depth */
.catering-reservation-section .image-layer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.12;
    z-index: 1;
    pointer-events: none;
}

.catering-reservation-inner {
    position: relative;
    z-index: 2;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.catering-reservation-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.catering-reservation-subtitle .subtitle-text {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    font-weight: 700;
    color: #FFF;
    font-size: 14px;
    letter-spacing: 0.2em;
    line-height: 1em;
}

.catering-reservation-subtitle .star-icon {
    color: var(--main-color);
    font-size: 16px;
    line-height: 1;
    display: inline-block;
}

.catering-reservation-heading {
    position: relative;
    font-size: 50px;
    font-weight: 300;
    line-height: 1.30em;
    color: #ffffff;
    max-width: 880px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    padding-bottom: 20px;
    letter-spacing: normal;
}

.catering-reservation-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
    margin-top: 0px;
    max-width: 600px;
}

.catering-reservation-btn-wrap {
    margin-top: 7px;
}

.catering-reservation-btn {
    display: inline-block;
    background-color: var(--main-color);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 16px 44px;
    border-radius: 0px;
    /* Sharp corners like screenshot */
    border: none;
    box-shadow: 0 4px 15px rgba(214, 35, 36, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
}

.catering-reservation-btn:hover {
    background-color: #111111;
    color: #ffffff !important;
    border: 2px solid var(--main-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Responsiveness */
@media (max-width: 991px) {
    .catering-reservation-section {
        padding: 90px 0;
    }

    .catering-reservation-heading {
        font-size: 50px;
    }
}

@media (max-width: 768px) {
    .catering-reservation-section {
        padding: 70px 0;
    }

    .catering-reservation-heading {
        font-size: 50px;
        margin-bottom: 0px;
    }

    .catering-reservation-text {
        font-size: 16px;
        margin-bottom: 1rem;
    }

    .catering-reservation-btn {
        padding: 14px 36px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .catering-reservation-heading {
        font-size: 50px;
    }
}


/* Community Contributions Start */
.bg-white {
    background-color: #ffffff !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.bg-dark {
    background-color: #141414 !important;
}

.text-black {
    color: #111111 !important;
}

.text-white {
    color: #ffffff !important;
}

.text-secondary {
    color: #4a5568 !important;
}

.text-white-80 {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Hero Section (Dark) */
.community-hero {
    padding: 100px 0;
    text-align: center;
    color: #fff;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.88) 0%, rgba(18, 17, 17, 0.95) 100%), var(--color-one);
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.community-hero .subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--white-color);
    font-size: 14px;
    letter-spacing: 0.2em;
}

.community-hero .star-icon {
    color: var(--main-color);
    font-size: 14px;
}

.community-hero h1 {
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 300;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: normal;
}

.community-hero p {
    max-width: 820px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

/* Section Title Boxes */
.title-box.centered {
    text-align: center;
}

.title-box .subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
}

.title-box .star-icon {
    color: var(--main-color);
    font-size: 14px;
}

.title-box h2 {
    font-size: clamp(34px, 4.5vw, 60px);
    font-weight: 300;
    line-height: 1.2;
    padding-bottom: 0;
}

.title-box p {
    max-width: 720px;
    margin: 12px auto 0;
    font-size: 16px;
    line-height: 1.6;
}

/* Section 2: Current Initiative (White Background) */
.community-current {
    padding: 100px 0;
    position: relative;
}

.current-card {
    border-radius: 12px;
    border-top: 4px solid var(--main-color);
    padding: 42px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.current-card-light {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 4px solid var(--main-color);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
}

.current-card-light .current-copy h3 {
    color: #111111;
}

.current-card-light .current-copy .date {
    color: #b7791f;
}

.current-card-light .current-copy p {
    color: #4a5568;
}

.current-copy .badge {
    display: inline-block;
    background: var(--main-color);
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 12px;
    border-radius: 2px;
    padding: 6px 14px;
    margin-bottom: 16px;
}

.current-copy h3 {
    font-size: clamp(30px, 3.5vw, 44px);
    line-height: 1.15;
    margin-bottom: 8px;
    font-weight: 300;
}

.current-copy .date {
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.current-copy p {
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 14px;
}

.impact-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 26px 0 20px;
}

.impact-strip-light div {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px 16px;
    text-align: center;
    transition: border-color 0.3s ease;
}

.impact-strip-light div:hover {
    border-color: rgba(214, 35, 36, 0.5);
}

.impact-strip strong {
    display: block;
    font-size: 38px;
    line-height: 1;
    color: var(--main-color);
    font-weight: 400;
    margin-bottom: 6px;
}

.impact-strip-light span {
    display: block;
    color: #4a5568;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* Current Initiative Photo Gallery */
.current-photos {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.photo-feature {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    min-height: 320px;
    background: #000;
}

.photo-feature img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.photo-feature:hover img {
    transform: scale(1.04);
}

.photo-caption {
    position: absolute;
    left: 16px;
    bottom: 16px;
    background: rgba(18, 17, 17, 0.85);
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    border-radius: 4px;
    padding: 8px 16px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.photo-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.photo-thumbs img {
    width: 100%;
    height: 75px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #000;
}

.photo-thumbs img:hover,
.photo-thumbs img.active-thumb {
    border-color: var(--main-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(214, 35, 36, 0.4);
}

/* Section 3: Past Contributions Section (Dark Background) */
.community-past {
    padding: 100px 0;
    position: relative;
}

.past-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.past-card-dark {
    background: #1e1f20;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 36px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: all 0.4s ease;
    position: relative;
}

.past-card-dark:hover {
    transform: translateY(-6px);
    border-color: rgba(214, 35, 36, 0.4);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.past-card-dark .status {
    display: inline-block;
    width: max-content;
    background: rgba(70, 123, 75, 0.18);
    color: #5cb85c;
    font-weight: 700;
    border-radius: 4px;
    padding: 5px 12px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(92, 184, 92, 0.3);
}

.past-card-dark h3 {
    font-size: clamp(24px, 3vw, 32px);
    color: #ffffff;
    line-height: 1.2;
    font-weight: 300;
}

.past-card-dark p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.65;
}

.past-card-dark p strong {
    color: #e6b15f;
    letter-spacing: 0.5px;
}

.past-card-dark .amount {
    font-size: 22px;
    font-weight: 400;
    color: var(--main-color);
    letter-spacing: 0.5px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: auto;
    padding-top: 10px;
}

.logo-grid img {
    width: 100%;
    height: 78px;
    object-fit: contain;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 10px 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.logo-grid img:hover {
    transform: scale(1.03);
}

.logo-grid.wide {
    grid-template-columns: repeat(2, 1fr);
}

.logo-grid.single {
    grid-template-columns: 1fr;
}

/* Section 4: Gallery Section (Light Background) */
.gallery-section {
    padding: 100px 0;
    position: relative;
}

.gallery-block-light {
    margin-top: 40px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.gallery-head-light {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
}

.gallery-head-light h3 {
    font-size: clamp(24px, 3vw, 32px);
    color: #111111;
    line-height: 1.2;
    font-weight: 300;
}

.slider {
    position: relative;
    overflow: hidden !important;
    border-radius: 8px;
    background: transparent;
    width: 100%;
}

.track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 100%;
}

.slide {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    padding: 6px;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    border: 1px solid #e2e8f0;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.slide img:hover {
    transform: scale(1.03);
    border-color: var(--main-color);
}

.slider-controls-light {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 20px;
}

.slider-controls-light button {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #111111;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 22px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.slider-controls-light button:hover {
    background: var(--main-color);
    border-color: var(--main-color);
    color: #ffffff;
    transform: scale(1.05);
}

.community-hero .subtitle::before,
.community-hero .subtitle::after {
    content: "";
    width: 12px;
    height: 12px;
    background: url(../flats/assets/images/icons/star-element.svg);
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
}
/* Responsive Styles for Community Contributions */
@media (max-width: 991px) {
    .current-card {
        grid-template-columns: 1fr;
        padding: 32px;
        gap: 30px;
    }

    .past-grid {
        grid-template-columns: 1fr;
    }

    .slide {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .community-hero {
        padding: 70px 0;
    }

    .community-current,
    .community-past,
    .gallery-section {
        padding: 70px 0;
    }

    .current-card,
    .past-card-dark,
    .gallery-block-light {
        padding: 24px;
    }

    .photo-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }

    .photo-thumbs img {
        height: 80px;
    }

    .photo-feature,
    .photo-feature img {
        min-height: 260px;
    }
}

@media (max-width: 480px) {
    .impact-strip {
        grid-template-columns: 1fr;
    }

    .slide {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .logo-grid,
    .logo-grid.wide {
        grid-template-columns: 1fr;
    }

    .photo-thumbs {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Community Contributions Ends */