@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root{
    --text-dark:#171717;
    --text-light:#525252;
    --extra-light:#a3a3a3;
    --white:#ffffff;
    --max-width:1200px;
    --header-font:"Merriweather", serif;
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    
}
#whatsapp-btn{
    position: fixed;
    bottom: 35px;
    right: 12px;
    z-index: 9999;
    color: #25d366;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

#whatsapp-btn:hover{
    transform: scale(1.1);
}

#whatsapp-btn:focus{
    outline: none;
}

.section__container{
    max-width: var(--max-width);
    margin: auto;
    padding: 5rem 1rem;
}

.section__header{
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 400;
    font-family: var(--header-font);
    color: var(--text-dark);
    text-align: center;
}

.section__description{
    color: var(--text-light);
    line-height: 1.75rem;
    text-align: center;
}

.btn{
    padding: .75rem 1.5rem;
    outline: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    background-color: var(--text-dark);
    border-radius: 5px;
    transition: .3s;
    cursor: pointer;
}

.btn:hover{
    background-color: var(--text-light);
}

img{
    display: flex;
    width: 100%;

}

a{
    text-decoration: none;
    transition: 0.3s;
}

html,
body{
    scroll-behavior: smooth;
}

body{
    font-family: "Montserrat", sans-serif;
}

.header{
    min-height: 600px;
    background-image: radial-gradient(rgba(255,255,255,0),rgba(0,0,0,.9)),
    url("/banner/Destination-Wedding-Photography.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    animation: changeImg 45s ease-in 15s infinite;
}

@keyframes changeImg {
  0% {
    background-image: radial-gradient(rgba(255,255,255,0), rgba(0,0,0,0.9)),
      url("/banner/Destination-Wedding-Photography.jpg");
  }
  10% {
    background-image: radial-gradient(rgba(255,255,255,0), rgba(0,0,0,0.9)),
      url("/banner/Wedding-Photography-in-Kolkata.jpg");
  }
  20% {
    background-image: radial-gradient(rgba(255,255,255,0), rgba(0,0,0,0.9)),
      url("/banner/non-bengali-wedding-photographer-kolkata.jpg");
  }
  30% {
    background-image: radial-gradient(rgba(255,255,255,0), rgba(0,0,0,0.9)),
      url("/banner/Top-Wedding-Photographer-in-Kolkata.jpg");
  }
  40% {
    background-image: radial-gradient(rgba(255,255,255,0), rgba(0,0,0,0.9)),
      url("/banner/Wedding-Photographers-in-Kolkata.jpg");
  }
  50% {
    background-image: radial-gradient(rgba(255,255,255,0), rgba(0,0,0,0.9)),
      url("/non_ben_img/non_ben_24.webp");
  }
  60% {
    background-image: radial-gradient(rgba(255,255,255,0), rgba(0,0,0,0.9)),
      url("/banner/Portfolio-Photography-in-Kolkata.jpg");
  }
  70% {
    background-image: radial-gradient(rgba(255,255,255,0), rgba(0,0,0,0.9)),
      url("/banner/Uttarakhand-Wedding-Photography.jpg");
  }
  80% {
    background-image: radial-gradient(rgba(255,255,255,0), rgba(0,0,0,0.9)),
      url("/banner/Wedding-Photography-in-Uttarakhand.jpg");
  }
  90% {
    background-image: radial-gradient(rgba(255,255,255,0), rgba(0,0,0,0.9)),
      url("/non_ben_img/non_ben_21.webp");
  }
  100% {
    background-image: radial-gradient(rgba(255,255,255,0), rgba(0,0,0,0.9)),
      url("/banner/Destination-Wedding-Photography.jpg");
  }
}

nav{
    position: fixed;
    isolation: isolate;
    top: 0;
    width: 100%;
    max-width: var(--max-width);
    margin: auto;
    z-index: 9;
}

.nav__header{
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background-color: var(--text-dark);
}

.nav__logo img{
    max-width: 70px;
}
.nav__menu__btn{
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}
.nav__links{
    list-style: none;
    position: absolute;
    width: 100%;
    padding: 2rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
    background-color: var(--text-dark);
    transform: translateY(-100%);
    transition: .5s;
    z-index:-1;
}
.nav__links.open{
    transform: translateY(0);
}
.nav__links .nav__logo{
    display: none;
}

.nav__links a{
    padding-bottom: 5px;
    font-weight: 500;
    color: var(--white);
    border-bottom: 2px solid transparent;
}

.nav__links a:hover{
    border-color: var(--white);

}

.about__container .section__description{
    max-width: 900px;
    margin-inline: auto;
    margin-bottom: 2rem;
}

.about__container img{
    max-width: 170px;
    margin-inline: auto;

}

.portfolio__grid{
    margin-top: 2rem;
    display: grid;
    gap: 1rem;

}

.portfolio__card{
    position: relative;
    isolation: isolate;
}

.portfolio__card::after{
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    font-family: var(--header-font);
    color: var(--white);
}
.portfolio__card:nth-child(1)::after{
    content: "NonBengali";
}

.portfolio__card:nth-child(2)::after{
    content: "PreWedding";
}

.portfolio__card:nth-child(3)::after{
    content: "Engagement";
}
.portfolio__card:nth-child(4)::after{
    content: "Bengali";
}
.portfolio__card:nth-child(5)::after{
    content: "RiceCeremony";
}
.portfolio__card:nth-child(6)::after{
    content: "Birthday";
}

.portfolio__content{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: 0.3s;
    z-index: 1;
}

.portfolio__content a{
    text-decoration: none;
    color: wheat;
}


.portfolio__card:hover .portfolio__content{
    opacity: 1;
}

.service{
    background-image: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)),
    url("/pre-wedding/pre-wed27.webp");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.service__container .section__header {
    color: var(--white);
  }

