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

:root {
    --primary: #E60012;
    --secondary: #333333;
    --accent: #FF6B6B;
    --background: #FFFFFF;
    --text: #222222;
    --border: #EEEEEE;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 0 0 20px 20px;
    margin-bottom: 60px;
}

header h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Main Content */
main {
    padding: 40px 0;
}

section {
    margin-bottom: 80px;
}

/* Gallery Section */
.gallery {
    margin-bottom: 100px;
}

.gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    aspect-ratio: 4/5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--border);
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    font-size: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    padding: 0;
    font-weight: 300;
    line-height: 1;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-close:active {
    transform: scale(0.95);
}

.gallery-item.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #eeeeee 100%);
}

.placeholder-content {
    text-align: center;
    color: #999;
}

.placeholder-content p {
    font-size: 1.2rem;
    margin: 10px 0;
}

.placeholder-content .small {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Specs Section */
.specs {
    background: #f9f9f9;
    padding: 60px 40px;
    border-radius: 16px;
    margin-bottom: 80px;
}

.specs h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--primary);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.spec-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spec-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.spec-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.spec-card p {
    margin: 8px 0;
    font-weight: 500;
}

.spec-card .detail {
    font-size: 0.95rem;
    color: #666;
    font-weight: 400;
}

/* Accessories Section */
.accessories {
    margin-bottom: 100px;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(230, 0, 18, 0.08) 0%, rgba(255, 107, 107, 0.05) 100%);
    border-radius: 16px;
    border-left: 6px solid var(--primary);
}

.accessories h2 {
    font-size: 2.8rem;
    margin-bottom: 50px;
    text-align: center;
    color: var(--primary);
    font-weight: 700;
}

.accessories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.accessory-card {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    border: 2px solid var(--border);
}

.accessory-card.featured {
    border: 3px solid var(--primary);
    background: linear-gradient(135deg, rgba(230, 0, 18, 0.1) 0%, rgba(255, 107, 107, 0.08) 100%);
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(230, 0, 18, 0.15);
}

.accessory-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.accessory-card.featured:hover {
    transform: scale(1.08) translateY(-8px);
    box-shadow: 0 16px 32px rgba(230, 0, 18, 0.25);
    border-color: var(--accent);
}

.accessory-card h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.accessory-card p {
    margin: 10px 0;
    font-weight: 500;
    line-height: 1.6;
}

.accessory-card .detail {
    font-size: 0.95rem;
    color: #666;
    font-weight: 400;
}

/* Features Section */
.features h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--primary);
}

.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.features-list li {
    padding: 20px;
    background: linear-gradient(135deg, rgba(230, 0, 18, 0.05) 0%, rgba(255, 107, 107, 0.05) 100%);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: transform 0.3s ease, background 0.3s ease;
}

.features-list li:hover {
    transform: translateX(8px);
    background: linear-gradient(135deg, rgba(230, 0, 18, 0.1) 0%, rgba(255, 107, 107, 0.1) 100%);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--border);
    color: #666;
    margin-top: 80px;
    background: var(--light-bg);
}

footer p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-contact {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    border: none;
    cursor: pointer;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:active {
    transform: translateY(-1px);
}

.whatsapp-icon {
    font-size: 20px;
    display: inline-block;
}

.whatsapp-text {
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 40px 20px;
        margin-bottom: 40px;
    }

    header h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

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

    .specs-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    section {
        margin-bottom: 50px;
    }

    .specs {
        padding: 40px 20px;
    }

    .whatsapp-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2rem;
    }

    .specs h2,
    .features h2 {
        font-size: 1.8rem;
    }

    .gallery-grid {
        gap: 15px;
    }

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item,
.spec-card,
.features-list li {
    animation: fadeIn 0.6s ease-out forwards;
}

.gallery-item:nth-child(n) { animation-delay: calc(0.1s * var(--index, 1)); }
