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

:root {
    --primary-color: #d62828;
    --secondary-color: #003049;
    --text-color: #252525;
    --light-bg: #f8f9fa;
    --dark-bg: #212529;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

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

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 8px;
}

h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
}

.header-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    background-color: var(--primary-color);
    padding: 5px 20px;
    border-radius: 30px;
    display: inline-block;
    margin: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.header-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    background-color: #25D366;
    border: 2px solid white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.header-button i {
    margin: 0;
    font-size: 1.8rem;
}

.header-button:hover {
    background-color: #128C7E;
    border-color: #f8f9fa;
    transform: translateY(-2px);
}

.header-button.email-button {
    background-color: #3498db;
}

.header-button.email-button:hover {
    background-color: #2980b9;
}

.price-item {
    background-color: var(--primary-color) !important;
    color: white;
}

.price-item h3, .price-item i {
    color: white !important;
}

.price-item p {
    font-size: 1.4rem;
    font-weight: bold;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 10px;
}

h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 50px;
    background-color: var(--primary-color);
}

section {
    margin-bottom: 50px;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Gallery */
.gallery-container {
    display: flex;
    flex-direction: column;
}

.main-image {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    height: 650px;
}

.main-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-image img:hover {
    transform: scale(1.02);
}

.thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    padding-bottom: 10px;
}

.thumbnails img {
    width: 100%;
    height: 75px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.thumbnails img:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

/* Specs */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.spec-item {
    text-align: center;
    padding: 20px;
    background-color: var(--light-bg);
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.spec-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.spec-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.spec-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

/* Description */
.description p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.description h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin: 30px 0 15px 0;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
    display: inline-block;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.feature-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    font-size: 1.05rem;
}

.feature-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.tech-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.tech-column {
    background-color: var(--light-bg);
    border-radius: 8px;
    padding: 15px;
}

/* Contact */
.contact {
    text-align: center;
}

.whatsapp-button {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.whatsapp-button:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

.email-button {
    display: inline-block;
    background-color: #3498db; /* Azul para el botón de email */
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.email-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.4);
}

.whatsapp-button i, .email-button i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 30px;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .spec-item {
        padding: 15px;
    }
    
    .description p {
        font-size: 1rem;
    }
    
    .whatsapp-button {
        padding: 12px 25px;
    }
    
    .main-image {
        height: 350px;
    }
    
    .thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
    
    .tech-specs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    header {
        padding: 30px 0;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 20px;
    }
    
    .specs-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .main-image {
        height: 250px;
    }
    
    .thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    }
} 