/* Coding with OnesPro */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #0056b3;
    color: #fff;
    padding: 1rem 0;
}

header h1 {
    font-size: 2rem;
}

/* Flex container for header */
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Nav styles */
nav {
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ffcc00;
}

/* Menu Toggle (Hamburger) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive Styling */
@media (max-width: 768px) {
    nav {
        display: none;
        width: 100%;
        background-color: #0056b3;
        padding: 10px 0;
        position: relative;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        margin: 0;
    }

    nav ul li {
        width: 100%;
        padding: 10px 20px;
        border-top: 1px solid #fff;
    }
   
    .menu-toggle {
        display: flex;
    }
}



/* Hero Section */
.hero {
    background: url('hero-image.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero-content {
    max-width: 600px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .hero-content {
        margin: 0 10px; /* Adds a 10px margin on the left and right */
        /* Alternatively, use padding if you prefer internal spacing */
        /* padding: 0 10px; */
    }
}


.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #ffcc00;
    color: #0056b3;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
    color: #fff;
}

/* Featured Collections */
.featured-collections {
    padding: 2rem 0;
    background-color: #fff;
    text-align: center;
}

.featured-collections h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.collections {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.collection {
    background-color: #f1f1f1;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.collection:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.collection img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.collection h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.collection p {
    font-size: 1rem;
    color: #555;
}

/* About Us */
.about-us {
    padding: 2rem 0;
    background-color: #e9ecef;
    text-align: center;
}

.about-us h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-us .about-content {
    display: flex;
    align-items: center;
    justify-content: center; /* Center align the content */
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.about-us .about-text {
    flex: 1 1 300px;
    text-align: left;
}

.about-us .about-text p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #555;
}

.about-us .about-image {
    flex: 1 1 200px; /* Adjusted flex-basis to 200px */
    max-width: 220px; /* Reduced maximum width */
    text-align: center;
}

.about-us .about-image img {
    width: 100%; /* Ensures the image fills the container */
    height: auto; /* Maintains the aspect ratio */
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


.about-us .btn {
    background-color: #0056b3;
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .about-us .about-content {
        flex-direction: column;
        text-align: center;
        margin: 0 15px; /* Adds spacing on left and right */
    }

    .about-us .about-text {
        text-align: center;
    }

    .about-us .about-image {
        max-width: 100%;
    }
}



/* Testimonials */
.testimonials {
    padding: 2rem 0;
    background-color: #fff;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.testimonial {
    margin-bottom: 1.5rem;
}

.testimonial p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.testimonial h4 {
    font-size: 1rem;
    color: #888;
}

/* Newsletter */
.newsletter {
    padding: 2rem 0;
    background-color: #f1f1f1;
    text-align: center;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #555;
}

.newsletter form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter input {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border: 2px solid #0056b3;
    border-radius: 5px;
    width: 300px;
}

.newsletter button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    background-color: #0056b3;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter button:hover {
    background-color: #ffcc00;
    color: #0056b3;
}

/* Footer */
footer {
    background-color: #0056b3;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

footer p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.social-media {
    margin-top: 1rem;
}

.social-media a {
    margin: 0 15px;
    color: #fff;
    text-decoration: none;
    font-size: 2rem;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #ffcc00;
}

.social-media i {
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.social-media a:hover i {
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1,
    nav {
        float: none;
        text-align: center;
    }

    nav ul {
        padding-top: 10px;
    }

    .collections {
        grid-template-columns: 1fr;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .collection h3 {
        font-size: 1.2rem;
    }

    .newsletter input {
        width: 100%;
    }
}
/* "Powered by OnesPro Developers" */
footer a {
    color: #ffeb3b;
    text-decoration: none;
    font-weight: bold;
    margin-top: 5px;
}

footer a:hover {
    color: #ffd700;
}
