/* Global Reset & Font */
*{
  margin: 0;
  padding: 0;
  font-family: 'Smooch Sans', sans-serif;
}

/* Header Section */
#header {
  position: relative;
  background: url('/images/pic2.jpg') no-repeat center center;
  background-size: cover;
  background-position: top;
  height: 100vh;
  color: white;
  z-index: 1;
}

.logo {
  position: relative;
  z-index: 2; 
}

#header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

.c-item{
  height: 90vh;
}

.c-img{
  height: 100%;
  object-fit:cover;
  object-position: top;
  filter: brightness(0.5);
}

/* --- This CSS is for other pages apart from HOME --- */
#pages{
    width: 100%;
    min-height: 40vh; 
    padding: 4rem 1rem;
    overflow: hidden;
    color: white;
    background-image:linear-gradient(rgba(2, 5, 18, 0.7),rgb(4, 9, 30,0.7)) , url(../images/pic2.jpg);
    background-size: cover;
    background-position: top;
    position: relative;
}

nav ul li a::after{
    content: '';
    width: 0%;
    height: 2px;
    background-color: red;
    margin: auto;
    display: block;
    transition: 0.5s;
    
}

nav ul li a:hover::after{
    width: 100%;
   
}

nav ul li a.active::after {
    width: 100%;
}

nav ul li a.active {
    font-weight: bold;
    color: red; 
}


.homepage {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 2rem 1 rem;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}

.homepage h1 {
  font-size: 3rem;
  font-weight: bold;
  animation: fadeInDown 1s ease;
}

.homepage p {
  font-size: 1.5rem;
  margin-top: 10px;
  animation: fadeInUp 2s ease;
}

/* Fade Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Services Section */
#services{
    width: 80%;
    text-align: center;  
    margin: auto;
    padding: 100px;
}

#services h1{
    font-size: 50px;
    font-weight: 600;
    
}

#services h3{
    font-size: 30px;
    font-weight: 500;
}

.serviceCol ul{
    font-size: 25px;
    margin-top: 10px;
    color: gray;
    padding: 10px;
    list-style: none;
}


.serviceCol{
    background-color: #fff3f3;
    border-radius: 10px;
    padding: 20px 10px;
    box-sizing: border-box;
    
}


/* Beauty Section */
#beauty{
    width: 80%;
    text-align: center;  
    margin: auto;
    padding: 50px;
}

#beauty h1{
    font-size: 50px;
    font-weight: 600;
    
}

#beauty p{
    font-size: 30px;
    font-weight: 500;
}

.beautyCol{
    flex-basis: 30%;
    padding: 20px 10px;
    box-sizing: border-box;
    position: relative;
    margin-bottom: 20px;
    border-radius: 30px;
    overflow: hidden ;
}

.beautyCol img{
    width: 100%;
    height: 75%;
    border-radius: 10px;
                                
}

.base{
    width: 100%;
    top: 20px;
}

.base h3{
    font-size: 30px;
    font-weight: 800;
    font-style: italic;
    color: black;
    text-align: center;
    padding: 10px;

}

.beautyCol:hover{
    background-color: red;

    animation-name: rotate;
    animation-duration: 3s;

}

@keyframes rotate{
    from {transform: rotateX(0deg);}
    to {transform: rotateX(360deg);}   
}

/* Charmer Section */
#charmer{
    width: 80%;
    text-align: center;  
    margin: auto;
    margin-bottom: 2px;
    padding: 5px;
}

#charmer h1{
    font-size: 50px;
    font-weight: 600;
}

#charmer h2{
    font-size: 30px;
    font-weight: 500;
}

#charmer h3{
    font-size: 25px;
    font-weight: 800;
    font-style: italic;
}

#charmer p{
    font-size: 20px;
    font-weight: 500;
}

.charmerCol {
  background-color: #fff;
  border-radius: 10px;
  padding: 1rem;
  box-sizing: border-box;
  text-align: left;
  overflow: visible; 
  height: 100%;
}


.charmerCol p {
  font-size: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  line-height: 1.5;
}



.charmerCol img{
    width: 100%; 
    height: 75%;
    object-fit: cover;
    border-radius: 10px;
}

.charmerCol h3{
    text-align: center;
}


/* Footer */
#footers {
   background-image:linear-gradient(rgba(2, 5, 18, 0.7),rgb(4, 9, 30,0.7)) , url(../images/pic2.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    font-size: 25px;
    padding: 20px 0px;    
}

/* Contact Form */

#contactForm{
    width: 80%;
    text-align: center;  
    margin: auto;
    padding: 20px;
    font-size: 25px;
}

.contactCol button {
  padding: 1rem 2rem;
  background-color: #f98b8b;
  color: white;
  border: none;
  font-size: 1.25rem;
  transition: all 0.5s ease;
}

.contactCol button:hover {
  background-color: #FF4500;
  color: black;
  transform: scale(1.1);
}

/* Scroll Animation */
.scroll-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {

  .c-item{
  height: 60vh;
}

  .homepage h1 {
    font-size: 2rem;
  }

  .homepage p {
    font-size: 1rem;
  }

  #services {
    margin-bottom: 20px;
    padding: 2rem 1rem;
  }

  .serviceCol,
  .beautyCol,
  .charmerCol {
    flex-basis: 100%;
    margin-bottom: 20px;
  }

  .charmerCol p {
    font-size: 0.9rem;
    padding: 0 0.5rem;
    line-height: 1.4;
  }



  #footers {
   font-size: 0.8rem;
  }

  .serviceCol ul li {
    font-size: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}
