/* Koku Sunglasses - Recess Style (Colorful & Fun) */

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

:root {
    --primary-color: #FF6B9D;
    --secondary-color: #FFC75F;
    --accent-color: #845EC2;
    --mint: #00D2A5;
    --peach: #FF9671;
    --lavender: #C5A3FF;
    --sky: #92E7F7;
    --dark: #2C2C54;
    --medium-dark: #4A4A6A;
    --light: #FFEEF8;
    --cream: #FFF9F0;
    --white: #FFFFFF;
}

body {
    font-family: 'Circular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--cream);
    font-weight: 400;
}

/* Navegación estilo Recess */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.2rem 6%;
    border-bottom: 3px solid var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.15);
}

.logo-container img {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 12px rgba(255, 107, 157, 0.2));
}

.logo-container img:hover {
    transform: scale(1.1) rotate(5deg);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    padding: 8px 16px;
    border-radius: 25px;
}

.nav-links a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(-2px);
}

/* Hero con colores vibrantes */
.hero {
    margin-top: 75px;
    min-height: 95vh;
    background: linear-gradient(135deg, #FFF9F0 0%, #FFEEF8 50%, #F0F8FF 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 6%;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(146, 231, 247, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInUp 1s ease;
}

.hero-text h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 0.95;
    color: var(--dark);
    letter-spacing: -3px;
}

.hero-text .highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--mint));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-text p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--medium-dark);
    font-weight: 500;
    line-height: 1.6;
}

/* Botón estilo Recess */
.cta-button {
    display: inline-block;
    padding: 1.3rem 3.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--peach) 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.15rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.35);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    border: 3px solid white;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(255, 107, 157, 0.5);
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.hero-image {
    position: relative;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.25);
    border: 6px solid white;
    transition: transform 0.4s ease;
}

.hero-image:hover img {
    transform: scale(1.03) rotate(-2deg);
}

/* Sección Modelos - Colorful Cards */
.models {
    padding: 6rem 6%;
    background: linear-gradient(180deg, var(--cream) 0%, white 100%);
}

.section-title {
    text-align: center;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--mint));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.4rem;
    color: #2d2d2d;
    margin-bottom: 4rem;
    font-weight: 600;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Cards con colores diferentes para cada uno */
.model-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 4px solid transparent;
}

.model-card:nth-child(1) { border-color: var(--primary-color); }
.model-card:nth-child(2) { border-color: var(--secondary-color); }
.model-card:nth-child(3) { border-color: var(--mint); }
.model-card:nth-child(4) { border-color: var(--accent-color); }
.model-card:nth-child(5) { border-color: var(--peach); }
.model-card:nth-child(6) { border-color: var(--sky); }
.model-card:nth-child(7) { border-color: var(--lavender); }
.model-card:nth-child(8) { border-color: var(--primary-color); }
.model-card:nth-child(9) { border-color: var(--secondary-color); }
.model-card:nth-child(10) { border-color: var(--mint); }
.model-card:nth-child(11) { border-color: var(--accent-color); }
.model-card:nth-child(12) { border-color: var(--peach); }
.model-card:nth-child(13) { border-color: var(--sky); }
.model-card:nth-child(14) { border-color: var(--lavender); }
.model-card:nth-child(15) { border-color: var(--primary-color); }
.model-card:nth-child(16) { border-color: var(--secondary-color); }
.model-card:nth-child(17) { border-color: var(--mint); }
.model-card:nth-child(18) { border-color: var(--accent-color); }
.model-card:nth-child(19) { border-color: var(--peach); }
.model-card:nth-child(20) { border-color: var(--sky); }
.model-card:nth-child(21) { border-color: var(--lavender); }
.model-card:nth-child(22) { border-color: var(--primary-color); }
.model-card:nth-child(23) { border-color: var(--secondary-color); }

.model-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--mint));
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.model-card:hover::before {
    transform: scaleX(1);
}

.model-card:hover {
    transform: translateY(-15px) rotate(-1deg);
    box-shadow: 0 25px 70px rgba(255, 107, 157, 0.3);
}

