html {
    scroll-behavior: smooth;
}
body {

    font-family: 'Roboto', sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8; 
}

header {
    background-color: #1e3a8a;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav li {
    margin-left: 1.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

nav a i {
    margin-right: 0.5rem;
}

nav a:hover {
    color: #ddd;
}

.cart a {
    font-weight: 500;
}

.cart i {
    margin-right: 0.5rem;
}

#hero {
    background-color: #2e5cb8;
    color: white;
    text-align: center;
    padding: 8rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn i {
    margin-right: 0.5rem;
}

.btn-primary {
    background-color: #000; 
    color: #fff;
}

.btn-primary:hover {
    background-color: #333;
}

.btn-secondary {
    background-color: #1e3a8a; 
    color: white;
}

.btn-secondary:hover {
    background-color: #3b5998; 
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    padding: 4rem 0;
    color: #1e3a8a; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-title i {
    margin-right: 0.5rem;
}

#shop, #about, #contact {
    padding: 4rem 2rem;
    background-color: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
}

.product-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 5px;
}

.product-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #222;
}

.product-card .price {
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.product-card button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.product-card .btn-secondary {
    background-color: #1e3a8a;
    color: white;
}

.product-card .btn-secondary i {
    margin-right: 0.5rem;
}

.product-card .btn-secondary:hover {
    background-color: #3b5998;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-icon {
    flex-shrink: 0;
    font-size: 5rem;
    color: #1e3a8a; 
}

.about-text {
    flex: 1;
    text-align: left;
}

.about-text p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #555;
}

.contact-details {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-details p {
    margin-bottom: 0.75rem;
}

.contact-details i {
    margin-right: 0.5rem;
    color: #1e3a8a; 
}

.social-links {
    text-align: center;
    margin-top: 2rem;
}

.social-links a {
    display: inline-block;
    font-size: 2rem;
    color: #1e3a8a; 
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3b5998;
}

footer {
    background-color: #000; 
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    nav {
        text-align: center;
        margin-top: 1rem;
    }

    nav ul {
        flex-direction: column;
        padding: 0;
    }

    nav li {
        margin: 0.5rem 0;
    }

    .about-container {
        flex-direction: column;
    }

    .about-text {
        text-align: left;
    }
}