@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Dancing+Script:wght@400;500&display=swap');

.hero{

    height: 70vh;
    width: 100%;
    background-image: url("{{ thumbnail.variants[-1].image_url }}");
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
}

/* dark overlay */
.hero::before{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(to right, rgba(0,0,0,0.45), rgba(0,0,0,0));
}

/* content wrapper */
.hero-content{
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 60px;
}

/* small badge */
.badge{
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    background: white;
    font-size: var(--botton-font-size);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    transition: 0.3s ease;
}

.badge:hover{
    background: var(--main-color);
    color: white;
}

.badge a{
    color: black;
}

.badge a:hover{
    color:white;
}

/* heading styles */
.hero h1 span:nth-child(2) {
    font-family: "Dancing Script", "Brush Script MT", cursive;
    font-size: 64px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 15px;
}

.hero h1 span{
    font-family: "Dancing Script", "Brush Script MT", cursive;
    font-size: 28px;
    font-weight: 800;
    color: white;
    display: block;
    margin-bottom: 10px;
}

/* paragraph */
.hero p{
    font-size: 16px;
    line-height: 1.6;
    max-width: 500px;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* button */
.btn{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 30px;
    background: white;
    color: black;
    font-size: var(--botton-font-size);
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn:hover{
    background: var(--main-color);
    color:white;
}

/* bottom right scroll hint */
.scroll{
    color: var(--main-color);
    position: absolute;
    right: 40px;
    bottom: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--botton-font-size);
    opacity: 0.8;
    z-index: 2;
}

.scroll-circle{
    width: 30px;
    height: 30px;
    border: 1px solid var(--main-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* responsive */
@media(max-width:768px){

    .hero-content{
        padding: 30px;
    }

    .hero h1{
        font-size: 40px;
    }

    .hero h1 span{
        font-size: 20px;
    }
}

.photos-heading{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.photos-heading h1{
    line-height: 1.5;
}

.photos-heading i{
    font-size: var(--socialmediaicon-font-size);
    color: var(--main-color);
}

.photos-heading i:nth-child(2){
    transform: scaleX(-1);
}

#gallery{
    padding: 0 0.5rem 1rem;
    min-height: initial;
}

.allImages{
    padding: 0;
}

        body{
            font-family: Arial, sans-serif;
            background: #ffffff;
        }

        .gallery{
            display: grid;
            grid-template-columns:
            repeat(
                auto-fill,
                minmax(300px, 1fr)
            );
            gap: 16px;
            grid-auto-rows: 10px;
            grid-auto-flow: dense;
            padding: 1rem;
        }

        .card{
            box-shadow: 0 0 1rem var(--bg-color);
            border-radius: 2rem;
            overflow: hidden;
            transition: 0.5s ease;
        }

        .card:hover {
            box-shadow: 0 0 1rem var(--main-color);
            transform: scale(1.02);
        }

        .card img{
            width: 100%;
            display: block;
        }

        .caption{
            text-align: center;
            padding: 0.5rem;
            font-size: 14px;
            color: #444;
            line-height: 1.5;
        }

        .video-card iframe{
            width:100%;
            aspect-ratio:9/16;
            border:none;
            display:block;
        }

        /* LIGHTBOX */

.lightbox{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.94);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox.active{
    opacity: 1;
    pointer-events: auto;
}

.lightbox-image{
    max-width: 92%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 1rem;
    transform: scale(0.95);
    transition: transform 0.4s ease;
    cursor: zoom-in;
}

.lightbox.active .lightbox-image{
    transform: scale(1);
}

.lightbox-caption{
    color: white;
    margin-top: 1.5rem;
    text-align: center;
    max-width: 800px;
    line-height: 1.8;
    font-size: 1rem;
    padding: 0 1rem;
}

.lightbox-close{
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 10;
}

.lightbox-prev,
.lightbox-next{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover{
    background: rgba(255,255,255,0.25);
}

.lightbox-prev{
    left: 30px;
}

.lightbox-next{
    right: 30px;
}

.lightbox-counter{
    position: absolute;
    bottom: 20px;
    right: 30px;
    color: white;
    font-size: 14px;
    opacity: 0.8;
}

body.lightbox-open{
    overflow: hidden;
}

@media(max-width:768px){
    .lightbox-prev,
    .lightbox-next{
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }

    .lightbox-prev{
        left: 10px;
    }

    .lightbox-next{
        right: 10px;
    }

    .lightbox-caption{
        font-size: 14px;
    }
}@media(max-width:500px){
    .hero h1 span:nth-child(2) {
        font-size: 40px;
    }
        .gallery{
        gap: 10px;
        padding: 10px;
        grid-template-columns:
        repeat(
                auto-fill,
                minmax(145px, 1fr)
            );
    }
}
