/* Reset margins, paddings, and box sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
    /* Global font */
}

body {
    background-color: #fff8f4;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 50px;
}

/* Nav links */
.nav-center .nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-links li a:hover {
    color: #d96d6f;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #d96d6f;
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

/* Cart */
.nav-cart {
    position: relative;
}

.cart-link {
    color: #333;
    text-decoration: none;
    font-size: 1.5rem;
    position: relative;
}

.cart-count {
    background-color: #d96d6f;
    color: white;
    font-size: 0.8rem;
    border-radius: 50%;
    padding: 2px 7px;
    position: absolute;
    top: -10px;
    right: -10px;
}

/* Footer */
.footer {
    background-color: #fff;
    padding: 30px 40px;
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links ul {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 0;
}

.footer-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #d96d6f;
}

.footer-logo img {
    height: 40px;
}

.footer-socials {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: #333;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.footer-socials a:hover {
    color: #d96d6f;
}

/* About Section */
.about-section {
    background-color: #fff;
    padding: 60px 40px;
    display: flex;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
}

.about-wrapper {
    display: flex;
    max-width: 1200px;
    width: 100%;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    color: #333;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #d96d6f;
}

.about-text p {
    font-size: 18px;
    line-height: 1.6;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: 600px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    object-fit: cover;
}

@media (max-width: 600px) {

    /* Make about-wrapper vertical and reverse order */
    .about-wrapper {
        display: flex !important;
        flex-direction: column-reverse !important;
        /* image at bottom */
        width: 100% !important;
        gap: 20px !important;
    }

    /* Full width text and image */
    .about-text,
    .about-image {
        width: 100% !important;
    }

    /* Image styling */
    .about-image img {
        width: 100% !important;
        height: auto !important;
        max-height: 300px !important;
        border-radius: 12px !important;
        object-fit: cover !important;
    }
}