/* Variables y Configuración Base */
:root {
    --primary-color: #00ff41; /* Verde Neón */
    --bg-dark: #0a0a0a;
    --text-light: #ffffff;
    --text-muted: #a0a0a0;
    --card-bg: #1a1a1a;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 50px;
    background: transparent;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(0, 0, 0, 0.9);
    padding: 10px 50px;
    border-bottom: 1px solid var(--primary-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1.2rem;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--primary-color);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 50%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('imagenes/casaca.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: 'Inter', sans-serif;
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: #000;
    padding: 15px 40px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
}

/* Products Section */
.products {
    padding: 100px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    letter-spacing: -1px;
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--card-bg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.product-card:hover .overlay {
    bottom: 0;
}

.add-to-cart {
    background: none;
    border: none;
    font-weight: 900;
    color: #000;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background: #111;
    padding: 50px 20px;
    text-align: center;
    border-top: 1px solid var(--primary-color);
}

.footer-logo {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 1.5rem;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Carrito Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: #111;
    z-index: 2000;
    padding: 30px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

.cart-header h3 {
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
}

.close-cart {
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-cart:hover {
    color: var(--primary-color);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    background: #1a1a1a;
    padding: 10px;
    border-radius: 5px;
}

.cart-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.cart-item-info h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.cart-item-info p {
    color: var(--primary-color);
    font-weight: 700;
}

.cart-footer {
    border-top: 1px solid #333;
    padding-top: 20px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.btn-whatsapp {
    width: 100%;
    background: #25D366;
    color: #fff;
    border: none;
    padding: 15px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

@media (max-width: 450px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

/* Responsividad */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 20px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: #000;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .products {
        padding: 50px 20px;
    }
}
