@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: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
  text-align: center;

}

.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 {
  min-height: 600px;
  background-image: radial-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.9)),
    url("assets/header.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

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: 0.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 {
  display: flex; /* Use flexbox for horizontal alignment */
  flex-wrap: nowrap; /* Prevent items from wrapping */
  overflow-x: auto; /* Enable horizontal scrolling */
  gap: 1rem; /* Space between cards */
  padding-bottom: 1rem; /* Add space below cards */
  scroll-snap-type: x mandatory; /* Enable scroll snapping */
}

.portfolio__grid::-webkit-scrollbar {
  display: none; /* Hide scrollbar in WebKit browsers */
}

.portfolio__card {
  flex: 0 0 calc(25% - 1rem); /* Fixed width for each card (adjust as needed) */
  max-width: 300px; /* Optional: Set maximum card width */
  scroll-snap-align: center; /* Snap each card to the center on scroll */
  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__card:nth-child(4)::after {
  content: "Travel";
}

.portfolio__card:nth-child(5)::after {
  content: "New";
}

.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;
}

/* Styles for Small Screens */
@media screen and (max-width: 768px) {
  .portfolio__grid {
    display: flex; /* Switch to flexbox for horizontal layout */
    flex-wrap: nowrap; /* Prevent wrapping of items */
    overflow-x: auto; /* Enable horizontal scrolling */
    gap: 1rem;
    padding-bottom: 1rem; /* Add space below the cards */
    scroll-snap-type: x mandatory; /* Enable scroll snapping for smoother UX */
  }

  .portfolio__grid::-webkit-scrollbar {
    display: none; /* Hide scrollbar in WebKit browsers */
  }

  .portfolio__card {
    flex: 0 0 calc(80% - 1rem); /* Ensure cards don't grow larger */
    max-width: 300px; /* Optional: Limit maximum width of each card */
    scroll-snap-align: center; /* Center card when scrolling */
  }
}


.service {
  background-image: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)),
    url("assets/service.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}


.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(auto-fit, minmax(200px, 1fr));
  gap: 16px; /* Adjust the gap between items as needed */
}

.gallery__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery__item img {
  width: 100%;
  height: auto;
  display: block;
}

.client__name {
  margin-top: 8px; /* Adjust the space between the image and the text */
  font-size: 16px; /* Adjust the font size as needed */
  text-align: center;
  font-family: 'Georgia', serif; /* Change font family to match the style */
}

.client__date {
  font-size: 1em;
  color: #555;
}

.gallery__grid:hover img:not(:hover) {
  opacity: 0.5;
}

.gallery__btn {
  margin-top: 32px; /* Adjust the space below the gallery grid */
}

.btn {
  padding: 10px 20px; /* Adjust padding for the button */
  font-size: 16px; /* Adjust font size for the button */
  cursor: pointer;
}
.blog {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("assets/blog.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.blog__container {
  padding-block: 8rem;
  display: flex;
  justify-content: space-between;
}

.blog__content,
.blog__form {
  flex: 1;
  padding: 2rem;
}

.blog__content {
  text-align: left;
}

.blog__content .section__header {
  margin-bottom: 2rem;
  color: var(--white);
}

.blog__content h4 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 400;
  font-family: var(--header-font);
  color: var(--white);
}

.blog__content p {
  margin-bottom: 2rem;
  line-height: 1.75rem;
  color: var(--extra-light);
}

.blog__content .btn {
  background-color: transparent;
  border: 1px solid var(--white);
}

.blog__btn {
  margin-top: 5rem; /* Adjust the value as needed */
}


.blog__form {
  border-left: 2px solid var(--white);
  padding: 2rem 5%;
  box-sizing: border-box;
}

.blog__form .section__header {
  margin-bottom: 2rem;
  color: var(--white);
  text-align: center;
}

.blog__form form {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1rem;
}

.blog__form .form-group {
  display: contents;
}

.blog__form label {
  color: var(--white);
  align-self: center; 
  text-align: left; 
}


.blog__form input {
  padding: 0.6rem;
  border: 1px solid var(--white);
  background-color: transparent;
  color: var(--white);
  width: 100%;
  border-radius: 0.375rem; 
  text-align: center;

}


.blog__form .form__btn {
  grid-column: span 2;
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.blog__form .btn {
  background-color: transparent;
  border: 1px solid var(--white);
  padding: 0.5rem 1rem;
}


/* Ensure labels and inputs are aligned properly */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

/* Styling for the labels */
.form-group label {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: bold;
}

/* Adjust the input fields (including select) */
.form-group input, .form-group select {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
  background-color: transparent; /* Remove white background */
  color: white; 
  -webkit-appearance: none; /* Remove default appearance in some browsers */
  -moz-appearance: none; /* Remove default appearance in Firefox */
  appearance: none; /* General appearance reset */
}

/* Styling the submit button */
.form__btn button {
  width: auto; /* Make the width auto so the button size fits its content */
  padding: 8px 16px; /* Reduce padding for a smaller button */
  font-size: 14px; /* Smaller font size */
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Hover effect for smaller button */
.form__btn button:hover {
  background-color: #0056b3;
  transform: scale(1.05); /* Slightly increase the size when hovered */
}



.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;
}

/* Media query for mobile devices */
@media (max-width: 600px) {
  .blog__container {
    flex-direction: column;
    align-items: center;
  }

  .blog__form {
    border-left: none;
    border-top: 2px solid var(--white);
    margin-top: 2rem;
    padding: 2rem 5%;
    box-sizing: border-box;
  }

  .blog__form form {
    grid-template-columns: 1fr;
  }

  .blog__form .form__btn {
    grid-column: span 1;
  }
}

@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__socials a {
  text-decoration: none;
  margin: 0 10px;
  font-size: 24px; /* Adjust the icon size as needed */
}

.footer__socials a.facebook i {
  color: #1877F2; /* Facebook blue */
}

.footer__socials a.instagram i {
  background: linear-gradient(135deg, #F58529, #D7008C, #F7B631); /* Instagram gradient */
  -webkit-background-clip: text;
  color: transparent;
}

.footer__socials a.whatsapp i {
  color: #25D366; /* WhatsApp green */
}

.footer__socials a.youtube i {
  color: #FF0000; /* YouTube red */
}

.footer__socials a.phone i {
  color: #34B7F1; /* Phone (calling) blue or green */
}

.footer__socials a.mail i {
  color: #D44638; /* Mail red */
}

/* Optional: Add hover effects */
.footer__socials a:hover i {
  opacity: 0.8;
}


.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 > 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;
  }
}