.carousel {
    position: relative;
    width: 100%;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.carousel-images {
    position: relative;
    width: 100%;
    height: 350px;
    touch-action: pan-y pinch-zoom;
    cursor: grab;
    overflow: hidden;
}

.carousel-images:active {
    cursor: grabbing;
}

.model-image {
    width: 100%;
    height: 350px;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: linear-gradient(135deg, #FFF9F0 0%, #FFEEF8 100%);
}

.model-image.active {
    opacity: 1;
    z-index: 1;
}

/* Contador de imágenes */
.carousel-counter {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
    backdrop-filter: blur(4px);
}

/* Dots indicadores */
.carousel-dots {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    padding: 1.5rem 0 0.5rem;
    align-items: center;
}

.carousel-dot {
    position: relative;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 12px;
}

.carousel-dot:hover {
    background: #bbb;
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--primary-color);
    width: 28px;
    min-width: 28px;
    height: 12px;
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(255, 107, 107, 0.6);
}

/* Móvil - dots más grandes y táctiles */
@media (max-width: 768px) {
    .carousel-dot {
        width: 10px;
        height: 10px;
        min-width: 10px;
    }

    .carousel-dot.active {
        width: 24px;
        min-width: 24px;
        height: 10px;
    }
}

/* Preview en hover sobre dot */
.dot-preview {
    position: fixed;
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    border: 3px solid white;
    pointer-events: none;
    animation: fadeInPreview 0.2s ease;
    z-index: 100000;
    transform: translateX(-50%);
}

@keyframes fadeInPreview {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Botones antiguos - ocultos pero disponibles por compatibilidad */
.carousel-btn {
    display: none;
}

.model-info {
    padding: 2rem 2rem 1.5rem 2rem;
    background: white;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.model-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f5f5f5;
    margin-top: auto;
    margin-bottom: 0.5rem;
}

.model-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.buy-button {
    background: var(--primary-color);
    color: white;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    white-space: nowrap;
}

.buy-button:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

@media (max-width: 480px) {
    .model-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .buy-button {
        text-align: center;
    }

    .model-price {
        text-align: center;
        font-size: 1.8rem;
    }
}

.model-name {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 0.8rem;
    color: var(--dark);
    letter-spacing: -1px;
}

.model-description {
    color: var(--medium-dark);
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 500;
}

/* Historia - Colorful Gradient Background */
.story {
    padding: 7rem 6%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--mint) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.story::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.story .section-title {
    color: white;
    background: none;
    -webkit-text-fill-color: white;
}

.story-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.story-content p {
    font-size: 1.6rem;
    line-height: 1.9;
    margin-bottom: 1.8rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

/* Valores - Fun Cards */
.values {
    padding: 7rem 6%;
    background: var(--light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.value-card {
    text-align: center;
    padding: 3.5rem 2.5rem;
    background: white;
    border-radius: 35px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 4px solid transparent;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.value-card:nth-child(1) {
    border-color: var(--primary-color);
}

.value-card:nth-child(2) {
    border-color: var(--mint);
}

.value-card:nth-child(3) {
    border-color: var(--secondary-color);
}

.value-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.25);
}

.value-card:nth-child(1):hover {
    background: linear-gradient(135deg, var(--primary-color), var(--peach));
    color: white;
}

.value-card:nth-child(2):hover {
    background: linear-gradient(135deg, var(--mint), var(--sky));
    color: white;
}

.value-card:nth-child(3):hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--lavender));
    color: white;
}

.value-icon {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
}

.value-title {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 0.8rem;
}

.value-description {
    font-size: 1.15rem;
    line-height: 1.7;
    font-weight: 500;
}

/* Contacto - Playful */
.contact {
    padding: 7rem 6%;
    background: linear-gradient(135deg, var(--dark) 0%, var(--accent-color) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -15%;
    right: -10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255, 199, 95, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.contact .section-title {
    color: white;
    background: none;
    -webkit-text-fill-color: white;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 3rem 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.contact-item-icon {
    font-size: 2.5rem;
}

.contact-item a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.4rem;
    transition: all 0.3s;
    font-weight: 700;
}

.contact-item a:hover {
    color: white;
    transform: scale(1.1);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.social-link {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-decoration: none;
    color: var(--accent-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.social-link:nth-child(1) { color: var(--primary-color); }
.social-link:nth-child(2) { color: var(--secondary-color); }
.social-link:nth-child(3) { color: var(--mint); }

.social-link:hover {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.4);
}

.social-link:nth-child(1):hover { background: var(--primary-color); color: white; }
.social-link:nth-child(2):hover { background: var(--secondary-color); color: white; }
.social-link:nth-child(3):hover { background: var(--mint); color: white; }

footer {
    padding: 2.5rem 6%;
    background: var(--dark);
    color: white;
    text-align: center;
    font-weight: 600;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

html {
    scroll-behavior: smooth;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .models-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        gap: 2rem;
    }
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    padding: 10px;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
    width: 28px;
    height: 4px;
    background: var(--primary-color);
    margin: 4px 0;
    border-radius: 3px;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        left: 0;
        right: 0;
        top: 75px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        box-shadow: 0 15px 40px rgba(255, 107, 157, 0.2);
        padding: 3rem 0;
        z-index: 10000;
    }

    .nav-links.active {
        display: flex;
    }
}
