@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    transition: background-color 0.5s ease, color 0.5s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Section */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.5s ease;
}

header .logo {
    font-size: 24px;
    font-weight: bold;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
}

header .cta {
    background-color: #ff6f61;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* Mobile Navigation */
.nav-links {
    display: flex;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #333;
        position: absolute;
        top: 60px;
        left: 0;
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .hamburger {
        display: block;
    }
}

/* Hero Section */
.hero {
    position: relative;
    background-image: url('image/image (1).jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: burlywood;
    text-align: center;
    padding: 100px 20px;
    overflow: hidden; /* Ensure the pseudo-element does not overflow */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    z-index: -1; /* Ensure the pseudo-element is behind the content */
}

.hero h1 {
    position: relative;
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInDown 1.5s ease-out;
    color: #ccc; /* Ensure text color is white */
}

.hero p {
    position: relative;
    font-size: 24px;
    margin-bottom: 40px;
    animation: fadeInUp 1.5s ease-out;
    color: #ccc; /* Ensure text color is white */
}

.hero .cta {
    position: relative;
    background-color: #ff6f61;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    cursor: pointer;
    animation: fadeIn 2s ease-out;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Sections */
section {
    padding: 60px 20px;
    text-align: center;
}

section h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

/* Service Cards */
.service-cards, .testimonial-cards, .blog-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.card {
    background-color: #f4f4f4;
    padding: 20px;
    margin: 10px;
    width: 30%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.card p {
    font-size: 16px;
    color: #666;
}

/* Why Choose Us Section */
.why-choose-us .reasons {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.reason {
    width: 20%;
    text-align: center;
}

.reason i {
    transition: transform 0.3s ease, color 0.3s ease;
}

.reason:hover i {
    transform: rotate(360deg);
    color: #ff6f61;
}

/* Testimonials Section */
.testimonials .swiper-container {
    width: 100%;
    padding: 20px;
}

.testimonials .swiper-slide {
    background-color: #f4f4f4;
    padding: 20px;
    text-align: center;
}

/* Blog Section */
.blog-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.blog-cards .card {
    background-color: #f4f4f4;
    padding: 20px;
    margin: 10px;
    width: 30%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-cards .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.blog-cards .card img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.blog-cards .card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.blog-cards .card p {
    font-size: 16px;
    color: #666;
}

/* Contact Section */
.contact form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact form input, .contact form textarea {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
}

.contact form button {
    background-color: #ff6f61;
    color: #fff;
    border: none;
    padding: 15px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-info {
    margin-top: 20px;
}

/* Booking Section */
.booking {
    padding: 60px 20px;
    text-align: center;
}

.booking h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.booking form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.booking form input,
.booking form textarea,
.booking form select {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
}

.booking form button {
    background-color: #ff6f61;
    color: #fff;
    border: none;
    padding: 15px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clothes-section {
    width: 100%;
    max-width: 500px;
    margin: 20px 0;
}

.clothes-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.clothes-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.clothes-item input,
.clothes-item select {
    margin-bottom: 10px;
}

/* Footer Section */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
    transition: background-color 0.5s ease;
}

footer .quick-links {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

footer .quick-links li {
    margin: 0 15px;
}

footer .quick-links li a {
    color: #fff;
    text-decoration: none;
}

footer .social-media i {
    font-size: 24px;
    margin: 0 10px;
    color: #fff;
}

/* Back to Top Button */
#back-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ff6f61;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
    transition: background-color 0.3s ease;
    z-index: 1000;
}

#back-to-top:hover {
    background-color: #333;
}

/* Loading Animation */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: hideLoading 2s forwards;
}

.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #ff6f61;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes hideLoading {
    0% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}

/* Dark Mode */
body.dark-mode {
    background-color: #333;
    color: #fff;
}

body.dark-mode header {
    background-color: #222;
}

body.dark-mode .card {
    background-color: #444;
    color: #fff;
}

/* Dark Mode Toggle Button */
#theme-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}

body.dark-mode #theme-toggle {
    color: #ff6f61;
}

@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .service-cards, .testimonial-cards, .blog-cards {
        flex-direction: column;
    }
    
    .card {
        width: 100%;
    }
    
    .why-choose-us .reasons {
        flex-direction: column;
    }
    
    .reason {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    #back-to-top {
        bottom: 10px;
        right: 10px;
        padding: 8px 12px;
        font-size: 16px;
    }

    .blog-cards {
        flex-direction: column;
        align-items: center;
    }

    .blog-cards .card {
        width: 100%;
        margin-bottom: 20px;
    }
}