/* PAGINA PRINCIPAL */
body {
    margin: 0;
    font-family: "Georgia", serif;
    background-image: url(img/Background.png);
    background-size: cover;
    color: #e0e0e0;
}

.header {
    background-size: cover;
    background-position: top center;
}

.nav {
    background-image: url(img/Background_texture2.png);
    display: flex;
    justify-content: space-between;
    padding: 20px 60px;
    align-items: center;
    position: relative;
}

.logo span {
    display: block;
    font-size: 12px;
    color: #aaa;
}

.nav-links {
    display: flex;
    gap: 18px;
    align-items: center;
}

.nav-links a {
    color: #ddd;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

.lang-switch {
    margin-left: 15px;
}

.lang-switch a {
    color: #cce0cc;
    font-weight: bold;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    height: 3px;
    width: 25px;
    background: #f5f5dc;
    border-radius: 2px;
}

.hero {
    padding: 120px 60px;
    max-width: 1200px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.alert {
    background-image: url(img/Background_texture.jpg);
    color: #222;
    border-left: 5px solid #c0392b;
    padding: 20px;
    margin: 30px 0;
    max-width: 650px;
}

.btn {
    padding: 12px 20px;
    text-decoration: none;
    border: 1px solid #aaa;
    color: #fff;
    margin-right: 10px;
}

.primary {
    background: #2f3b2f;
}

.secondary {
    background: transparent;
}

.content {
    background-image: url(img/Background_texture.jpg);
    color: #222;
    padding: 60px;
}

.info {
    display: grid;
    grid-template-columns: 2 1fr;
    gap: 40px;
    text-align: center;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border-bottom: 1px solid #ccc;
    padding: 10px;
}

.cta {
    margin-top: 60px;
    background-image: url(img/Background_texture2.png);
    color: #fff;
    padding: 40px;
    text-align: center;
}

.footer {
    background-image: url(img/Background_texture2.png);
    padding: 30px;
    text-align: center;
    font-size: 15px;
}

.footer-links a {
    margin: 0 10px;
    color: #aaa;
    text-decoration: none;
}
/* PAGINA PRINCIPAL */

/* PAGINA NORMATIVAS */
.info-normativas {
    padding: 2rem 20rem;
    border-bottom: 2px solid #555;
    margin-bottom: 2rem;
    text-align: center;
}

.normas {
    padding: 2rem 15rem;
    border-bottom: 2px solid #555;
    margin-bottom: 4rem;
    text-align: center;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.card {
    background-color: #2f3e2f;
    color: #f5f5dc;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    width: 200px;
    text-align: center;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: auto;
    margin-bottom: 0.5rem;
}

.card h3 {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.card p {
    font-size: 0.9rem;
}

ul {
    list-style-position: inside;
    padding-left: 1rem;
}
/* PAGINA NORMATIVAS */

/* PAGINAS LEGALES */
.info-text {
    text-align: center;
}
/* PAGINAS LEGALES */

/* FAQ */
.faq-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: Arial, sans-serif;
}

.faq-section h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2f4f2f;
}

.faq-card {
    border: 1px solid #ccc;
    border-radius: 10px;
    margin-bottom: 1rem;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-card h3 {
    margin: 0;
    padding: 1rem 1.5rem;
    cursor: pointer;
    position: relative;
    font-size: 1.2rem;
    color: #1a3d1a;
}

.faq-card h3::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer p {
    margin: 1rem 0;
    line-height: 1.6;
    color: #333;
}

.faq-card.active .faq-answer {
    padding: 1rem 1.5rem;
    max-height: 500px;
}

.faq-card.active h3::after {
    content: '−';
    transform: rotate(180deg);
}

.cta {
    text-align: center;
    padding: 2rem 1rem;
    font-size: 1.2rem;
    background-color: #e6f0e6;
    border-radius: 10px;
    margin-top: 2rem;
    color: #1a3d1a;
}
/* FAQ */

/* RESPONSIVE */
@media (max-width: 992px) {
    .nav {
        padding: 15px 20px;
    }

    .hero {
        padding: 80px 15px;
    }

    .card-container {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        background-color: rgba(47, 59, 47, 0.95);
        flex-direction: column;
        width: 200px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-links a {
        margin: 15px;
    }

    .nav-links.open {
        max-height: 500px;
    }

    .hero {
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .content {
        padding: 20px;
    }

    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
        max-width: 250px;
    }

    .faq-section {
        padding: 1rem;
    }

    .faq-card h3 {
        font-size: 1rem;
    }

    .faq-answer p {
        font-size: 0.95rem;
    }

    .hero-content {
        text-align: center;
    }
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}
