
.load-screen {

  position: fixed;
  background-color: var(--clr-pri-400);
  top:0;
  z-index: 999;
  width: 100%;
  height: 100%;
  display: none;
}

.load-screen h1 {

  color: var(--clr-sec-400);
  z-index: 9999;
  font-size: 5rem;
  text-align: center;
  display: block;
  width: 50%;
  margin-inline: auto;
  margin-top: 40vh;
}

section {

  padding-block: 3rem;
  margin-block: 2rem;
}

#parent-section {

  padding-block: 0;
  margin:0;
  margin-block-start: 2rem;
}

.section_wrapper {

  margin-inline: auto;
  max-width: 80%;
}

.section_heading {
  margin-inline:auto;
  text-align: center;
  font-family: var(--fnt-sec);
  font-style: normal;
  font-size: 3rem;
  font-weight: 200;
  color: var(--clr-pri-400);
  padding-block: 2rem;
}

.clickable:hover {
  cursor: pointer;
}

#home {
  margin-block: 0;
  padding-block: 0;
}

#home-carousel {

  position: relative;
  width: 100%;
  margin-inline: auto;
  max-height: 70vh;
  height:70vh;
  overflow:hidden;
}

.carousel-btn {
  --nav-width: 90%;
  position: absolute;
  z-index: 9999;
  color: rgba(255 255 255 / 0.5);
  width: 5rem;
  height: 100%;
  aspect-ratio: 1;
  display: none;
  background-color: rgba(0 0 0 / 0.2);
}

#home-carousel:hover .carousel-btn {
  display: block;
}

.carousel-btn > span {

  position: relative;
  display: block;
  font-size: 3rem; 
  font-weight: 700;
  top: 40%;
  text-align: center;
}

.carousel-prev-btn {
  left: 0;
  top: 0;
}

.carousel-next-btn {
  right: 0;
  top:0;
}

.carousel-btn:hover {
  cursor: pointer;
}

.home-bg {
  max-width: 100%; 
  height: 100%;
  position: absolute;
  transition: left 1s;
  transition: opacity 1s;
  object-fit:cover;
  left: 110%;
  opacity: 0;
}

.carousel-main {
  left:0%;
  opacity: 1;
  z-index: 10;
}

#services {
  background-color: var(--clr-sec-200);
}

#services_container {

  display: flex;
  gap: 0 2rem;
  justify-content: space-between;
}

.services_card {
  --radius: 10px;
  max-width: 30%;
  border-radius: var(--radius);
  transition: opacity .3s;
  overflow: hidden;
  opacity: 0.9;
}

.services_card:hover {

  opacity: 1;
}

.services_card img {

  object-fit: fill;
  width: 100%;
  border-radius: var(--radius);
}


.services_card h2 {
  font-family: var(--fnt-sec);
  font-style: normal;
  font-size: 1.5rem;
  font-weight: 400;
  text-align: center;
  color: var(--clr-pri-400);
}

#wedding-films {

  margin-block: 1em;
  padding-block: 1em;
  padding-block-end: 3rem;
}

.wedding-films__wrapper {

  display: grid;
  grid-template-columns: auto auto;
  gap: 3em 0em;
  justify-items:center;
}

.wedding-films__wrapper > div {

  position: relative;
  width: 80%;
  height: 30vh;
  z-index: 100;
}

.wedding-films__wrapper iframe {

  width: 100%;
  height:100%;
}

.video-bg-img {

  margin:0;
}

.video-cover-image {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 200;

  background: white;
  background-position:center;
  background-size: 100%;
  object-fit: cover;

  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;

  border: 2px solid white;
  background-repeat: no-repeat;
}

.video-cover-image > h1 {
}

.video-cover-image img:hover {
  cursor: pointer;
  width: 5rem;
  height: 5rem;
}

.video-cover-image img {
  display: block;
  margin-inline: auto;
  max-width: 50%;
  width: 4rem;
  height:4rem;
}

.video-cover-image:has(img[mediaPlaying="true"])  {
  display: none;
}

.video-cover-image[targetId="video-1"] {
  background-image: url('../images/wedding-films/john-arlis.webp');
}

.video-cover-image[targetId="video-2"] {
  background-image: url('../images/wedding-films/vivek-vidhya.webp');
}

.video-cover-image[targetId="video-3"] {
  background-image: url('../images/wedding-films/priya-prashanth.webp');
}

.video-cover-image[targetId="video-4"] {
  background-image: url('../images/wedding-films/vinodh-archana.webp');
}

#contact_us {

  background-color: var(--clr-sec-200);
  margin:0;
}

#contact_us h1 {
  font-weight: 400;
}

#contactus_wrapper {
  display: flex;
  justify-content: center;
  gap: 0 3rem;
  text-align: center;
}

#contactus_wrapper > div {
  flex-grow: 1;
  flex-basis: 0;
}


#contactus_wrapper h2 {

  font-style: normal;
  font-weight: 400;
  font-family: var(--fnt-sec);
  font-size: 2rem;
  color: var(--clr-pri-400);
  letter-spacing: 5px;
}

#contactus_wrapper p {
 
  font-style: normal;
  font-weight: 400;
  font-family: var(--fnt-sec);
  font-size: 1.25rem;
  color: var(--clr-ter);
}

#contactus_wrapper > div:nth-child(2) {

  border-right: 1px solid var(--clr-pri-300);
  border-left: 1px solid var(--clr-pri-300);
}

#contactus_wrapper > div:first-child p {
  letter-spacing: 2px;
  line-height: 1rem;
}

#contactus_wrapper h2 {
  padding-block: .5em;
}


.social {
  padding: 10px;
  font-size: 30px !important;
  width: 50px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  background-color: var(--clr-pri-400);
  color: white;
  border-radius: 15px;
}

.social:hover {
  background-color: var(--clr-pri-300);
}

.social-mail {
  color: var(--clr-pri-400);
}

/* css related to gallery page */

/* css related to responsiveness */
@media only screen and (max-width: 56em) {

  section {
    padding-block: 1rem;
  }

  .section_heading {
    font-size: 2rem;
    font-weight: 300;
  }

  #home-carousel {
    height: 30vh;
  }

  .carousel-btn {
    display: block;
    width: 2rem;
    background-color: rgba(0 0 0 / .1);
  }
  .carousel-btn > span {
    font-size: 1rem;
  }

  #services_container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0 2em;
  }

  .services_card {
    max-width: 90%;
    height: 60vh;
    padding-block: 2rem;
  }

  .services_card img {

    max-width: 90%;
    height: 90%;
    display:block;
    margin-inline: auto;
    object-fit: cover;
  }

  .wedding-films__wrapper {
    grid-template-columns: auto;

    margin-inline:auto;
  }

  .wedding-films__wrapper > div {
    margin-inline:auto;
  }

  .services_card h2 {
    padding-block: 1rem;
  }


  .video-cover-image img {

    width: 5rem;
    height: 5rem;
  }

  #contactus_wrapper {
    flex-direction: column;
  }

  #contactus_wrapper > div:nth-child(2) {

    border:0;
    border-top: 1px solid var(--clr-pri-300);
    border-bottom: 1px solid var(--clr-pri-300);
  }
  
  #contactus_wrapper h2 {
    font-size: 1.5rem;
    font-weight: 600;
  }
  
  #contactus_wrapper p {

    font-weight: 500;
  }
}
