@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;
}

.section__container {
  max-width: 100%;
  width: 100%;
  padding: 5rem 40px;
}

.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: 0.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: 0.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{
  height: 100vh;
  background-size: cover;       /* fills the screen */
  background-position: center;
  background-repeat: no-repeat;
  padding-top:60px;
}
#back,
#a,
#ab,
#h,
#ho {
  height: 100vh;
  background-size: cover;       /* fills the screen */
  background-position: center;
  background-repeat: no-repeat;
}

/* Individual images */
.header { background-image: url("https://picsum.photos/1600/900?50"); }
#back   { background-image: url("gallery/service.jpeg"); }
#a      { background-image: url("gallery/about.jpeg"); }
#ab     { background-image: url("gallery/abc.jpeg"); }
#h      { background-image: url("gallery/3.png"); }
#ho     { background-image: url("gallery/g.jpeg"); }


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(--red);
  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:#111;
  transform: translateY(-100%);
  transition: 0.5s;
  z-index: -1;
  justify-content: center;
}

.nav__links.open {
  transform: translateY(0);
}

.nav__links .nav__logo {
  display: none;
}

.nav__links a {
  padding-bottom: 5px;
  font-weight: 500;
  color:white;
  border-bottom: 2px solid transparent;
}

.nav__links a:hover {
  border-color: var(--red);
}

.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: "Portraits";
}

.portfolio__card:nth-child(2)::after {
  content: "Weddings";
}

.portfolio__card:nth-child(3)::after {
  content: "Fashions";
}

.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__card:hover .portfolio__content {
  opacity: 1;
}

.service {
  background-image: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9));
  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;
}

.client__container {
  padding-bottom: 2rem;
}

.swiper {
  margin-top: 2rem;
  padding-bottom: 3rem;
  width: 100%;
}

.client__card {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.client__card img {
  max-width: 120px;
  margin-inline: auto;
  margin-bottom: 2rem;
  border-radius: 100%;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.client__card p {
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.75rem;
}

.client__card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.swiper-pagination-bullet-active {
  background-color: var(--text-dark);
}

.gallery__grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:15px;
width:100%;
}

.gallery__grid img{
width:100%;
height:320px;
object-fit:cover;
display:block;
}

.gallery__grid:hover img:not(:hover) {
  opacity: 0.5;
}

.gallery__btn {
  text-align: center;
}


.instagram__container {
  overflow: hidden;
}

.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));
  }
}

.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-white);
  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 {
  width: 100vw;
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--extra-light);
  background-color: var(--text-dark);
  text-align: center;
  margin-left: calc(50% - 50vw);
}

@media (width > 540px) {
  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__col:nth-child(1) {
    grid-area: 1/1/2/3;
  }

  .footer__col:nth-child(3) {
    border-left: 2px solid var(--text-dark);
  }
}

@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);
  }

  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .blog__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog__content {
    grid-column: 2/3;
  }

  .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;
  }
}
/* HERO TITLE ON BACKGROUND IMAGE */

.hero__content{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  text-align:center;
}

.hero__title{
  color:#f5c542; /* gold color */
  font-size:60px;
  letter-spacing:4px;
  font-family:var(--header-font);
  text-shadow:0 4px 12px rgba(0,0,0,0.8);
}

.hero__subtitle{
  margin-top:10px;
  font-size:18px;
  color:#ffffff;
  text-shadow:0 4px 12px rgba(0,0,0,0.8);
}
.hero__title{
  color:#f5c542;
  font-size:60px;
  letter-spacing:4px;
  font-family:var(--header-font);

  opacity:0;
  transform:translateY(30px);

  animation:heroFade 2s ease forwards;
}

.hero__subtitle{
  opacity:0;
  animation:heroFade 2s ease forwards;
  animation-delay:1s;
}

