/* General Styles */
body {
    margin: 0;
    font-family: 'Arial', sans-serif; /* Use a clean, modern font */
    margin: 0 20px; /* Adds 20px margin to the left and right */
}

/* Navbar Styles */
.navbar {
    background: linear-gradient(135deg, #a7145e, #d61f81); /* Gradient background */
    color: white;
    padding: 10px 20px;
    position: sticky; /* Sticky navbar */
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    z-index: 1000;
    border-bottom: 2px solid #d61f81; /* Underline border */
}

.logo img {
    height: 60px;
    transition: transform 0.3s ease; /* Smooth logo animation */
    margin-left: 20px;
}

.logo img:hover {
    transform: scale(1.1); /* Enlarge logo on hover */
}

.toggle-button {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
}

.toggle-button:hover {
    color: #f9f9f9; /* Lighter color on hover */
}

/* Main Nav Menu Styles */
.nav-search {
    flex-grow: 1;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.nav-menu > .nav-item {
    position: relative;
}

.nav-menu a {
    color: white;
    font-weight: bold;
    padding: 8px 18px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 4px; /* Rounded corners */
}

.nav-menu a:hover,
.nav-menu .nav-item:hover > a {
    background-color: #d61f81; /* Darker pink for hover */
    color: #fff;
}

/* Submenu Styles */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(135deg, #a9125e, #d61f81); /* Gradient background for submenu */
    padding: 0;
    margin: 0;
    list-style: none;
    color: white;
    font-weight: bold;
    border-radius: 4px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow for depth */
    opacity: 0; /* Start as invisible */
    visibility: hidden; /* Hide submenu initially */
    transition: opacity 0.3s ease, visibility 0.3s ease; /* Smooth transitions */
}

.submenu.show {
    display: block;
    opacity: 1; /* Fade-in effect */
    visibility: visible; /* Ensure visibility */
}

.submenu li {
    padding: 0;
}

.submenu a {
    padding: 10px 20px;
    display: block;
    font-size: 16px;
    font-weight: bold;
    width: 10rem;
    transition: background-color 0.3s ease;
    border-radius: 4px; /* Rounded corners */
}

.submenu a:hover {
    background-color: #d61f81; /* Darker pink for submenu item hover */
}

/* Search Bar Styles */
.search-container {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    position: relative; /* For positioning the search icon */
}

form {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
    padding: 0;
    position: relative; /* For positioning the search icon */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Shadow for input field */
    transition: box-shadow 0.3s ease; /* Smooth shadow transition */
}

input[type="text"] {
    border: none;
    padding: 10px 40px 10px 10px; /* Adjust padding for icon */
    font-size: 16px;
    border-radius: 4px; /* Rounded corners */
    transition: border-color 0.3s ease; /* Smooth border transition */
}

input[type="text"]:focus {
    outline: none;
    border-color: #d61f81; /* Highlight border color */
    box-shadow: 0 0 5px rgba(214, 31, 129, 0.5); /* Shadow for focus state */
}

.one {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    position: absolute; /* For positioning the icon inside the button */
    right: 10px; /* Adjust to right side of input */
    display: flex;
    align-items: center;
}

button img {
    width: 24px; /* Adjust the size as needed */
    height: auto;
}

/* Cart Icon Styles */
.cart img {
    color: white;
    height: 60px;
    transition: transform 0.3s ease; /* Smooth cart icon animation */
}

.cart img:hover {
    transform: scale(1.1); /* Enlarge cart icon on hover */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-menu {
        width: 100%;
    }

    .nav-menu .nav-item {
        width: 100%;
    }

    .search-container {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .nav-menu.active {
        display: flex;
    }

    .submenu {
        position: static;
        display: none;
    }

    .nav-item.active .submenu {
        display: block;
    }

    .toggle-button {
        display: block;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo img {
        height: 50px;
    }

    .cart img {
        height: 50px;
    }

    form {
        width: 100%;
    }

    input[type="text"] {
        font-size: 14px;
    }

    button img {
        width: 20px; /* Adjust the size as needed for mobile */
    }
}

@media (max-width: 480px) {
    .nav-menu a {
        font-size: 14px;
        padding: 12px;
    }

    .search-container {
        padding: 10px;
    }

    input[type="text"] {
        font-size: 12px;
        padding: 8px;
    }

    button img {
        width: 18px; /* Further reduce size for very small screens */
    }
}


/* Base styles */
.main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
}

.slider {
    position: relative;
    max-width: 1200px; /* Increased max-width for the slider */
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 10px; /* Rounded corners for the slider */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slides img {
    width: 100%; /* Make the images fill the slider width */
    height: auto;
    flex-shrink: 0; /* Prevent shrinking */
}

/* Button styles */
button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    padding: 12px;
    cursor: pointer;
    z-index: 1000;
    font-size: 24px;
    background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent white background */
    color: #ff007f; /* Pink color for the buttons */
    border-radius: 50%; /* Circular buttons */
    transition: background-color 0.3s, color 0.3s; /* Smooth transitions */
}

/* Navigation buttons */
.prev {
    left: 15px;
}

.next {
    right: 15px;
}

/* Button hover effects */
button:hover {
    background-color: rgba(255, 255, 255, 0.9); /* Slightly more opaque on hover */
    color: #ff0055; /* Darker pink color on hover */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .slider {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .slider {
        max-width: 100%;
    }
    
    button {
        padding: 10px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    button {
        padding: 8px;
        font-size: 18px;
    }
}
/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* Base styles */
body {
    font-family: 'Roboto', sans-serif; /* Apply Google Font */
    padding: 0;
    box-sizing: border-box;
}

/* Shop Section */
.shop-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px; /* Space between items */
    padding: 20px; /* Padding for spacing */
    background: rgba(226, 231, 230, 0.7); /* Light transparent background */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Increased shadow for depth */
    backdrop-filter: blur(8px); /* Blurred background effect */
    border-radius: 12px; /* Rounded corners for the grid container */
}

/* Box styling */
.box {
    border: 2px solid rgba(0, 0, 0, 0.3); /* Transparent border */
    border-radius: 12px; /* Rounded corners */
    padding: 20px;
    color: darkred;
    text-align: center;
    box-sizing: border-box; /* Includes padding and border in the width */
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease; /* Smooth hover effects */
    overflow: hidden; /* Prevents content overflow */
    background: rgba(255, 255, 255, 0.9); /* Light transparent background */
}

/* Box hover effects */
.box:hover {
    transform: scale(1.05); /* Slightly enlarge on hover */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3); /* Deeper shadow on hover */
    background: rgba(251, 213, 217, 0.8); /* Slightly lighter background on hover */
}

/* Image box styling */
.img-box {
    height: 200px; /* Consistent height for images */
    background-size: cover;
    background-position: center; /* Center the background image */
    margin-bottom: 10px; /* Space below image */
    border-radius: 12px; /* Rounded corners for images */
    transition: transform 0.3s ease, filter 0.3s ease; /* Smooth scale effect */
    filter: grayscale(50%); /* Add grayscale filter for a modern look */
}

/* Image box hover effect */
.box:hover .img-box {
    transform: scale(1.05); /* Slightly enlarge image on box hover */
    filter: grayscale(0%); /* Remove grayscale filter on hover */
}

/* Box content styling */
.box-content {
    margin: 0 auto; /* Center content inside box */
}

.box-content p {
    color: darkblue;
    font-size: 1rem; /* Base font size */
    margin: 0; /* Remove default margins */
    line-height: 1.5; /* Improve readability */
    transition: color 0.3s ease; /* Smooth color transition */
}

/* Box hover text color */
.box:hover .box-content p {
    color: #e91e63; /* Change text color on hover */
}

/* Heading styling */
.heading {
    font-size: 2.5rem; /* Larger font size */
    margin: 0;
    color: rgb(39, 4, 34);
    padding: 20px; /* Padding for spacing */
    font-family: 'Roboto', sans-serif; /* Modern font family */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* Enhanced text shadow */
    background: linear-gradient(45deg, rgba(255, 105, 135, 0.7), rgba(255, 204, 203, 0.7)); /* Gradient background */
    border-radius: 8px; /* Rounded corners for heading background */
}

/* Responsive adjustments for heading */
@media (max-width: 768px) {
    .heading {
        font-size: 2rem; /* Smaller font size for tablets */
    }
}

@media (max-width: 480px) {
    .heading {
        font-size: 1.5rem; /* Even smaller font size for mobile */
    }
}

/* Container styling */
.container {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Horizontally center content */
    align-items: center; /* Vertically center content */
    text-align: center; /* Center text inside heading */
    padding: 20px; /* Padding for spacing */
}

/* Section styling */
.middle {
    width: 100%; /* Full width for the section */
    min-height: 100vh; /* Ensure section takes up the full height of the viewport */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    background: rgba(247, 247, 247, 0.9); /* Transparent background color */
    border-radius: 12px; /* Rounded corners for the section */
}

/* Course styling */
.course {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers the entire content horizontally */
    align-items: center; /* Centers the entire content vertically */
    padding: 20px;
    background: rgba(247, 247, 247, 0.9); /* Transparent background color */
    width: 100%; /* Full width for container */
    border-radius: 12px; /* Rounded corners for the course section */
}

/* Text section styling */
.text-section {
    flex: 1;
    max-width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically centers the text content */
    align-items: center; /* Center align text content */
    text-align: center; /* Center text inside the section */
}

.text-section h2 {
    color: #e91e63;
    font-size: 2rem; /* Larger font size */
    margin-bottom: 10px;
    font-family: 'Roboto', sans-serif; /* Modern font family */
    font-weight: bold; /* Bold text */
    background: linear-gradient(45deg, rgba(255, 105, 135, 0.7), rgba(255, 204, 203, 0.7)); /* Gradient background */
    padding: 10px;
    border-radius: 8px; /* Rounded corners for heading background */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
}

/* Text section list styling */
.text-section ul {
    list-style-type: none;
    padding: 0;
    margin: 0; /* Removes default margin */
}

.text-section ul li {
    font-size: 1.2rem; /* Larger font size */
    color: #333;
    margin-bottom: 8px;
    display: flex;
    align-items: center; /* Vertically center list items */
}

.text-section ul li .arrow {
    margin-right: 8px;
    color: #e91e63;
    font-size: 1.5rem; /* Larger arrow size */
}

/* Image section styling */
.image-section {
    flex: 1;
    max-width: 100%;
    padding: 20px;
    display: flex;
    align-items: center; /* Vertically centers the image */
    justify-content: center; /* Center the image */
}

.image-section img {
    width: 100%; /* Responsive image width */
    max-width: 400px; /* Max width for larger screens */
    height: auto; /* Maintain aspect ratio */
    border-radius: 12px; /* More rounded corners for the image */
    transition: transform 0.3s ease, filter 0.3s ease; /* Smooth scale effect */
    filter: brightness(90%); /* Slightly dim image for a modern look */
}

/* Image section hover effect */
.image-section img:hover {
    transform: scale(1.05); /* Slightly enlarge image on hover */
    filter: brightness(100%); /* Remove dim effect on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .shop-section {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .text-section, .image-section {
        max-width: 100%;
        padding: 10px; /* Reduced padding on smaller screens */
    }

    .text-section ul li {
        font-size: 1rem; /* Smaller font size */
    }
}

