@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');




/* Reset default margins and paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: 'Poppins', sans-serif; */
    
    /* color: #ffcc99 Dark grey for readability */
}
body{
    background-color: #f3e5f5; 
   
    padding-top: 70px; /* Ensure space below navbar */
}

/* Main container */
.main {
    text-align: center;
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #e6e6fa; /* Lavender */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* LOGO */
.logo {
    font-family: 'Parisienne', cursive;
    font-size: 28px;
    font-weight: bold;
    color: #4a235a; /* Deep Purple */
}

/* NAV LINKS */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: #4a235a;
    font-size: 18px;
    padding: 10px 15px;
    transition: 0.3s;
    border-radius: 5px;
}

.nav-links a:hover {
    background-color: #c39797; /* Rose Gold */
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
}

/* HAMBURGER MENU (PURE CSS) */
#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #4a235a;
}

/* RESPONSIVE DESIGN */
@media screen and (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #e6e6fa;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .nav-links li {
        padding: 10px 0;
    }

    /* Toggle menu when checkbox is checked */
    #menu-toggle:checked ~ .nav-links {
        display: flex;
    }
}

/* dresses */

.cloth-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
}
.cloth-img {
    text-align: center;
    border: 1px solid black;
    padding: 10px;
    width: 220px;
    border-radius: 8px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Hover effect */
.cloth-img:hover {
    transform: scale(1.1) rotate(2deg); /* Slight rotation for a 3D effect */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Stronger shadow */
    border-color: #ff4081; /* Changes border color */
}

/* Image styling */
.cloth-img img {
    height: 300px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Image zoom effect */
.cloth-img:hover img {
    transform: scale(1.1); /* Image slightly zooms in */
}

/* Glow effect */
.cloth-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 64, 129, 0.2); /* Soft pink glow */
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    border-radius: 8px;
}

.cloth-img:hover::before {
    opacity: 1;
}

.price-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4081;
    color: white;
    padding: 5px 12px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Subtle animation on hover */
.cloth-img:hover .price-tag {
    transform: scale(1.1);
    opacity: 0.9;
}
/* add to cart */
.add-to-cart {
    background: #ff4081;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
}

.add-to-cart:hover {
    background: #d81b60;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }
    .products, .cart {
        width: 100%;
    }
}

/* footer */

footer {
    background: #222;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.footer-section {
    max-width: 300px;
}

.footer-section h3 {
    margin-bottom: 10px;
    font-size: 18px;
    border-bottom: 2px solid #ff4081;
    display: inline-block;
    padding-bottom: 5px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 5px 0;
}

.footer-section ul li a {
    color: #900936;
    text-decoration: none;
    transition: 0.3s;
}

.footer-section ul li a:hover {
    color: #ff4081;
}

.social-icons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.social-icons img {
    width: 30px;
    transition: transform 0.3s ease-in-out;
}

.social-icons img:hover {
    transform: scale(1.2);
}

.footer-bottom {
    margin-top: 20px;
    border-top: 1px solid #444;
    padding-top: 10px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}