@keyframes heroFade{
  from{
    opacity:0;
    transform:translateY(40px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}
.contact__details{
  margin-top:30px;
  text-align:center;
  font-size:16px;
  line-height:1.8;
}

.contact__details a{
  color:#171717;
  font-weight:600;
}
.contact__details{
  margin-top:30px;
  text-align:center;
  line-height:1.8;
}

.contact__details p{
  margin:10px 0;
}

.contact__details a{
  color:#171717;
  font-weight:600;
}

.whatsapp__btn{
  display:inline-block;
  margin-top:15px;
  padding:10px 20px;

  background:#25D366;
  color:white;
  border-radius:6px;

  font-weight:600;
}

.whatsapp__btn:hover{
  background:#1ebe5d;
}
.owner__photo{
width:180px;
height:180px;
border-radius:50%;
object-fit:cover;

border:5px solid #25D366;

display:block;
margin:30px auto 15px auto;
}
@media (max-width:768px){

.hero__title{
font-size:32px;
letter-spacing:1px;
}

.hero__subtitle{
font-size:14px;
}

.hero__content{
padding:0 20px;
}

}
.filter-buttons{
text-align:center;
margin:60px auto 40px;
}

.filter-buttons button{
padding:10px 20px;
margin:6px;
border:none;
background:#e7e1d8;
border-radius:6px;
cursor:pointer;
font-size:14px;
transition:0.3s;
}

.filter-buttons button:hover{
background:#d8d1c7;
}

/* ===== GALLERY GRID ===== */
.gallery{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:15px;
width:100%;
padding:20px;
box-sizing:border-box;
}

.gallery img{
width:100%;
height:250px;
object-fit:cover;
}
    

.gallery img:hover{
transform:scale(1.05);
}
#popup {
  display: none; /* hidden by default */
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
#popup img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px #000;
}

#popup-close {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}
.filter-buttons {
  text-align: center;
  margin: 20px 0;
}

.filter-buttons button {
  background: linear-gradient(45deg, #ff6b6b, #f8e473);
  border: none;
  color: white;
  padding: 12px 20px;
  margin: 5px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.filter-buttons button:hover {
  transform: scale(1.1) rotate(-2deg);
  background: linear-gradient(45deg, #6bff95, #73d2f8);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.filter-buttons button:active {
  transform: scale(0.95);
}

.filter-buttons button.active {
  background: linear-gradient(45deg, #ff9a9e, #fad0c4);
  color: #333;
}
.nav__links {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
}

.nav__links li a {
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  color: transparent;
  background-image: linear-gradient(45deg, #ff6b6b, #f8e473);
  background-clip: text;
  -webkit-background-clip: text;
  transition: all 0.4s ease;
  position: relative;
}

.nav__links li a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 0%;
  height: 2px;
  background: linear-gradient(45deg, #6bff95, #73d2f8);
  transition: width 0.4s ease;
}

.nav__links li a:hover {
  transform: scale(1.1);
  background-image: linear-gradient(45deg, #6bff95, #73d2f8);
}

.nav__links li a:hover::after {
  width: 100%;
}

/* Hero text container */
.hero-text {
  text-align: center;
  margin-top: 200px;
  opacity: 0;
  animation: fadeIn 2s ease forwards;
  animation-delay: 0.5s;
  font-family: 'Poppins', sans-serif; /* default font */
}

/* Headline */
.hero-text h1 {
  font-family: 'Playfair Display', serif; /* elegant headline font */
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffd84d;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
  letter-spacing: 2px;
  line-height: 1.2;
}

/* Subtext */
.hero-text p {
  font-family: 'Poppins', sans-serif; /* clean body font */
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 25px;
  color: #e0e0e0;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Button */
.hero-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 30px;
  background: #ffd84d;         /* golden background */
  color: #000;                 
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.hero-btn:hover {
  background: #ffb400;         /* deeper gold on hover */
}

/* Animation keyframes */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (width > 768px) {
  nav {
    padding: 2rem 1rem;
    position: fixed;   /* keep same behavior */
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media (max-width:600px){
/* GALLERY */
.gallery{
grid-template-columns:repeat(2,1fr);
gap:10px;
}

.gallery img{
height:180px;
}
}