@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary-blue: #375EA9;
    --primary-red: #D42114;
    --secondary-green: #008844;
    --ghana-gold: #FCD116;
    --bg-light: #F6F7F8;
    --text-dark: #333333;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, .logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Header */
header {
    background-color: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.logo {
    font-size: 1.8rem;
    color: var(--primary-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--primary-red);
}

.logo-accent {
    width: 20px;
    height: 20px;
    background: linear-gradient(to right, #CE1126, #FCD116, #006B3F);
    border-radius: 50%;
}

.search-bar {
    flex: 1;
    margin: 0 2rem;
    position: relative;
    max-width: 600px;
}

.search-bar input {
    width: 100%;
    padding: 0.8rem 1.5rem;
    border: 2px solid #E5E7EB;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.search-bar input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(55, 94, 169, 0.1);
}

.nav-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-item {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-item:hover {
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    height: 500px;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('assets/hero-banner.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-bottom: 3rem;
}

.hero-content {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    max-width: 800px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #B91C1C;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 33, 20, 0.3);
}

/* Main Content */
.container {
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-title h2 {
    font-size: 2rem;
}

.view-all {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #E5E7EB;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--ghana-gold);
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.8rem;
    color: #6B7280;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-currency {
    font-size: 1rem;
    color: var(--text-dark);
}

.was-price {
    font-size: 0.9rem;
    text-decoration: line-through;
    color: #9CA3AF;
    margin-left: auto;
}

/* Checkout Config Section */
.checkout-config {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 4rem;
    box-shadow: var(--shadow);
}

.config-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.config-section h3 {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.config-options {
    display: grid;
    gap: 1rem;
}

.option-card {
    border: 2px solid #E5E7EB;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.option-card:hover {
    border-color: var(--primary-blue);
    background: rgba(55, 94, 169, 0.05);
}

.option-card.active {
    border-color: var(--primary-blue);
    background: rgba(55, 94, 169, 0.1);
    position: relative;
}

.option-card.active::after {
    content: '✓';
    color: var(--primary-blue);
    font-weight: 700;
}

.option-info strong {
    display: block;
    margin-bottom: 0.2rem;
}

.option-info span {
    font-size: 0.9rem;
    color: #6B7280;
}

/* Footer */
footer {
    background-color: #111827;
    color: var(--white);
    padding: 4rem 5% 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: #9CA3AF;
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #374151;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #9CA3AF;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .config-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .header {
        flex-direction: column;
        gap: 1rem;
    }
    .search-bar {
        margin: 0;
        width: 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