.service__container .section__description {
    max-width: 600px;
    margin-inline: auto;
    color: var(--extra-light);
  }
.service__grid{
    margin-top: 4rem;
    display: grid;
    gap: 2rem;
}
.service__card{
    text-align: center;
}
.service__card h4{
    position: relative;
    isolation: isolate;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    font-size: 1.75rem;
    font-weight: 400;
    font-family: var(--header-font);
    color: var(--white);
}
.service__card h4::after{
    position: absolute;
    content: "~";
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    line-height: 0;
}



.service__card p{
    color: var(--extra-light);
    line-height: 1.75rem;

}


/* YouTube Secton */
.youtube__container{
    height: 430px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}


.youtube__container img{
    height: 45px;
    width: 70px;
}

.youtube__btn a{
    display: flex;

}
.youtube__btn button{
    padding: .75rem 1.5rem;
    outline: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    background-color: var(--text-light);
    border-radius: 5px;
    transition: .3s;
    cursor: pointer;
}
.youtube__btn button:hover{
    background-color: var(--text-dark);
}


.gallery__grid{
    margin-block: 2rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
}
.gallery__grid img{
    transition: 0.3s;
}
.gallery__grid:hover img:not(:hover){
    opacity: 0.5;
}
.gallery__btn{
    text-align: center;
    margin-bottom: 2rem;
}

  
.instagram__container {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
.instagram__flex {
    margin-top: 2rem;
    width: max-content;
    display: flex;
    align-items: center;
    gap: 1rem;
  
    animation: scroll 45s linear infinite;
  }

 .instagram__flex img {
    max-width: 135px;
  }

  @keyframes scroll {
    to {
      transform: translateX(calc(-50% - 0.5rem));
    }
  }



  .insta_btn a{
    display: flex;
    margin-top: 20px;
  }
  .insta_btn img{
    height: 40px;
    width: 40px;
  }
  .insta_btn button{
    padding: .75rem 1.5rem;
    outline: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    background-color: var(--text-light);
    border-radius: 5px;
    transition: .3s;
    cursor: pointer;
}
.insta_btn button:hover{
    background-color: var(--text-dark);
}
  

/* Map Section */
.map{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;

}
  .map iframe{
    height: 400px;
  }

  .map .information{
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .information p{
    text-align: justify;
    text-justify: inter-word;
  }

  .information_header{
    display: flex;
    flex-direction: column;
    gap: .5rem;
  }

  .information_body{
    display: flex;
    flex-direction: column;
    gap: .5rem;
  }
  .address_logo{
    display: flex;
    gap: .3rem;
  }
  .email_logo{
    display: flex;
    gap: .3rem;
  } .phone_logo{
    display: flex;
    gap: .3rem;
  }

  /* Footer Section */
  .footer__container {
    display: grid;
    gap: 4rem 0;
    align-items: center;
  }
  
  .footer__col {
    padding-inline: 2rem;
  }
  
  .footer__container img {
    max-width: 170px;
    margin-inline: auto;
    margin-bottom: 2rem;
  }
  
  .footer__socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .footer__socials a {
    font-size: 1.5rem;
    color: var(--text-dark);
  }
  
  .footer__socials a:hover {
    color: var(--text-light);
  }
  
  .footer__links {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .footer__links a {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
  }
  
  .footer__links a:hover {
    color: var(--text-light);
  }
  
  .footer__col h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
  }
  
  .footer__col p {
    color: var(--text-light);
    line-height: 1.75rem;
    text-align: center;
  }
  
  .footer__bar {
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--extra-light);
    background-color: var(--text-dark);
    text-align: center;
  }



@media(width > 520px) {

    .youtube__container{
        height: 650px;
        
    }

}

@media(width > 768px){
    .header{
        min-height: 650px;
    }

    nav{
        padding:2rem 1rem;
        position: static;
        max-width: 900px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav__header{
        display: none;
    }

    .nav__links{
        padding: 0;
        width: 100%;
        position: static;
        transform: none;
        flex-direction: row;
        justify-content: space-between;
        background-color: transparent;
    }

    .nav__links .nav__logo{
        display: block;
    }

    .nav__links .nav__logo img{
        max-width: 150px;
    }
    .portfolio__grid{
        grid-template-columns: repeat(3,1fr);
    }
    .service__grid{
        grid-template-columns: repeat(3,1fr);
    }
    .youtube__container{
        height: 700px;
        
    }
    .gallery__grid{
        grid-template-columns: repeat(4, 1fr);
    }
    .map {
        flex-direction: row;  
        gap: 2.5rem;
    }
    .map iframe{
        height: 350px;
    }
    .map .information{
        width: 70%;
    }
    

    .footer__container {
        grid-template-columns: repeat(3, 1fr);
      }
    
      .footer__col:nth-child(1) {
        grid-area: 1/2/2/3;
        border-left: 2px solid var(--text-dark);
        border-right: 2px solid var(--text-dark);
      }
    
      .footer__col:nth-child(3) {
        border: none;
      }
    }


@media(width>1024px){
    .header{
        min-height: 700px;
    }
    .portfolio__grid{
        gap: 2rem;
    }
}

#blog-section {
  margin: 40px 0;
}
.blog-post-preview {
  margin-bottom: 24px;
  border-bottom: 1px solid #eee;
  padding-bottom: 16px;
}
.blog-post-preview h3 {
  font-size: 1.15em;
}
.blog-read-more {
  color: #1976d2;
  text-decoration: none;
  font-weight: bold;
}
.blog-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.blog-post-preview {
  flex: 0 1 calc(33% - 16px); /* 3 columns with some gap */
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 16px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 260px;
}

.blog-post-thumbnail {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 14px;
}

.blog-post-preview h3 {
  font-size: 1.15em;
  text-align: center;
  margin: 0 0 10px;
}

.blog-read-more {
  color: #1976d2;
  text-decoration: none;
  font-weight: bold;
  margin-top: auto;
}
@media (max-width: 900px) {
  .blog-post-preview { flex: 0 1 calc(50% - 16px); }
}
@media (max-width: 600px) {
  .blog-post-preview { flex: 0 1 100%; }
}