/* Global Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--section-padding);
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--primary-gold);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-blue);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-gold);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-gold-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--text-main);
}

/* Header */
.header {
    background-color: white;
    height: var(--header-height);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-fast);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-img {
    height: 60px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-top {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
    line-height: 1;
    margin-bottom: 2px;
}

.logo-main {
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
    text-transform: uppercase;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-gold);
}

.nav-close,
.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('../assets/images/hero-bg.png');
    /* Need to handle if no image */
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../assets/images/hero-bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: calc(var(--header-height) * -1);
    padding-top: var(--header-height);
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Activities Carousel */
.carousel {
    position: relative;
    max-width: 1000px;
    /* Wider to show HD detail better */
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
}

.carousel-track-container {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    padding: 0 10px;
}

.slide-content {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.slide-image {
    width: 100%;
    aspect-ratio: 16/9;
    /* Enforce 1920x1080 ratio */
    height: auto;
    background-color: #f8f8f8;
    background-size: cover;
    /* Since container is 16:9, cover fits 1920x1080 perfectly */
    background-position: center;
    transition: transform 0.5s ease;
}

/* Hover effect removed to avoid layout shifts with contain */
.slide-content:hover .slide-image {
    /* transform: scale(1.05); */
}

.slide-info {
    padding: 1.5rem;
    text-align: left;
    background: white;
    /* Ensure white background for text area */
    color: var(--text-main);
}

.slide-info h3 {
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.slide-info p {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

/* Specific styling for Image-Only Slides (Events) */
.event-slide-content .slide-info {
    display: none;
}

.event-slide-content {
    background: transparent;
    box-shadow: none;
    /* Image itself handles 16:9, just cleaner shell */
}

.slide-info h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-gold);
}

.slide-info p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    border: none;
    transition: background-color 0.3s;
}

.carousel-indicator.current-slide {
    background-color: var(--primary-gold);
}

/* Vision Section */
.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.vision-quote {
    font-size: 1.1rem;
    color: var(--text-gray);
    font-style: italic;
    border-left: 4px solid var(--primary-gold);
    padding-left: 2rem;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #888;
    border-radius: 10px;
}

/* Offerings */
.offerings {
    background-color: var(--bg-light);
    text-align: center;
}

.offerings-content p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.donation-options {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.offerings .btn-outline {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.offerings .btn-outline:hover {
    background-color: var(--primary-gold);
    color: white;
}

.security-note {
    font-size: 0.9rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Leadership */
.leaders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.leader-card {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.leader-card:hover {
    transform: translateY(-5px);
}

.leader-photo {
    width: 150px;
    height: 150px;
    background-color: #eee;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.leader-card h3 {
    font-family: var(--font-title);
    margin-bottom: 0.5rem;
}

.leader-card p {
    color: var(--primary-gold);
    font-weight: 500;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-list i {
    font-size: 2rem;
    color: var(--primary-gold);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    font-family: var(--font-title);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.footer-logo h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: #888;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links i {
    font-size: 1.5rem;
    transition: color 0.3s;
}

.footer-links a:hover i {
    color: var(--primary-gold);
}

.copyright {
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid #333;
    padding-top: 2rem;
    width: 100%;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .header-container {
        padding: 0 1rem;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        background-color: white;
        width: 80%;
        height: 100vh;
        padding: 4rem 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
        display: flex;
        flex-direction: column;
    }

    .nav.show-menu {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }

    .nav-toggle {
        display: block;
    }

    .btn-donate {
        display: none;
        /* Hide top donate button on mobile if needed, or keep small */
    }

    /* Make donate button visible in mobile menu or header? 
       User req: "Hamburguesa + botón DONAR visible" 
       So I will keep .btn-donate visible in header-actions 
    */
    .btn-donate {
        display: inline-block;
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .vision-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        order: -1;
    }
}