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

html{
    position: relative;
    min-height: 100vh;
}
html::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.3;  /* ✅ Only background is transparent */
    z-index: -1;
}

body{
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

section{
    min-height: auto;
}

.hero-section{
    padding: 0;
    position: relative;
}

.hero{
    min-height: 55vh;
    width: 100%;
    background-size: cover;
    background-position: 50% 90%;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
}

.hero {
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 2.5%,
    black 97.5%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 2.5%,
    black 97.5%,
    transparent 100%
  );
}

/* 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: 6rem 6rem 1rem 6rem;
}

.heading{
    text-align: initial;
}

/* 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: white;
    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 white;
    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;
    }
}

.blog{
    padding: 0;
    height: auto;
    min-height: initial;
}

.article{
    padding: 2rem;
    display: flex;
    max-height: 40vh;
    width: 100%;
}

.article:not(:nth-child(3)) > * {
    flex: 1;
    min-width: 0;
    width: 0;
}

.article-content{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 2rem;
    padding: 4rem;
}

.article-content p{
    white-space: pre-line;
    overflow: auto;
}

.content-title{
    position: relative;
    align-self: flex-start;
    display: inline-block;
}
.content-title::after{
    content:'';
    position: absolute;
    background-color: var(--main-color);
    height: 2px;
    width: 25%;
    left: 0;
    bottom: -25%;
    transition: width 0.3s ease;
}.content-title:hover::after{
    width: 100%;
}

.article img{
    object-fit: cover;
    object-position: 50% 60%;
    border-radius: 2rem;
    max-height: 40vh;
}

.article2{
    padding: 2rem 0;
}
.article2 img{
    border-radius: 0;
}

.article3 >:first-child{
    flex: 1;
}
.article3 >:nth-child(2){
    flex: 3;
    display: flex;
    gap: 1rem;
}
.article3 .article-content{
    padding: 0 4rem 0 0;

}
.article-images > *{
    flex: 1;
    min-width: 0;
    width: 0;
}

.article4 .article-content{
    background: black;
    color: white;
    border-radius: 0 2rem 2rem 0;
}
.article4 img{
    border-radius: 2rem 0 0 2rem;
}


.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;
        }

        .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{
            position: relative;
            text-align: center;
            padding: 0.5rem;
            font-size: 14px;
            color: #444;
            line-height: 1.5;
            font-weight: bold;
        }

        .caption::after{
            content: '';
            position: absolute;
            width: 50%;
            height: 2px;
            background-color: var(--main-color);
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
        }

        .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:1920px){
    .hero {
        mask-image: unset;
        -webkit-mask-image: unset;
    }
}@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)
            );
    }
    .caption{
        font-size: 10px;
    }
}@media(max-width:768px){
    .article:nth-child(3){
        flex-direction: column;
        max-height: initial;
        gap: 1rem;
    }.article3 .article-content {
        padding: 0;
    }
}@media(max-width:425px){
    .hero-content{
        padding-bottom: 0px;
    }
    .scroll{
        bottom: 10px;
    }
    .article{
        padding: 1rem;
    }
    .article:not(:nth-child(4)){
        flex-direction: column;
        max-height: initial;
    }
    .article:not(:nth-child(3)) > *{
        width: initial;
    }
    .article2{
        padding: 0;
    }
    .article-content{
        padding: 1rem;
    }
    .article:nth-child(4)>img{
       flex:0 0 40%;
    }
}
