/* Global Reset & Font */
*{
  margin: 0;
  padding: 0;
  font-family: 'Smooch Sans', sans-serif;
}


.logo {
  position: relative;
  z-index: 2; 
}


.c-item{
  height: 90vh;
}


.c-img{
  height: 100%;
  width: 100%;
  object-fit:cover;
  aspect-ratio: 16/9;
  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: black;
    background-image: url(../images/Queens\ Logo.png);
    background-size: 70px;
    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 h2 {
  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;
    
}


/* Footer */
#footers {
   background-color: rgb(23, 23, 15);
    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);
}

/* Scroll to Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
  background-color: rgb(110, 109, 32);
  color: white;
  padding: 12px 14px;
  border-radius: 50%;
  font-size: 18px;
  text-align: center;
  display: none;
  transition: opacity 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: rgb(85, 84, 25);
  cursor: pointer;
}





/* 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;
  }
}
