/* styles.css - Jcerva Digital Site Styling */

/* Base styles */
body {
    background: linear-gradient(135deg, #121212 0%, #1a1a1a 100%);
    color: #ffffff;
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #252525;
    border-radius: 10px;
    margin-bottom: 20px;
}

header h1 {
    color: #4caf50;
    font-size: 2em;
    margin: 0;
}

.language-toggle button {
    background: linear-gradient(45deg, #0288d1, #039be5);
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin-left: 15px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s, background 0.3s;
}

.language-toggle button:hover {
    background: linear-gradient(45deg, #0277bd, #0288d1);
    transform: scale(1.05);
}

.language-toggle button.active {
    background: linear-gradient(45deg, #4caf50, #66bb6a);
}

/* Hero Section */
.hero {
    padding: 40px 20px;
    background: #1e1e1e;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    margin-bottom: 40px;
}

.hero h1 {
    color: #4caf50;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero p {
    color: #e0e0e0;
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* Sections */
.section {
    margin: 40px 0;
}

.section h2 {
    color: #4caf50;
    font-size: 2em;
    margin-bottom: 20px;
}

/* Grid Layout for Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    background: #252525;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: #fbc02d;
    font-size: 1.4em;
    margin-bottom: 10px;
}

.card p {
    color: #e0e0e0;
    font-size: 1em;
    margin-bottom: 15px;
}

.buy-button {
    background: linear-gradient(45deg, #4caf50, #66bb6a);
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.2s, background 0.3s;
}

.buy-button:hover {
    background: linear-gradient(45deg, #388e3c, #4caf50);
    transform: scale(1.05);
}

/* Footer */
footer {
    margin-top: 40px;
    padding: 20px;
    background: #1e1e1e;
    border-radius: 10px;
    font-size: 0.9em;
    color: #888;
}

.content-en, .content-es {
    display: none;
}

.content-en.active, .content-es.active {
    display: block;
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2em;
    }
    .hero p {
        font-size: 1em;
    }
    header h1 {
        font-size: 1.5em;
    }
    .section h2 {
        font-size: 1.8em;
    }
}