/* Import stylish fonts from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600&family=Roboto+Slab:wght@400;700&family=Playfair+Display:ital,wght@1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Italiana&display=swap');

body {
  margin: 0;
  /* display: flex; */
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #ff9a9e, #fad0c4);
  font-family: 'Roboto Slab', serif;
  /* Default font */
  overflow-x: hidden;
}

.container {
  text-align: center;
}


#boobna {
  font-size: 4rem;
  /* font-weight:200; */
  color: #fff;
  font-family: "Italiana", sans-serif;
  font-weight: 400;
  font-style: normal;
  will-change: transform, text-shadow;
  text-shadow: 0 0 10px #ff8fa3, 0 0 20px #ff6a9c, 0 0 30px #e62e6b;
  padding-top: 170px;
  /* font-family:  */
  /* Fancy script font for the title */
  /* animation: glow 1.5s infinite alternate, floating 4s infinite ease-in-out; */
}

#logo {
  position: absolute;
  top: 50px;
  /* right: 45%; */
  left: 50%;
  transform: translate(-50%, +10%);
  width: 150px;
}

@media only screen and (max-width: 900px) {
  #boobna {
    font-size: 45px;
    padding-top: 180px;
    padding-bottom: 30px;

  }

  #logo {
    top: 20px;
    position: absolute;
    top: 50px;
    /* right: 45%; */
    left: 50%;
    transform: translate(-50%, +10%);
    width: 150px;
  }
}

#hair-treatment-section {
  justify-self: center;
  display: flex;
  /* width: 300px; */
  height: 300px;
}

.tagline {
  font-size: 1.5rem;
  justify-self: center;
  text-align: center;
  color: #fff;
  font-family: 'Playfair Display', serif;
  /* Elegant serif font for the tagline */
  animation: fadeIn 4s ease-in-out;
}

/* 
@keyframes glow {
  0% {
    text-shadow: 0 0 10px #ff8fa3, 0 0 20px #ff6a9c, 0 0 30px #e62e6b;
  }

  100% {
    text-shadow: 0 0 20px #ffbdd2, 0 0 30px #ff96b3, 0 0 40px #e62e6b;
  }
}

@keyframes floating {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
} 
*/

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


/* Contact Section */
.contact-section {
  background: transparent;
  padding: 20px 30px;
  border-radius: 15px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  justify-self: center;
  margin: 20px;
  max-width: 300px;
  width: 100%;
}

/* Additions to Animations */

/* Shake animation for buttons */
@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  50% {
    transform: translateX(5px);
  }

  75% {
    transform: translateX(-5px);
  }
}

/* Slide-in animation for service cards */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pulse animation for social media icons */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0px rgba(0, 0, 0, 0.2);
  }

  50% {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0px rgba(0, 0, 0, 0.2);
  }
}

/* Zoom-in animation for photo gallery */
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Apply new animations */

/* Add shake effect to buttons on hover */
button:hover {
  animation: shake 0.5s ease-in-out;
}
a:link {
  text-decoration: none;
}
#service-p{

  text-decoration-line: none;
}
/* Add slide-in effect to service cards */
.service-card h3 {
  animation: slideIn 1s ease-in-out;
  text-decoration: none;
}
.service-image{
  text-decoration: none;
}
.service-p{
  text-decoration: none;
  color: #00b489;
}
.hidden {
  display: none;
}

/* .hidden {
  opacity: 0;
  transition: opacity 0.5s ease;
} */

/* Add pulse effect to social media icons on hover */
.fa:hover {
  animation: pulse 1s infinite;
}

/* Add zoom-in effect to the photo gallery */
.photo-gallery {
  animation: zoomIn 1s ease-in-out;
}


.contact-section h2 {
  margin: 0 0 10px;
  font-size: 2rem;
  color: #e62e6b;
}

.contact-section p {
  margin: 5px 0;
  font-size: 1rem;
  color: #fff;
}



.what-we-do {
  padding: 3rem 1rem;
  background: linear-gradient(135deg, #ff9a9e, #fad0c4);
  text-align: center;
}

.what-we-do h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 2rem;
}

