@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #ff3d3d;
    --primary-dark: #d90429;
    --secondary: #0f172a;
    --bg: #f8fafc;
    --card: rgba(255, 255, 255, 0.92);
    --text: #0f172a;
    --muted: #64748b;
    --shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    --radius: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background:
        radial-gradient(circle at top right, rgba(255, 61, 61, 0.08), transparent 35%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: var(--text);
    line-height: 1.7;
}

/* CONTAINER */
.container {
    width: min(90%, 1200px);
    margin: auto;
}

/* HEADER */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.logo span {
    background: linear-gradient(135deg, #ff3d3d, #ff9f1c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
}

nav ul li a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: 0.3s;
}

nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff3d3d, #ff9f1c);
    transition: 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.cart-btn,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff3d3d, #ff9f1c);
    color: #fff;
    padding: 12px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 12px 24px rgba(255, 61, 61, 0.28);
    transition: all 0.3s ease;
}

.cart-btn:hover,
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(255, 61, 61, 0.35);
}

/* HERO */
.hero {
    min-height: 95vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 120px 20px 80px;
    background:
        linear-gradient(rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.88)),
        url("images/banner.jpg") center/cover no-repeat;
}

.hero-content {
    max-width: 820px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.1rem;
    opacity: 0.92;
    margin-bottom: 36px;
}

/* SECTION TITLE */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 56px;
    letter-spacing: -1px;
}

/* PRODUCTS */
.products {
    padding: 100px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.product-card {
    background: var(--card);
    backdrop-filter: blur(12px);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 28px 50px rgba(15, 23, 42, 0.16);
}

.product-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.08);
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.brand {
    color: var(--muted);
    margin-bottom: 12px;
}

.rating {
    margin-bottom: 12px;
    font-size: 1rem;
}

.price {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 18px;
}

.product-info button {
    width: 100%;
    border: none;
    cursor: pointer;
    padding: 14px;
    border-radius: 14px;
    font-family: inherit;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    transition: all 0.3s ease;
}

.product-info button:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ff3d3d, #ff9f1c);
}

/* ABOUT & CONTACT */
.about,
.contact {
    padding: 100px 0;
    text-align: center;
    background: #ffffff;
}

.about p,
.contact p {
    max-width: 820px;
    margin: 12px auto;
    font-size: 1.05rem;
    color: var(--muted);
}

/* FOOTER */
footer {
    background: #0f172a;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 28px 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 16px;
        padding: 16px 0;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .cart-btn {
        padding: 10px 20px;
    }

    .products,
    .about,
    .contact {
        padding: 72px 0;
    }

    .product-card img {
        height: 220px;
    }
}