/* === DELTARUNE THEMED CSS === */

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background-color: #0a0a23;
    color: #ffffff;
    line-height: 1.6;
}

a {
    color: #7dd3fc;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #38bdf8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: linear-gradient(to bottom, #1a1a40, #0a0a23);
    padding: 1rem 0;
    border-bottom: 4px solid #7e22ce;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);   
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 20px;
}

/* Hero Section */
.hero {
    position: relative;
    display: flex;               /* 👈 Activa Flexbox */
    flex-direction: column;
    justify-content: center;     /* 👈 Centrado vertical */
    align-items: center;         /* 👈 Centrado horizontal */
    text-align: center;
    padding: 20px;
    color: white;
    overflow: hidden;
    min-height: 80vh;
}


.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10;
    width: 70%;
    height: 100%;
    background-image: url("/Proyectos/img/fuego_morado.gif");
    background-size: cover;        /* ✅ Abarca todo el fondo */
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
    z-index: -1;                   /* ✅ Se pone detrás del contenido */
}


.hero h1 {
    font-size: 3rem;
    color: #a78bfa;
}

.hero p {
    font-size: 1.2rem;
    margin: 20px 0;
}

.btn-cta {
    display: inline-block;
    background: #7e22ce;
    color: #fff;
    padding: 12px 30px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.btn-cta:hover {
    transform: scale(1.05);
    background: #a855f7;
}

/* Intro Section */
.intro {
    padding: 60px 20px;
    background: #15152f;
}

.intro-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.intro-content article {
    flex: 1 1 500px;
    margin: 20px;
    color: #d1d5db;
}

.intro-content figure {
    flex: 1 1 400px;
    margin: 20px;
}

.intro-content img {
    max-width: 100%;
    border: 5px solid #7e22ce;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}

/* Stats Box */
.stats-box {
    padding: 40px 20px;
    background: #0f0f2f;
    color: #d1d5db;
    text-align: center;
}

.stats-box ul {
    list-style: none;
    padding: 0;
}

.stats-box li {
    margin: 10px 0;
    font-size: 1.2rem;
}

/* Quotes Slider */
.quotes-slider {
    padding: 40px 20px;
    background: #1a1a40;
    color: #fff;
    text-align: center;
}

.quotes-slider blockquote {
    font-style: italic;
    margin: 20px auto;
    max-width: 600px;
    border-left: 4px solid #7e22ce;
    padding-left: 20px;
}

/* Gallery */
.gallery {
    padding: 40px 20px;
    background: #15152f;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    border: 4px solid #7e22ce;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7);
}

/* Footer */
.site-footer {
    background: #111133;
    text-align: center;
    padding: 20px 0;
    color: #9ca3af;
    border-top: 4px solid #7e22ce;
}

.footer-content p {
    margin: 10px 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }
    .intro-content {
        flex-direction: column;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }
}

/* Extra Touch: Subtle Text Glow */
h1, h2, h3 {
    text-shadow: 0 0 8px #7e22ce;
}
