/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* VARIABLES (Corporate Palette) */
:root {
    --primary: #C89B3C; /* premium gold */
    --secondary: #1F3A5F; /* deep corporate blue */
    --accent: #8B5E3C; /* bakery brown */
    --dark: #1a1a1a;
    --light: #f4f6f9;
    --white: #ffffff;
}

/* BODY */
body {
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

/* NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    background: var(--white);
    padding: 18px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 1px;
}

.nav-links a {
    margin-left: 25px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    position: relative;
    transition: 0.3s;
}

    /* underline hover effect */
    .nav-links a::after {
        content: "";
        position: absolute;
        width: 0%;
        height: 2px;
        bottom: -5px;
        left: 0;
        background: var(--primary);
        transition: 0.3s;
    }

    .nav-links a:hover::after {
        width: 100%;
    }

    .nav-links a:hover {
        color: var(--secondary);
    }

/* BUTTONS */
.btn {
    padding: 12px 22px;
    border: none;
    cursor: pointer;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

    .btn-primary:hover {
        background: #b68a2f;
        transform: translateY(-2px);
    }

.btn-secondary {
    background: var(--secondary);
    color: white;
}

    .btn-secondary:hover {
        background: #162c49;
    }

/* HERO */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 60px;
    background: linear-gradient(to right, #ffffff, #f8f9fb);
}

.hero-text h1 {
    font-size: 48px;
    color: var(--secondary);
    font-weight: 700;
}

.hero-text p {
    margin: 20px 0;
    font-size: 18px;
    color: #555;
}

.hero img {
    width: 420px;
    border-radius: 12px;
}

/* PRODUCTS */
.products {
    padding: 60px;
}

    .products h2 {
        margin-bottom: 30px;
        color: var(--secondary);
        font-size: 28px;
    }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

/* CARD */
.card {
    background: white;
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

    .card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 35px rgba(0,0,0,0.08);
    }

    .card img {
        width: 100%;
        border-radius: 10px;
    }

    .card h3 {
        margin: 12px 0;
        font-size: 18px;
    }

.price {
    color: var(--accent);
    font-weight: bold;
    font-size: 16px;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 25px;
    background: var(--secondary);
    color: white;
    margin-top: 50px;
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 50px 20px;
    }

        .hero img {
            margin-top: 20px;
            width: 260px;
        }
}
/* HAMBURGER */
.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background: white;
        display: none;
        flex-direction: column;
        text-align: center;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

        .nav-links a {
            padding: 15px;
            display: block;
            border-bottom: 1px solid #eee;
            margin: 0;
        }

        .nav-links.active {
            display: flex;
        }
}
