﻿/* ===================================
   Solo Metal - Estilos CSS
   =================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* Variables CSS */
:root {
    --color-background: #fafafa;
    --color-foreground: #1a1a1a;
    --color-muted: #f5f5f5;
    --color-muted-foreground: #737373;
    --color-border: #e5e5e5;
    --color-primary: #8b5cf6;
    --color-primary-light: #a78bfa;
    --color-accent-pink: #ec4899;
    --color-accent-orange: #f97316;
    --gradient-brand: linear-gradient(135deg, #8b5cf6 0%, #ec4899 50%, #f97316 100%);
    --gradient-brand-soft: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(236, 72, 153, 0.1) 50%, rgba(249, 115, 22, 0.1) 100%);
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.15);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-brand-soft {
    background: var(--gradient-brand-soft);
}

/* ===================================
   HEADER
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
    padding: 0.5rem 0;
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo img {
    height: 50px;
    transition: var(--transition-smooth);
}

.header-nav {
    display: none;
}

@media (min-width: 768px) {
    .header-nav {
        display: flex;
        gap: 2rem;
    }
}

.header-nav a {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-muted-foreground);
    transition: var(--transition-smooth);
    position: relative;
}

    .header-nav a:hover {
        color: var(--color-foreground);
    }

    .header-nav a::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--gradient-brand);
        transition: width 0.3s ease;
    }

    .header-nav a:hover::after {
        width: 100%;
    }

.btn-whatsapp-header {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: #25D366;
    color: white;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

@media (min-width: 768px) {
    .btn-whatsapp-header {
        display: inline-flex;
    }
}

.btn-whatsapp-header:hover {
    background: #1fb855;
    transform: scale(1.02);
}

.mobile-menu-btn {
    display: flex;
    padding: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
    color: var(--color-foreground);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-background);
    border-top: 1px solid var(--color-border);
    padding: 1rem;
    box-shadow: var(--shadow-soft);
}

    .mobile-menu.active {
        display: block;
    }

    .mobile-menu a {
        display: block;
        padding: 0.75rem 1rem;
        font-size: 1rem;
        color: var(--color-foreground);
        border-radius: 0.5rem;
        transition: var(--transition-smooth);
    }

        .mobile-menu a:hover {
            background: var(--color-muted);
        }

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1rem 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

    .hero-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-bg::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(250, 250, 250, 0.7), rgba(250, 250, 250, 0.5), var(--color-background));
    }

.hero-content {
    max-width: 48rem;
    margin: 0 auto;
}

.hero-logo {
    height: 8rem;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

@media (min-width: 768px) {
    .hero-logo {
        height: 11rem;
    }
}

@media (min-width: 1024px) {
    .hero-logo {
        height: 13rem;
    }
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(250, 250, 250, 0.8);
    backdrop-filter: blur(4px);
    border-radius: 9999px;
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 3.75rem;
    }
}

.hero p {
    font-size: 1.125rem;
    color: var(--color-muted-foreground);
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-gradient {
    background: var(--gradient-brand);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

    .btn-gradient:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    }

.btn-outline {
    background: transparent;
    color: var(--color-foreground);
    border: 2px solid var(--color-border);
}

    .btn-outline:hover {
        border-color: var(--color-primary);
        color: var(--color-primary);
    }

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

    .scroll-indicator svg {
        width: 32px;
        height: 32px;
        color: var(--color-muted-foreground);
    }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===================================
   FEATURED SECTION
   =================================== */
.featured {
    padding: 4rem 0 6rem;
    background: var(--color-background);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-brand-soft);
    border-radius: 9999px;
    font-size: 0.875rem;
    color: var(--color-foreground);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

/* ===================================
   PRODUCT GRID
   =================================== */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Product Card */
.product-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-glow);
    }

.product-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

    .product-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-badges {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-featured {
    background: var(--gradient-brand);
    color: white;
}

.badge-sale {
    background: #ef4444;
    color: white;
}

.product-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1rem;
}

