@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Open+Sans:wght@400&display=swap');


/* Scrollbar Styling for Webkit Browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
    border-radius: 10px; 

  }
  
  ::-webkit-scrollbar-track {
    background-color: #cececeaf; /* Background color */
    border-radius: 10px; 

  }
  
  ::-webkit-scrollbar-thumb {
    background-color: #778cb4; 
    border-radius: 10px; 
    
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background-color: #cececeaf; 
    border-radius: 10px; 

  }
  
  /* For Firefox */
  * {
    scrollbar-width: thick;
    scrollbar-color: #778cb4 #cececeaf;
    border-radius: 10px; 

}



body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background: #f9f5f0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 35px;
    background-color: #f9f5f0;
}


.nav-links a {
    position: relative;
    color: #3d2c1e;
    text-decoration: none;
    font-size: 20px;
    padding: 8px 60px; /* Adjust padding to prevent excessive spacing */

}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #778cb4;
    transition: width 0.3s ease-in-out;
    transform: translateX(-50%); /* Centers the underline */
    border-radius: 20px;
}

.nav-links a:hover::after {
    width: 40%; /* Adjust this for a smaller underline */
}

.logo img {
    height: 70px;
    transition: all 0.3s ease-in-out; 
}

.logo img:hover{
    transform: translateY(-5px); 
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 30px 30px 30px;
    max-width: 1000px;
    margin: auto;
}

.hero-content {
    max-width: 500px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #3d2c1e;
    transition: color 0.3s ease-in-out;
    z-index: 1;
}

.hero-content h1:hover {
    color: #778cb4;
}

.hero-content p {
    color: #6b5b4e;
    line-height: 1.6;
}

.hero-btn {
    background: #3d2c1e;
    color: white;
    padding: 10px 20px;
    border: none;
    margin-top: 10px;
    font-size: 16px;
    border-radius: 0px 20px 0px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    transition: all 0.3s ease-in-out; /* Smooth transition for hover effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-btn:hover {
    background-color: #778cb4;
    transform: translateY(-5px); 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); 
}

.hero-image{
    position: relative;
    display: inline-block;
}

.hero-image img {
    max-width: 350px;
    border-radius:40px 0px 40px 0px;
}


/* Service Info CSS*/

.info {
    align-items: center;
    text-align: center;
    padding: 30px 30px 0px 30px;
    max-width: 1000px;
    margin: auto;
    max-width: 500px;
}

.info h1 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #3d2c1e;
    transition: color 0.3s ease-in-out;
}

.info h1:hover {
    color: #778cb4;
}

.info p {
    color: #6b5b4e;
    line-height: 1.6;
}




/* Service Boxes */

.services {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-rows: minmax(100px, auto);
    grid-gap: 1em;
    justify-items: stretch;
    align-items: stretch;   
    max-width: 1050px;
    margin: 50px auto;   
}

.services > div {
    text-align: center;
    padding: 1em;
    border-radius:  20px;
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.1); 
    transition: all 0.3s ease-in-out; /* Smooth transition for hover effect */
    background-color: #e6d8c82d;
}

.services > div:hover {
    transform: translateY(-8px); 
    box-shadow: 0 16px 16px rgba(0, 0, 0, 0.2); 
}

.services > div h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;  /* Reduced for a more balanced look */
    color: #5C4B3D;
    padding: 0px;
    margin: 3px;
}

.services > div p {
    color: #584739;  /* Softer brown for better harmony */
    font-size: 14px;
    line-height: 1.6; /* Adjusted for readability */
    margin-bottom: 0;
}

.services > div:hover h3 {
    color: #778cb4; /* Changes color on hover */
}

.price-list {
    list-style: none; /* Removes default bullets */
    padding: 0;
    margin: 0;
}

.price-list li {
    font-size: 16px ;
    color: #5C4B3D; 
    padding: 10px 15px;
    margin: 5px 0;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

.price-list li:hover {
    color: #778cb4; 
    transform: translateY(-2px);

}


.box1 {
    grid-column: 1/2;
    grid-row: 1/2;
}

.box2 {
    grid-column: 3;
    grid-row: 1/3;
    
}

.box4 {
    grid-column: 1/3;
    grid-row: 2;
}



/* Footer*/


footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 90px 30px;
    max-width: 800px;
    margin: auto;
    margin-top: 60px ;
}

footer p {
    font-size: 16px;
    line-height: 1.6;
}

.footer-info p {
    color: #6b5b4e;
    line-height: 1.6;
}

.footer-info h1 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #3d2c1e;
    transition: color 0.3s ease-in-out;
    margin-top: 0px;
}

.footer-info h1:hover {
    color: #778cb4;
}

.footer-image {
    position: relative;
    display: inline-block;
}

.footer-image img {
    max-width: 400px;
    border-radius: 40px 0px 40px 0px;
    transition: all 0.3s ease-in-out; 
}

.footer img:hover{
    transform: translateY(-5px); 
}



/*Nav Bar*/

@media (max-width: 1024px) {
    .navbar {
        padding: 15px 25px;
    }

    .logo img {
        height: 60px;
    }

    .nav-links a {
        font-size: 18px;
        padding: 8px 40px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 15px;
    }

    .logo img {
        height: 50px;
    }

    .nav-links a {
        font-size: 16px;
        padding: 5px 20px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 5px 10px;
    }

    .logo img {
        height: 40px;
    }

    .nav-links a {
        font-size: 14px;
        padding: 5px 10px;
    }
}

@media (max-width: 350px){
    .logo img {
        height: 30px;
    }

    .nav-links a {
        font-size: 12px;
        padding: 5px 10px;
    }
}



/*Hero Section*/

@media (max-width: 1024px) {
    .hero {
        max-width: 90%;
        padding: 20px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-image img {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-btn {
        font-size: 14px;
        padding: 8px 16px;
        margin-bottom: 20px;
    }

    .hero-image img {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 15px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-btn {
        font-size: 12px;
        padding: 6px 12px;
        margin-bottom: 20px;
    }

    .hero-image img {
        max-width: 200px;
    }
}


/* Services Section*/

@media (max-width: 1024px) {
    .services {
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
        max-width: 90%;
    }

    .box1, .box2, .box4 {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    .services {
        grid-template-columns: 1fr; /* 1 column */
        text-align: center;
        padding: 0 15px;
    }

    .services > div {
        padding: 15px;
    }

    .services > div h3 {
        font-size: 20px;
    }

    .services > div p {
        font-size: 13px;
    }

    .info h1 {
        font-size: 28px;
    }

    .info p {
        font-size: 16px;
    }

    .price-list li {
        font-size: 13px; /* Slightly smaller for tablets */
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .services {
        padding: 0 10px;
    }

    .services > div {
        padding: 10px;
    }

    .services > div h3 {
        font-size: 18px;
    }

    .services > div p {
        font-size: 12px;
    }

    .info h1 {
        font-size: 22px;
    }

    .info p {
        font-size: 14px;
    }

    .price-list li {
        font-size: 12px; /* Even smaller for mobile */
        padding: 5px 8px;
    }
}



/*Footer*/

@media (max-width: 1024px) {
    footer {
        max-width: 90%;
        padding: 40px 20px;
    }

    .footer-info h1 {
        font-size: 28px;
    }

    .footer-image img {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    footer {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .footer-info h1 {
        font-size: 26px;
    }

    .footer-info p {
        font-size: 15px;
    }

    .footer-image img {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 20px 15px;
    }

    .footer-info h1 {
        font-size: 22px;
    }

    .footer-info p {
        font-size: 14px;
    }

    .footer-image img {
        max-width: 200px;
    }
}
