/* css/style.css */

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-light: #72c0e7;
    --primary-dark: #2e3b4e;
    --accent-1: #c6d113;
    --accent-2: #dc1a70;
    --text-color: #2e3b4e;
    --light-text: #f8f9fa;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    color: var(--text-color);
    background-color: var(--primary-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style-position: inside;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Navegación */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0.8rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo-placeholder {
    width: 180px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    max-height: 100%;
    border-radius: 8px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-link {
    padding: 0.5rem 1.2rem;
    font-weight: 600;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-2);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--accent-2);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 70%;
}

.facebook-link {
    background-color: var(--accent-2);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    margin-left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.facebook-link:hover {
    background-color: var(--primary-dark);
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero/Banner */
.hero {
    position: relative;
    margin-top: 80px;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(114, 192, 231, 0.9), rgba(114, 192, 231, 0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    padding: 2rem;
    color: var(--primary-dark);
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.7);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.hero-text {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 15px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2rem;
    background-color: var(--accent-2);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    color: white;
}

.cta-button.secondary {
    background-color: var(--accent-1);
    color: var(--primary-dark);
}

.cta-button.secondary:hover {
    background-color: var(--primary-dark);
    color: white;
}

/* Secciones principales */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.intro-section {
    margin-bottom: 5rem;
    text-align: center;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
}

.section-title i {
    margin-right: 0.5rem;
    color: var(--accent-2);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 3px;
    background-color: var(--accent-1);
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.intro-highlight {
    background-color: rgba(198, 209, 19, 0.15);
    border-left: 4px solid var(--accent-1);
    padding: 1.5rem;
    border-radius: 0 10px 10px 0;
    margin-top: 2rem;
}

.intro-highlight p {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--primary-dark);
}

/* Secciones temáticas */
.content-section {
    margin-bottom: 6rem;
    padding: 3rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-image {
    position: relative;
}

.section-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

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

.section-content {
    padding: 1rem 0;
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.content-list h3 {
    color: var(--accent-2);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.content-list ul {
    list-style-type: none;
}

.content-list li {
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
    position: relative;
}

.content-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-1);
    font-weight: bold;
}

.content-list strong {
    color: var(--accent-2);
}

/* Secciones con orden inverso */
.reverse .section-grid {
    direction: rtl;
}

.reverse .section-content {
    direction: ltr;
}

/* Sección de conclusión */
.conclusion-section {
    margin-top: 5rem;
    padding: 4rem;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
}

.conclusion-content {
    max-width: 900px;
    margin: 0 auto;
}

.conclusion-text {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 2rem;
}

.contact-cta {
    margin-top: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(198, 209, 19, 0.1), rgba(220, 26, 112, 0.1));
    border-radius: 15px;
}

.contact-cta h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.contact-button {
    padding: 1.2rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.contact-button.facebook {
    background-color: var(--accent-2);
    color: white;
}

.contact-button.email {
    background-color: var(--accent-1);
    color: var(--primary-dark);
}

.contact-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.contact-button.facebook:hover {
    background-color: var(--primary-dark);
}

.contact-button.email:hover {
    background-color: var(--primary-dark);
    color: white;
}

.contact-note {
    font-style: italic;
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

/* Pie de página */
.footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-tagline {
    font-style: italic;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links h4, .footer-contact h4 {
    color: var(--accent-1);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: var(--accent-1);
    padding-left: 0.5rem;
}

.footer-contact p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact a:hover {
    color: var(--accent-1);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.social-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--accent-2);
    transform: translateY(-5px);
}

.copyright {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 992px) {
    .section-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .reverse .section-grid {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        padding: 1rem 0;
        display: block;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero {
        height: 70vh;
        margin-top: 70px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .content-section {
        padding: 2rem;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .conclusion-section {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding: 2rem 1rem;
    }
    
    .content-section {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}