* {
  margin: 0;
  padding: 0;
}
body {
  font-family: EB Garamond, sans-serif;
  background-image: url(../img/background_vintage_ver2.png);
  background-color: #4e153c;
  color: #ede6e3;
  scroll-behavior: smooth;
}
header {
  /* background-color: #7469b6; */
  background-color: #7a1f3d;
  padding: 1rem;
  text-align: center;
  color: white;
}
.overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 3;
  background-color: rgba(0, 0, 0, 0.4);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 100%;
  background-color: #7a1f3d;
  padding: 1rem;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 100;
  transition: position 0.3s, top 0.3s;
}

.main-nav.fixed {
  position: fixed;
  top: 0;
}

.main-nav a {
  position: relative; /* Necessary for the ::after pseudo-element */
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  padding: 0.5rem 1rem;
  overflow: hidden;
  transition: color 0.3s ease;
  z-index: 1;
  margin: 0 1rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #bd5075;
  transform: scaleY(0);
  transform-origin: bottom;
  z-index: -1;
  transition: transform 0.3s ease;
  border-radius: 5px;
}

.main-nav a:hover {
  color: black;
}

.main-nav a:hover::after {
  transform: scaleY(1);
}

.container {
  padding: 70px 20px 20px;
  text-align: center;
  margin-bottom: 3rem;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  padding: 20px;
}
.gallery img {
  width: 250px;
  height: 200px;
  object-fit: cover; /* Keeps images uniform and cropped */
  border-radius: 8px;
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 1.2rem 1.8rem #76414f;
  cursor: pointer !important;
}

.gallery img:hover {
  transform: scale(1.3); /* Expands the image */
  z-index: 7; /* Ensures the image appears above others */
  position: relative;
}

.heading {
  background-color: #bd5075;
  font-size: 2rem;
  color: #fff;
  text-align: center;
  width: 100%;
  padding: 1rem 0;
  margin: 1rem 0;
}
.about-container,
.contact-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
}
.about-container p {
  margin-top: 2rem;
}

.about-text p {
  font-size: 1.3rem;
}
.contactSection {
  /* background-color: #ad88c6; */
  background-color: #bd5075;
  color: #fff;
  padding: 1rem;
}
.contactButton {
  color: #fff;
  padding: 15px 20px;
  display: inline-block;
  margin-top: 20px;
  border: 1px solid #fff;
  border-radius: 2px;
}

.about-text,
.contact-text {
  max-width: 500px;
  text-align: left;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.instagram-icon {
  background-image: url(../img/icons/icons8-instagram-50.png);
}

.tiktok-icon {
  background-image: url(../img/icons/icons8-tiktok-50.png);
}

.xtwitter-icon {
  background-image: url(../img/icons/icons8-x-48.png);
}

.github-icon {
  background-image: url(../img/icons/icons8-github-50.png);
}

.likedin-icon {
  background-image: url(../img/icons/icons8-linkedin.png);
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  /* background-color: #7469b6; */
  background-color: #7a1f3d;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: background 0.3s;
  background-size: 60%;
  background-repeat: no-repeat;
  background-position: center;
}
.social-links a:hover {
  /* background-color: #ad88c6; */
  background-color: #a0385b;
}

/* .parallax {
  background: url("background.jpg") no-repeat center center fixed;
  background-size: cover;
  height: 100px;
} */
footer {
  background-color: #7a1f3d;
  text-align: center;
  padding: 0.1rem;
  margin-top: 0.3rem;
  height: 2rem;
}
/* #footerSection {
  padding-top: 0.1 rem !important;
  margin-bottom: 0.3 rem !important;
} */
.slides-container {
  scale: 100%;
}

.slides-navigation .prev,
.slides-navigation .next {
  width: 47px;
  height: 47px;
  background-size: cover;
  background-repeat: no-repeat;
}

.slides-navigation a.prev {
  left: 20px;
  background-image: url(../img/icons/prev.png);
}

.slides-navigation a.next {
  right: 20px;
  background-image: url(../img/icons/next.png);
}
.slides-navigation {
  z-index: 6;
}

.title-message {
  position: absolute;
  width: 100%;
  height: 250px;
  top: 50%;
  z-index: 5;
  text-align: center;
  margin-top: -125px;
}
.title-message .title-heading p {
  color: #fff;
  text-shadow: 0px, 2px, 5px, rgba(0, 0, 0, 0.4);
  font-weight: 100;
  letter-spacing: 7px;
}
.title-message .title-heading .main-title {
  font-size: 50px;
}
.title-message .title-heading .sub-title {
  font-size: 25px;
}

.loader {
  width: 100%;
  height: 100%;
  /* background-color: #fff; */
  background-image: url(../img/curtains3.png);
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 1000;
}
.loader .inner {
  width: 100%;
  height: 100%;
  background: url(../img/buff1.gif) center center no-repeat;
}

.filter a {
  color: #ffffff;
  border: 1px solid #ffffff;
  padding: 10px 18px;
  display: inline-block;
  text-decoration: none;
}

.filter li {
  display: inline-block;
  padding: 5px;
  list-style: none;
}

.filter .current {
  background-color: #bd5075;
  border-color: #bd5075;
  color: #fff;
}

.filter {
  text-align: center;
  width: 100%;
}

.section .heading {
  text-align: center;
  padding-bottom: 14px;
}

.items li {
  display: inline-block;
  padding: 5px;
  transition: all 0.3s linear;
}

.itemsContainer {
  width: 100%;
}

.items img {
  width: 100%;
  transition: transform 0.3s ease-in-out;
}

.items .item {
  position: relative;
  display: block;
  overflow: hidden;
  box-shadow: 0px 0px 20px 1px rgba(228, 53, 144, 0.632);
}

.items .icons {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  z-index: 3;
}

.items .item:hover .icons {
  opacity: 1;
}
.items .icons i {
  color: #fff;
  font-size: 20px;
  margin-top: 9px;
}

.items a {
  width: 40px;
  height: 40px;
  background-color: #7a1f3d;
  position: relative;
  display: inline-block;
  transition: all 0.3s linear;
}

.items .imageOverlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transition: all 0.3s linear;
}

.items .item:hover .imageOverlay {
  opacity: 1;
  z-index: 2;
}

.items .item:hover img {
  transform: scale(1.05);
  position: relative;
  z-index: 2;
}

.items {
  padding: 0;
}

.about-container {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.about-container.show {
  opacity: 1;
  transform: translateY(0);
}

#portfolio.hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

#portfolio.show {
  opacity: 1;
  transform: translateY(0);
}
