/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

/* Typography */
h1, h2, h3, h4, h5, h6,
.title {
    font-family: 'Cormorant Garamond', serif !important;
    font-weight: 600;
}

p, span, div, .subtitle, .content {
    font-family: 'Lato', sans-serif !important;
}

/* Hero Banner */
.custom-hero-banner {
    position: relative;
    min-height: clamp(300px, 50vh, 500px);
    background-image: url('../images/banners/lollipop-party-packages-about.avif');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-attachment: scroll;
}


.custom-hero-banner {
    justify-content: center;
    width: 100%;
    padding: clamp(12px, 3vw, 32px) clamp(12px, 4vw, 40px);
}

.banner-content {
    padding: clamp(16px, 4vw, 32px) clamp(16px, 4vw, 40px);
    max-width: min(90vw, 900px);
    width: 100%;
    text-align: center;
}

.banner-title {
    color: #CCB693;
    font-size: clamp(22px, 4vw, 40px);
    margin: 0 0 clamp(8px, 1.5vh, 20px) 0;
    line-height: 1.1;
    font-weight: 700;
    position: relative;
    z-index: 10;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-breadcrumbs {
    color: #ffffff;
    font-size: clamp(12px, 2.5vw, 18px);
    margin-bottom: clamp(12px, 2vh, 20px);
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10;
}

/* Banner Responsive */
@media (max-width: 768px) {
    .custom-hero-banner {
        min-height: clamp(250px, 40vh, 400px);
        background-position: center bottom;
    }
}

@media (max-width: 480px) {
    .custom-hero-banner {
        min-height: clamp(200px, 35vh, 300px);
        background-position: center bottom;
    }

    .banner-content {
        max-width: 95vw;
        padding: 16px 16px 20px;
    }
}

.about-container {
    background-color: white;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;  
}

h2 {
    font-size: 3rem;
    color: black;
}

.about-flex-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 5rem;
}

.about-flex-container img {
    flex: 1;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.about-inner-container {
    text-align: left;
    max-width: 100%;
}

.about-inner-container p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #333;
    font-weight: 400;
}

.about-inner-container p:first-child {
    font-size: 1.4rem;
    font-weight: 500;
    color: #46332A;
    margin-bottom: 2rem;
}

@media (width > 768px) {
    .about-flex-container {
        flex-direction: row;
        align-items: flex-start;
    }

    .about-inner-container {
        width: 60%;
    }

    .about-inner-container p {
        font-size: 1.3rem;
    }

    .about-inner-container p:first-child {
        font-size: 1.5rem;
    }

    .about-flex-container img {
        width: 40%;
    }

}

/* Masonry Gallery */
.about-gallery {
    margin: 4rem 0;
    text-align: center;
}

.gallery-title {
    font-size: 2.5rem;
    color: #46332A;
    margin-bottom: 3rem;
    font-weight: 600;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 200px;
    gap: 1.5rem;
    margin: 0 auto 3rem auto;
    max-width: 1200px;
    padding: 0 1rem;
}

.masonry-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.masonry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.masonry-item:hover img {
    transform: scale(1.05);
}

/* Masonry Grid Spans */
.masonry-item:nth-child(1) { grid-row: span 2; }
.masonry-item:nth-child(3) { grid-row: span 2; }
.masonry-item:nth-child(5) { grid-column: span 2; grid-row: span 1; }
.masonry-item:nth-child(7) { grid-row: span 2; }

.masonry-tall {
    grid-row: span 2;
}

.masonry-wide {
    grid-column: span 2;
}

/* Featured Image */
.featured-image-container {
    margin-bottom: 2rem;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.featured-image-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.featured-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-image-wrapper:hover img {
    transform: scale(1.05);
}

/* Triple Image Row */
.triple-image-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.triple-image-item {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.triple-image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.triple-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.triple-image-item:hover img {
    transform: scale(1.05);
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .about-inner-container p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }

    .about-inner-container p:first-child {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .about-inner-container p {
        font-size: 1rem;
    }

    .about-inner-container p:first-child {
        font-size: 1.1rem;
    }
}

/* Masonry Responsive */
@media (max-width: 768px) {
    .masonry-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        grid-auto-rows: 150px;
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .masonry-item:nth-child(5) {
        grid-column: span 1;
    }

    .masonry-wide {
        grid-column: span 1;
    }

    .featured-image-wrapper {
        height: 300px;
    }

    .triple-image-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .triple-image-item {
        height: 300px;
    }

    .gallery-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .masonry-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
        gap: 0.75rem;
    }

    .featured-image-wrapper {
        height: 250px;
    }

    .triple-image-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .triple-image-item {
        height: 250px;
    }

    .gallery-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
}