.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.service-card {
  width: 250px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.our-services {
  text-align: center;
  padding: 4rem 1rem;
  background-color: transparent;
  color: #fff;
}

.our-services h2 {
  font-size: 2.5rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
}

.services-description {
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  font-family: 'Roboto Slab', serif;
  color: #fff;
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.service-card {
  width: 250px;
  background-color: transparent;
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card h3 {
  font-size: 1.2rem;
  color: #e2c1c7;
  padding: 1rem 0;
  font-family: 'Roboto Slab', serif;
}


/* Welcome Animation */

.service-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.service-card h3 {
  font-size: 1.25rem;
  color: #333;
  margin: 1rem 0 0.5rem;
  font-family: 'Roboto Slab', serif;
}

.service-card p {
  font-size: 1rem;
  color: #666;
  padding: 0 1rem 1rem;
}


.contact-details a {
  font-size: 1.2rem;
  color: #e62e6b;
  text-decoration: none;
  font-weight: bold;
}

.contact-details a:hover {
  color: #ff6a9c;
}

.contact-details form {
  margin-top: 15px;
}

textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 10px;
  resize: none;
  outline: none;
  font-size: 1rem;
  font-family: inherit;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

button {
  margin-top: 10px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #e62e6b, #ff6a9c);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: linear-gradient(135deg, #ff6a9c, #e62e6b);
}

.photo-gallery-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #f9f9f9;
}

.photo-gallery-section h2 {
  font-size: 2.5rem;
  color: #e62e6b;
  font-family: 'Playfair Display', serif;
  margin-bottom: 30px;
}

.photo-gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 1s, transform 1s;
}

.photo-gallery.visible {
  opacity: 1;
  transform: scale(1);
}

.photo {
  width: 100%;
  max-width: 220px;
  /* max-width for flexibility */
  height: auto;
  /* auto height to maintain aspect ratio */
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  cursor: pointer;
}

.photo img {
  width: 100%;
  /* Make sure the image fills the container */
  height: 100%;
  /* Make image fill the container's height */
  object-fit: contain;
  /* Ensures no zooming in */
  border-radius: 15px;
}

.photo:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 5px 20px rgba(0, 0, 0, 0.2);
}

.photo::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(255, 108, 108, 0.5), rgba(0, 0, 0, 0));
  opacity: 0;
  transition: opacity 0.5s ease;
}

.photo:hover::after {
  opacity: 1;
}

.photo-info {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: #fff;
  font-size: 1.2rem;
  font-family: 'Roboto Slab', serif;
  text-shadow: 0 2px 4px rgba(255, 0, 0, 0.5);
  opacity: 0;
  z-index: 100;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.photo:hover .photo-info {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

footer {
  text-align: center;
  padding: 20px;
  background-color: transparent;

  margin-top: 40px;
}

footer p {
  margin: 0;
  color: white;
  font-weight: bold;
  font-size: 1rem;
}

.what-we-do {
  padding: 50px 20px;
  background: transparent;
  /* Matches the overall theme */
  text-align: center;
  color: #fff;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 30px;
  font-family: 'Playfair Display', serif;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  width: 300px;
  padding: 20px;
  background: linear-gradient(135deg, #ffe6e9, #ffb3c6);
  /* Gradient card background */
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-family: 'Roboto Slab', serif;
  color: #333;
  position: relative;
  overflow: hidden;
}

.card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #e62e6b;
  /* Bold pink text for the headings */
  font-family: 'Playfair Display', serif;
}

.card p {
  font-size: 1rem;
  /* color: ; */
  line-height: 1.6;
}

.card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent 70%);
  transform: rotate(45deg);
  transition: opacity 0.5s ease;
  opacity: 0;
  pointer-events: none;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);

}

.card:hover::before {
  opacity: 1;
}

footer a {
  margin-right: 20px;
  margin-bottom: 20px;
}

.fa {
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 13px;
  font-size: 30px;
  width: 50px;
  text-align: center;
  text-decoration: none;
  /* margin: 5px 2px; */
}

.fa:hover {
  opacity: 0.7;
}

.fa-facebook {
  background: #3B5998;
  color: white;
}

.fa-twitter {
  background: #55ACEE;
  color: white;
}

.fa-google {
  background: #dd4b39;
  color: white;
}

.fa-linkedin {
  background: #007bb5;
  color: white;
}

.fa-youtube {
  background: #bb0000;
  color: white;
}

.fa-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
}

.fa-pinterest {
  background: #cb2027;
  color: white;
}

.fa-snapchat-ghost {
  background: #fffc00;
  color: white;
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.fa-skype {
  background: #00aff0;
  color: white;
}

.fa-android {
  background: #a4c639;
  color: white;
}

.fa-dribbble {
  background: #ea4c89;
  color: white;
}

.fa-vimeo {
  background: #45bbff;
  color: white;
}

.fa-tumblr {
  background: #2c4762;
  color: white;
}

.fa-vine {
  background: #00b489;
  color: white;
}

.fa-foursquare {
  background: #45bbff;
  color: white;
}

.fa-stumbleupon {
  background: #eb4924;
  color: white;
}

.fa-flickr {
  background: #f40083;
  color: white;
}

.fa-yahoo {
  background: #430297;
  color: white;
}

.fa-soundcloud {
  background: #ff5500;
  color: white;
}

.fa-reddit {
  background: #ff5700;
  color: white;
}

.fa-rss {
  background: #ff6600;
  color: white;
}












#welcome-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Transparent black */
  backdrop-filter: blur(10px);
  /* Blur effect */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeOut 1.5s ease-out 2.5s forwards;
}

#welcome-screen img {
  width: 250px;
  height: auto;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeIn 1s ease-in forwards 0.5s;
}

#welcome-screen h1 {
  color: white;
  font-size: 20px;
  text-align: center;
  letter-spacing: 2px;

  padding-left: 30px;
  padding-right: 30px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s ease-in forwards 0.8s;
}

#welcome-screen h2 {
  color: white;
  font-size: 15px;
  padding-left: 30px;
  padding-right: 30px;
  text-align: center;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s ease-in forwards 0.8s;
}

/* Animation Keyframes */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-100%);
  }
}