* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FF0000;
    --primary-hover: #CC0000;
    --secondary: #000000;
    --dark-bg: #0A0A0A;
    --text-primary: #FFFFFF;
    --text-secondary: #CCCCCC;
    --bg-light: #1A1A1A;
    --card-bg: #141414;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--dark-bg);
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(255,0,0,0.1);
    border-bottom: 1px solid rgba(255,0,0,0.1);
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(255,0,0,0.2);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -1px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-header {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(225, 6, 0, 0.3);
}

.cta-header:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 6, 0, 0.4);
}

/* HAMBURGER MENU */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1010;
    position: relative;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.3s ease;
    background: none;
    border: none;
}

.hamburger:hover {
    background: rgba(255, 0, 0, 0.1);
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    margin: 3px 0;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    border-radius: 5px;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background: #FFFFFF;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background: #FFFFFF;
}

/* MENÚ MÓVIL PANTALLA COMPLETA */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 1005;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu a,
.mobile-menu .menu-link {
    color: white;
    font-size: 2rem;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
    transform: translateY(30px);
    opacity: 0;
}

.mobile-menu.active a,
.mobile-menu.active .menu-link {
    animation: fadeInUp 0.5s ease forwards;
}

.mobile-menu.active a:nth-child(1),
.mobile-menu.active .menu-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu.active a:nth-child(2),
.mobile-menu.active .menu-link:nth-child(2) { animation-delay: 0.2s; }
.mobile-menu.active a:nth-child(3),
.mobile-menu.active .menu-link:nth-child(3) { animation-delay: 0.3s; }
.mobile-menu.active a:nth-child(4),
.mobile-menu.active .menu-link:nth-child(4) { animation-delay: 0.4s; }
.mobile-menu.active a:nth-child(5),
.mobile-menu.active .menu-link:nth-child(5) { animation-delay: 0.5s; }
.mobile-menu.active a:nth-child(6),
.mobile-menu.active .menu-link:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HERO SECTION */
.hero {
    margin-top: 120px;
    height: 95vh;
    background: linear-gradient(135deg, rgba(0,0,0,0.9), rgba(255,0,0,0.3)), 
                url('fondo.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.5) 100%);
}

.hero-content {
    max-width: 900px;
    padding: 2rem;
    position: relative;
    z-index: 2;
    animation: heroEnter 1.2s ease forwards;
}

@keyframes heroEnter {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    background: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
    box-shadow: 0 0 20px rgba(255,0,0,0.5);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    top: 0;
    left: -100%;
    transition: 0.4s;
}

.btn:hover::after {
    left: 0;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.5);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(255, 0, 0, 0.7);
}

.btn-secondary {
    background: white;
    color: var(--secondary);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(255, 255, 255, 0.3);
}

/* SECTIONS */
section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
    animation: titleReveal 1s ease forwards;
}

@keyframes titleReveal {
    from { opacity: 0; letter-spacing: 8px; }
    to { opacity: 1; letter-spacing: 2px; }
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 4rem;
}

/* STORE DESCRIPTION */
.store-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.store-description-text {
    margin-bottom: 2rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* STORE GALLERY */
.store-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.store-photo {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(255,0,0,0.2);
    transition: all 0.4s ease;
    border: 2px solid rgba(255,0,0,0.2);
    height: 400px;
}

.store-photo:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 50px rgba(255,0,0,0.4);
    border-color: var(--primary);
}

.store-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.store-photo:hover img {
    transform: scale(1.1);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.store-photo:hover .photo-overlay {
    transform: translateY(0);
}

.photo-label {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
}

/* CATALOG SECTION */
.catalog-section {
    text-align: center;
    margin-top: 3rem;
}

.btn-catalog {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* WHY KEYCOR SECTION */
.bg-light-section {
    background: var(--bg-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-card {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(255,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,0,0,0.1);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255,0,0,0.2);
    border-color: var(--primary);
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.why-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.why-card p {
    color: var(--text-secondary);
}

/* COLLECTIONS SECTION */
.bg-dark-section {
    background: var(--secondary);
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.collection-card {
    background: var(--card-bg);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(255,0,0,0.15);
    transition: all 0.4s ease;
    border: 2px solid rgba(255,0,0,0.2);
}

.collection-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 50px rgba(255,0,0,0.4);
    border-color: var(--primary);
}

.collection-image {
    height: 350px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.collection-card:hover .collection-image img {
    transform: scale(1.1);
}

.collection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: rgba(0,0,0,0.5);
    transition: all 0.5s ease;
}

.collection-card:hover .collection-overlay {
    background: rgba(0,0,0,0.7);
}

.collection-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.collection-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    letter-spacing: 2px;
}

.collection-desc {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.collection-price {
    background: var(--primary);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255,0,0,0.5);
}

.collection-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--primary);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.collection-btn::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    top: 0;
    left: -100%;
    transition: 0.4s;
}

.collection-btn:hover::after {
    left: 0;
}

.collection-btn:hover {
    background: var(--primary-hover);
    box-shadow: 0 6px 25px rgba(255,0,0,0.5);
    transform: scale(1.02);
    text-decoration: none;
    outline: none;
}

.collection-btn:focus,
.collection-btn:active {
    text-decoration: none;
    outline: none;
    box-shadow: none;
    color: #fff;
}

.catalog-section-large {
    text-align: center;
    margin-top: 3rem;
}

.btn-catalog-large {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
}

/* MAP SECTION */
.map-section {
    padding: 5rem 2rem;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border-radius: 16px;
    overflow: hidden;
}

.map-iframe {
    border: 0;
}

/* CONTACT SECTION */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(255,0,0,0.1);
    border: 1px solid rgba(255,0,0,0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 25px rgba(255,0,0,0.2);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    color: var(--primary);
}

.contact-bold {
    font-weight: 600;
    color: var(--text-primary);
}

.contact-secondary {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-link {
    color: var(--primary);
}

.cta-section {
    text-align: center;
    margin-top: 3rem;
}

.btn-cta {
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
}

/* FLOATING WHATSAPP */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: white;
}

/* FOOTER */
footer {
    background: var(--secondary);
    color: white;
    padding: 3rem 2rem 1.5rem;
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-style: italic;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.footer-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-text {
    margin-top: 0.5rem;
}

.footer-bold {
    font-weight: 700;
    margin-top: 0.5rem;
}

/* ANIMACIONES ADICIONALES */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links,
    .cta-header {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        margin-top: 80px;
        height: 90vh;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .store-gallery {
        grid-template-columns: 1fr;
    }

    .collections-grid {
        grid-template-columns: 1fr;
    }

    .footer-info {
        flex-direction: column;
        gap: 1rem;
    }

    .mobile-menu a,
    .mobile-menu .menu-link {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .collection-title {
        font-size: 2rem;
    }

    .collection-desc {
        font-size: 1rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    .mobile-menu a,
    .mobile-menu .menu-link {
        font-size: 1.3rem;
    }
}