/* assets/css/style.css */

:root {
    --color-bg: #1A1A1A;
    --color-text: #FFFFFF;
    --color-text-muted: rgba(255, 255, 255, 0.6);
    --color-accent: #F5A623;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'DM Sans', sans-serif;
}

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

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-text);
}

.logo img {
    height: 40px;
    width: auto;
}

.logo span {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    font-weight: 700;
}

nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.3s, color 0.3s;
}

.nav-link:hover {
    opacity: 1;
    color: var(--color-accent);
}

/* Hero */
.hero {
    padding: 8rem 2rem 3rem;
    text-align: center;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero h1 span {
    color: var(--color-accent);
}

.hero p {
    font-size: 1.15rem;
    color: var(--color-text-muted);
}

/* Categories Grid */
.categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 0 2rem 2rem;
    border-radius: 12px;
    overflow: hidden;
}

.category {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 1.5rem 2rem;
    background: var(--color-bg);
    text-decoration: none;
    color: var(--color-text);
    transition: background 0.3s;
    cursor: pointer;
}

.category:hover {
    background: rgba(245, 166, 35, 0.06);
}

.category:hover .category-name {
    color: var(--color-accent);
}

.category:hover .category-img svg {
    stroke: var(--color-accent);
    transform: scale(1.08);
}

.category-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.category-img svg {
    width: 60px;
    height: 60px;
    transition: stroke 0.3s, transform 0.3s;
}

.category-info {
    text-align: center;
}

.category-name {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    transition: color 0.3s;
}

.category-count {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Ver todos */
.ver-todos {
    text-align: center;
    padding: 1.5rem 2rem 3rem;
}

.btn-todos {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background: var(--color-accent);
    color: var(--color-bg);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    transition: background 0.3s, transform 0.2s;
}

.btn-todos:hover {
    background: #FFB74D;
    transform: translateY(-2px);
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 0 2rem;
    border-radius: 12px;
    overflow: hidden;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--color-bg);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    background: var(--color-accent);
    border-radius: 12px;
    padding: 8px;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    max-width: 200px;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.logo-icon {
    width: 24px;
    height: 24px;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--color-text-muted);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1rem;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

footer a {
    color: var(--color-accent);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
    header {
        padding: 1rem 1.5rem;
    }

    .logo img {
        height: 32px;
    }

    .logo span {
        font-size: 1rem;
    }

    nav {
        display: none;
    }

    .hero {
        padding: 6rem 1.5rem 2rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .categories {
        grid-template-columns: 1fr 1fr;
        margin: 0 1rem 1.5rem;
    }

    .category {
        padding: 1.5rem 1rem;
    }

    .category-img svg {
        width: 45px;
        height: 45px;
    }

    .category-name {
        font-size: 1.1rem;
    }

    .features {
        grid-template-columns: 1fr;
        margin: 0 1rem;
    }

    .feature {
        padding: 1.5rem;
    }

    .ver-todos {
        padding: 1rem 1rem 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .category-images {
        gap: 0.5rem;
    }

    .category-img svg {
        width: 36px;
        height: 36px;
    }
}