.product-category {
    font-size: 0.75rem;
    color: var(--color-primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.product-name {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.product-description {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.price-current {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-foreground);
}

.price-original {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    text-decoration: line-through;
}

.btn-whatsapp-small {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #25D366;
    color: white;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    margin-top: auto;
}

    .btn-whatsapp-small:hover {
        background: #1fb855;
    }

/* ===================================
   CATALOG SECTION
   =================================== */
.catalog {
    padding: 4rem 0 6rem;
    background: var(--color-muted);
}

.catalog-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .catalog-controls {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 24rem;
}

    .search-box input {
        width: 100%;
        padding: 0.75rem 1rem 0.75rem 2.75rem;
        border: 1px solid var(--color-border);
        border-radius: 9999px;
        font-size: 0.875rem;
        background: white;
        transition: var(--transition-smooth);
    }

        .search-box input:focus {
            outline: none;
            border-color: var(--color-primary);
            box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
        }

    .search-box svg {
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        width: 18px;
        height: 18px;
        color: var(--color-muted-foreground);
    }

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

    .filter-btn:hover {
        border-color: var(--color-primary);
    }

.filters-panel {
    display: none;
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
}

    .filters-panel.active {
        display: block;
    }

.filters-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .filters-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.filter-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-muted-foreground);
    margin-bottom: 0.5rem;
}

.filter-group select {
    width: 100%;
    padding: 0.625rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    background: white;
    cursor: pointer;
    transition: var(--transition-smooth);
}

    .filter-group select:focus {
        outline: none;
        border-color: var(--color-primary);
    }

.results-count {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    margin-bottom: 1.5rem;
}

.no-results {
    text-align: center;
    padding: 4rem 1rem;
}

    .no-results p {
        color: var(--color-muted-foreground);
        margin-bottom: 1rem;
    }

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    padding: 6rem 0;
    background: var(--color-background);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-content h2 {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .about-content h2 {
        font-size: 2.75rem;
    }
}

.about-content p {
    color: var(--color-muted-foreground);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-signature {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    margin-top: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    background: var(--color-muted);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: var(--transition-smooth);
}

    .feature-card:hover {
        box-shadow: var(--shadow-soft);
        transform: translateY(-2px);
    }

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-brand);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

    .feature-icon svg {
        width: 24px;
        height: 24px;
        color: white;
    }

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--color-foreground);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-brand img {
    height: 5rem;
    border-radius: 0.5rem;
    padding: 0.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary-light);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

    .footer-social a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2.5rem;
        height: 2.5rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        transition: var(--transition-smooth);
    }

        .footer-social a:hover {
            background: var(--gradient-brand);
            transform: translateY(-2px);
        }

    .footer-social svg {
        width: 20px;
        height: 20px;
    }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

    .footer-bottom p {
        font-size: 0.875rem;
        color: rgba(255, 255, 255, 0.5);
    }

    .footer-bottom a {
        color: var(--color-primary-light);
    }

        .footer-bottom a:hover {
            text-decoration: underline;
        }

/* ===================================
   WHATSAPP FLOATING BUTTON
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 40;
}

    .whatsapp-float a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 3.5rem;
        height: 3.5rem;
        background: #25D366;
        border-radius: 50%;
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
        transition: var(--transition-smooth);
        animation: pulse 2s infinite;
    }

        .whatsapp-float a:hover {
            transform: scale(1.1);
        }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
        color: white;
    }

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
    }
}

/* ===================================
   MODAL
   =================================== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

    .modal-overlay.active {
        display: flex;
    }

.modal {
    background: white;
    border-radius: 1rem;
    max-width: 56rem;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    z-index: 10;
    transition: var(--transition-smooth);
}

    .modal-close:hover {
        transform: scale(1.1);
    }

.modal-content {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .modal-content {
        grid-template-columns: 1fr 1fr;
    }
}

.modal-gallery {
    position: relative;
    aspect-ratio: 1;
}

    .modal-gallery img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.modal-details {
    padding: 2rem;
}

    .modal-details h2 {
        font-family: var(--font-display);
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .modal-details .product-category {
        margin-bottom: 1rem;
    }

    .modal-details .product-description {
        display: block;
        -webkit-line-clamp: unset;
        margin-bottom: 1.5rem;
    }

    .modal-details .product-price {
        margin-bottom: 1.5rem;
    }

    .modal-details .price-current {
        font-size: 1.5rem;
    }

.btn-whatsapp-large {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: #25D366;
    color: white;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

    .btn-whatsapp-large:hover {
        background: #1fb855;
        transform: scale(1.02);
    }
