/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
    --color-bg: #FAFAFA;
    --color-surface: #FFFFFF;
    --color-text: #1A1A1A;
    --color-text-light: #666666;
    --color-primary: #1F1346; /* Taken from the original kikocr.com css */
    --color-accent: #FEA419; /* Warning/orange from original */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-links {
    font-weight: 500;
    color: var(--color-text);
    transition: var(--transition);
    position: relative;
}

.nav-links::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-accent);
    transition: var(--transition);
}

.nav-links:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--color-text);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--color-accent);
    color: #fff;
    box-shadow: 0 4px 15px rgba(254, 164, 25, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(254, 164, 25, 0.6);
}

/* ==========================================================================
   Products Section
   ========================================================================== */
.products-section {
    padding: 100px 0;
    background-color: var(--color-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--color-text-light);
}

/* ==========================================================================
   Filter / Search
   ========================================================================== */
.filter-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.search-input {
    width: 100%;
    max-width: 400px;
    padding: 14px 24px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: var(--transition);
    outline: none;
    box-shadow: var(--shadow-sm);
    background-color: var(--color-surface);
}

.search-input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 4px 15px rgba(254, 164, 25, 0.2);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--color-surface);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.03);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0,0,0,0.08);
}

.product-img-wrapper {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.product-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

.product-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--color-text);
}

.product-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--color-primary);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--color-accent);
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* ==========================================================================
   Animations & Responsiveness
   ========================================================================== */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--color-surface);
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transition: var(--transition);
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: block;
    }

    .nav-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .nav-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
