:root {
    --bg-body: #1a1a1a;
    --bg-light: #222222;
    --text-main: #ffffff;
    --text-muted: #acacac;
    --accent: #d4af37;
    --font-main: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.7;
}

h1, h2, h3 { color: var(--text-main); font-weight: 700; text-transform: capitalize; }
.fw-bold { font-weight: 700; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.bg-light { background-color: var(--bg-light); }
.mt-4 { margin-top: 1.5rem; }

a { text-decoration: none; color: inherit; transition: 0.3s; }

.navbar {
    position: fixed; top: 0; width: 100%; padding: 1.5rem 5%;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(26, 26, 26, 0.95); z-index: 1000;
    border-bottom: 1px solid #333;
}
.logo { font-size: 1.2rem; font-weight: 800; color: var(--text-main); letter-spacing: 1px; text-transform: uppercase; }
.nav-links { list-style: none; display: flex; gap: 2rem; }
.nav-links a { font-size: 0.9rem; font-weight: 500; text-transform: uppercase; color: #ddd; }
.nav-links a:hover { color: var(--accent); }
.menu-toggle { display: none; color: white; font-size: 1.5rem; }

.hero {
    height: 100vh;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    text-align: center;
    position: relative;
    /* Imagen nocturna de Unsplash restaurada */
    background: url('https://images.unsplash.com/photo-1534447677768-be436bb09401?q=80&w=2094&auto=format&fit=crop') no-repeat center center/cover;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content { position: relative; z-index: 2; padding: 0 1rem; max-width: 800px; }

.first-title {
    font-size: 1.2rem;
    color: var(--text-main);
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.header-name {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

.txt-type {
    color: var(--accent);
    border-right: 0.08em solid #fff;
    animation: blink 0.7s infinite;
}

.header-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 1.5rem;
    max-width: 600px;
    margin: 1.5rem auto;
}

.btn-outline {
    padding: 12px 35px;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 2rem;
    display: inline-block;
}
.btn-outline:hover { background: #fff; color: #000; }

.scroll-down {
    position: absolute; bottom: 30px; z-index: 2;
    animation: bounce 2s infinite; font-size: 1.5rem; color: #fff;
}

.section-container { padding: 6rem 8%; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.line-center { width: 50px; height: 2px; background: var(--accent); margin: 1rem auto; }

.row { display: flex; gap: 4rem; align-items: center; }
.col-img, .col-text { flex: 1; }

.about-img-frame { 
    border-radius: 5px; 
    overflow: hidden;
}

.info-list { list-style: none; margin: 2rem 0; }
.info-list li { margin-bottom: 10px; color: var(--text-muted); }
.info-list strong { color: var(--text-main); margin-right: 10px; }

.services-grid, .gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-box {
    background: #2a2a2a; padding: 2.5rem; text-align: center;
    border-radius: 5px; transition: 0.3s;
}
.service-box:hover { transform: translateY(-5px); }
.service-box i { font-size: 2.5rem; color: var(--accent); margin-bottom: 1.5rem; }
.service-box h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.service-box p { font-size: 0.9rem; color: var(--text-muted); }

.project-card { background: #2a2a2a; border-radius: 5px; overflow: hidden; }
.video-container { width: 100%; aspect-ratio: 16/9; background: #000; }
.video-container iframe { width: 100%; height: 100%; border: none; }
.project-info { padding: 1.5rem; text-align: center; }
.project-info h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.project-info p { font-size: 0.85rem; color: var(--accent); text-transform: uppercase; }

.events-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.event-card {
    background: #222; 
    display: flex;
    align-items: center;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #333;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.event-card:hover {
    transform: translateX(10px); 
    border-color: var(--accent);
}

.event-date {
    background: #1a1a1a;
    min-width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--accent);
    margin-right: 2rem;
}

.event-date .day {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
}

.event-date .month {
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 5px;
}

.event-info {
    flex: 1;
}

.event-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.event-location {
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-event {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 600;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 2px;
}

.btn-event:hover {
    color: var(--accent);
    padding-left: 5px; 
}

.contact-wrapper { display: flex; gap: 4rem; }
.contact-info, .contact-form { flex: 1; }
.info-item { text-align: center; margin-bottom: 2rem; }
.info-item i { font-size: 2rem; color: var(--accent); margin-bottom: 10px; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 12px; margin-bottom: 1rem;
    background: #2a2a2a; border: 1px solid #444; color: white; outline: none;
    border-radius: 5px;
}
.btn-solid {
    background: var(--accent); color: #000;
    padding: 12px 35px; border: none; font-weight: bold; cursor: pointer;
    border-radius: 50px;
}

footer { text-align: center; padding: 2rem; background: #111; color: #666; font-size: 0.9rem; }

@keyframes blink { 0% { border-color: transparent; } 50% { border-color: #fff; } }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform: translateY(0);} 40% {transform: translateY(-10px);} 60% {transform: translateY(-5px);} } 

@media (max-width: 768px) {
    .row, .contact-wrapper { flex-direction: column; }
    .header-name { font-size: 2.5rem; }
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .event-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    .event-date {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    .event-location {
        justify-content: center;
    }

    .nav-links.nav-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(26, 26, 26, 0.98);
        padding: 2rem;
        gap: 1.5rem;
        z-index: 999;
    }
}