/* https://coolors.co/2c3e50-e74c3c-ffffff-3498db-95a3b3 */

/* ========================
Utilities
======================== */

* {
    box-sizing: border-box;
}

.cf::before,
.cf::after {
    content: "";
    display: table;
}

.cf::after {
    clear: both;
}

html {
    position: relative;
}

img {
    max-width: 100%;
}

/* ========================
Global
======================== */

body {
    color: #444;
    font-family: Roboto, sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 1;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
p {
    margin-top: 0;
}

h1 {
    font-weight: 900;
}

p {
    line-height: 1.5;
}

a,
a:hover,
a:focus,
a:active,
a:visited {
    color: #E74C3C;
    text-decoration: underline;
}

/* ========================
Containers
======================== */

.container-fluid {
    padding: 0 1em;
}

.container {
    margin: 0 auto;
    max-width: 996px;
}

/* ========================
Navigation
======================== */

@keyframes show-header {
    0% {
        top: -4em;
        opacity: 0;
    }

    100% {
        top: 0;
        opacity: 1;
    }
}

nav {
    background-color: #fff;
    box-shadow: 0 2px 2px rgba(0, 0, 0, .45);
    position: relative;
    top: 0;
}

nav a,
nav a:hover,
nav a:focus,
nav a:active,
nav a:visited {
    text-decoration: none;
}

nav .brand {
    display: inline-block;
    float: left;
    font-size: 1.25em;
    font-weight: 900;
}

nav .brand a {
    color: #444;
    display: block;
    padding: 1em 0;
}

nav .nav-toggle {
    color: #444;
    cursor: pointer;
    display: inline-block;
    float: right;
    font-size: 1.25em;
    padding: 1em 0;
    z-index: 1000
}

nav ul {
    border-top: 1px solid #ccc;
    clear: both;
    list-style: none;
    margin: 0 -1em;
    padding: 0;
    z-index: 999;
}

nav ul li {
    border-bottom: 1px solid #ccc;
    text-align: right;
}

nav ul li a {
    color: #444;
    display: block;
    padding: .75em;
}

nav.sticky {
    animation: show-header .5s ease;
    position: fixed;
    top: 0;
    width: 100%;
}

/* ========================
Sections
======================== */

.splash {
    background: linear-gradient(#2f1544cf, #ffed2364),
        url('assets/img/banner.jpeg');
    background-size: cover;
    color: #ffffff;
}

.splash .container {
    padding-top: 25vh;
    /* No JS fallback*/
    padding-bottom: 25vh;
    /* No JS fallback*/
}

.profile-image {
    border-radius: 50%;
    display: block;
    max-width: 200px;
    margin: 0 auto 1em;
    width: 100%;
}

.splash h1 {
    font-size: 3em;
    margin-bottom: .12em;
    text-align: right;
}

.about-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding: 40px 0;
}

.about-text {
    flex: 1 1 60%;
    text-align: justify;
    padding-inline: 40px;
    font-size: 16px;
}

.about-image {
    flex: 1 1 35%;
}

.about-image img {
    max-width: 70%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .about-flex {
        flex-direction: column;
        text-align: center;
    }

    .about-text,
    .about-image {
        flex: 1 1 100%;
    }

    .about-image img {
        max-width: 90%;
        margin: 0 auto;
    }
}


@media screen and (max-width: 700px) {
    .intro-section {
        text-align: center;
        font-size: 16px;
        margin-top: 10px;
    }

    .splash h1 {
        font-size: 3em;
        margin-bottom: .12em;
        text-align: center;
    }

    .lead {
        display: block;
        text-align: center;
        margin: 10px auto;
    }

    .bottom-links {
        text-align: center;
        margin-top: 10px;
    }

    .carousel-track img {
        width: 90%;
        max-height: 100px;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }

}

.splash .lead {
    display: block;

}


.splash .lead {
    font-size: 1.5em;
    font-weight: 100;
    margin-bottom: 1em;
}



.intro-section {
    text-align: right;
    margin-top: 20px;
    /* ajusta según tu diseño */
}

.carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-track img {
    width: 100%;
    height: 400px;
    /* Ajusta esta altura como prefieras */
    flex: 0 0 100%;
    object-fit: cover;
}


.bottom-links a {
    color: #ffffff;
    margin: 0 12px;
    text-decoration: none;
    font-weight: 500;
}

.intro .container {
    padding: 5em 0;
}

.intro {
    text-align: center;
}

.intro {
    background-color: #2f1544;
    color: #fff;
}

.intro a,
.intro a:hover,
.intro a:focus,
.intro a:active,
.intro a:visited {
    color: #fff;
}

.gallery .gallery-image {
    margin: 1em auto;
    width: 100%;
}

.gallery .gallery-image img {
    background-color: #23648F;
    border-radius: 4px;
    display: block;
    height: auto;
    padding: 6px;
    width: 100%;
}


/* ========================
Footer
======================== */
.footer {
    background-color: #986d10;
    color: #ffffff;
    padding: 70px 15px 15px;
    font-family: sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.footer-column {
    flex: 1 1 220px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #f1c40f;
}

.footer-column p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.arroba p {
    font-size: 0.9rem;
    color: #000000;
    font-weight: bold;
}

.social-icons a {
    color: #ffffff;
    margin-right: 10px;
    font-size: 1.4rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #f1c40f;
}

.brand-logo {
    height: 110px;
    margin-right: 10px;
    margin-top: 5px;
    background-color: #fff;
    padding: 4px;
    border-radius: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 0.85rem;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-column {
        margin-bottom: 20px;
    }

    .brand-logo {
        display: inline-block;
        margin: 5px;
    }
}


/* ========================
Media Queries
======================== */

@media (min-width: 768px) {

    nav .nav-toggle {
        display: none;
    }

    nav ul {
        border: none;
        clear: none;
        display: inline-block !important;
        float: right;
        margin: 0;
        padding: 25px 0;
    }

    nav ul li {
        border: none;
        display: inline-block;
        float: left;
        margin-right: 1.5em;
    }

    nav ul li:last-of-type {
        margin-right: 0;
    }

    nav ul li a {
        padding: 0;
    }

    .splash h1 {
        font-size: 4em;
    }

    .splash .lead {
        font-size: 3em;
    }

    .gallery .gallery-image {
        float: left;
        margin-right: 2.5%;
        width: 31.6666666667%;
    }

    .gallery .gallery-image:nth-of-type(3n) {
        margin-right: 0;
    }

}