@media (max-width: 480px) {
    .text-section h2 {
        font-size: 1.5rem; /* Smaller font size */
    }

    .text-section ul li {
        font-size: 0.9rem; /* Smaller font size */
    }

    .image-section img {
        max-width: 100%; /* Ensure image fits within container */
    }
}



/* Basic styling for the footer */
footer {
    background-color: #8a063b;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Basic styles for the footer and logo */
.footer-logo {
    text-align: center; /* Center the logo horizontally */
    padding: 10px; /* Add padding around the logo */
}

.footer-logo img {
    max-width: 100%; /* Ensure the logo scales down within its container */
    height: auto; /* Maintain aspect ratio */
    display: inline-block; /* Prevent the image from being treated as a block element */
}

/* Styles for large screens */
@media (min-width: 1024px) {
    .footer-logo img {
        max-width: 200px; /* Larger logo size for larger screens */
    }
}

/* Styles for medium screens (tablets and small desktops) */
@media (min-width: 768px) and (max-width: 1023px) {
    .footer-logo img {
        max-width: 150px; /* Medium logo size */
    }
}

/* Styles for small screens (mobile devices) */
@media (max-width: 767px) {
    .footer-logo {
        padding: 5px; /* Reduce padding for smaller screens */
    }

    .footer-logo img {
        max-width: 100px; /* Smaller logo size for mobile screens */
    }
}


.footer-nav ul {
    list-style-type: none;
    padding: 0;
    margin: 10px 0;
}

.footer-nav ul li {
    display: inline;
    margin: 0 15px;
}

.footer-nav ul li a {
    color: #fff;
    text-decoration: none;
}

.footer-social a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}

.footer-bottom {
    margin-top: 20px;
    font-size: 0.8em;
}

/* Responsive styling */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }

    .footer-nav ul {
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    .footer-nav ul li {
        margin: 5px 0;
    }

    .footer-social a {
        display: block;
        margin: 5px 0;
    }
}
