/* Variables de colores */
:root {
    --Limed-Spruce: #324c4b;
    --white: #ffffff;
    --Old-Gold: #D4AF37;
    --Bright-Gray: #ECECEC;
    --Turquoise-Green: #A8D5BA;
    --Light-red: #F7CAC9;
    --Orange-life: #dd8e4c;
    --Green-life: #578583;
}

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

body,
html {
    overflow-x: hidden;
    height: 100%;
    font-family: 'Ubuntu', sans-serif;
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    background: var(--white);
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    width: 100%;
    max-width: 1300px;
    padding: 0 50px;
    margin: 0 auto;
}

#navbar__logo img {
    max-width: 100px;
    max-height: 60px;
    border-radius: 20px;
    padding: 5px;
    object-fit: contain;
}

.navbar__menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    text-align: center;
}

.navbar__menu li a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    transition: color 0.2s ease;
}

.navbar__menu li a:hover {
    color: #b08f6e;
    transition: all 0.3s ease;
}

/* Toggle para móvil */
.navbar__toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.navbar__toggle .bar {
    height: 3px;
    width: 25px;
    background-color: #000;
    margin: 4px 0;
    transition: 0.3s;
}

/* Responsive */
@media screen and (max-width: 960px) {
    .navbar__toggle {
        display: flex;
    }

    .navbar__menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: #131313;
        opacity: 0;
        height: 0;
        overflow: hidden;
        transition: all 0.5s ease;
    }

    .navbar__menu.active {
        opacity: 1;
        height: auto;
        padding: 20px 0;
    }

    .navbar__menu li a {
        color: #fff;
        padding: 15px 0;
    }

    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

:root {
    --Limed-Spruce: #324c4b;
    --white: #ffffff;
    /* - Color principal */
    --Old-Gold: #D4AF37;
    --Bright-Gray: #ECECEC;
    --Turquoise-Green: #A8D5BA;
    --Light-red: #F7CAC9;
    --Orange-life: #dd8e4c;
    --Green-life: #578583;
}

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@631&family=Dancing+Script:wght@400..700&family=Gothic+A1&family=Pacifico&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Quicksand:wght@300..700&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body,
html {
    overflow-x: hidden;
    height: 100%;
    margin: 0;
}

.navbar {
    background: var(--white);
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

#navbar__logo {
    background-color: #ff8177;
    background-color: #3D4F39;
    background-size: 100%;
    font-family: "Imperial Script", cursive;
    font-weight: 450;
    font-style: normal;
    /* background-color: #000000; */
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2.5rem;
}

.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
    text-align: center;
}

.navbar li a {
    text-decoration: none;
    color: #000;
    transition: color 0.2s ease;
    font: 1em 'Ubuntu', sans-serif;
    font-weight: bolder;
    cursor: pointer;
}

.navbar__item {
    height: 80px;
}

.navbar__links {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 125px;
    text-decoration: none;
    height: 100%;
    transition: all 0.3s ease;
}

.navbar__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: 100%;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    border-radius: 4px;
    background: #1a2a6c;
    background: -webkit-linear-gradient(to right, #fdbb2d, #b21f1f, #1a2a6c);
    background: linear-gradient(to right, #fdbb2d, #b21f1f, #1a2a6c);
    color: #fff;
    transition: all 0.3 ease;
}

.navbar__links:hover {
    color: #8734f3;
    transition: all 0.3 ease;
}

@media screen and (max-width: 960px) {
    .navbar__container {
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }

    .navbar__menu.active {
        background: #131313;
        top: 100%;
        opacity: 1;
        transition: all 0.5s ease;
        z-index: 99;
        height: 60vh;
        font-size: 1.6rem;
    }

    #navbar__logo {
        padding-left: 25px;
    }

    .navbar__toggle .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: #fff;
    }

    .navbar__item {
        width: 100%;
    }

    .navbar__links {
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
    }

    .navbar__btn {
        padding-bottom: 2rem;
    }

    .button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 80px;
        margin: 0;
    }

    #mobile-menu {
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%);
    }

    .navbar__toggle .bar {
        display: block;
        cursor: pointer;
    }

    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

.highlight {
    border-bottom: 4px solid rgb(132, 0, 255);
}

@media screen and (max-width: 768px) {
    .main__btn {
        font-size: 0.8rem;
        background: #f8fbca;
        padding: 20px 60px;
        border: none;
        border-radius: 8px;
        color: #2C3434;
        margin-top: 2rem;
        cursor: pointer;
        position: relative;
        transition: all 0.35s;
        outline: none;
    }
}

.main__btn {
    font-size: 1.8rem;
    background: #f8fbca;
    padding: 20px 60px;
    border: none;
    border-radius: 8px;
    color: #3D4F39;
    margin-top: 2rem;
    cursor: pointer;
    position: relative;
    transition: all 0.35s;
    outline: none;
}

.main__btn a {
    position: relative;
    z-index: 2;
    color: #0d0c0c;
    text-decoration: none;
}

.main__btn:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #FC354C;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #0ABFBC, #FC354C);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #0ABFBC, #FC354C);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    transition: all 0.35s;
    border-radius: 4px;
}

.main__btn:hover {
    background: #f8fbca;
    color: #2C3434;
    transform: translateY(-3px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

.main__img--container {
    text-align: center;
}

.main__img--card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1;
    height: auto;
    margin: 0 auto;
    border-radius: 40px;
    overflow: hidden;
}

.name_qr {
    display: block;
    border-radius: 50px;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

#card-2 {
    background: #fdbb2d;
    background: -webkit-linear-gradient(to right, #0ABFBC, #FC354C);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #0ABFBC, #FC354C);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

/* Mobile Responsive */
@media screen and (max-width: 1100px) {
    .main__container {
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
        width: 100%;
        margin: 0 auto;
        height: 90%;
    }

    .main__img--container {
        display: flex;
        justify-content: center;
    }

    .main__img--card {
        height: 425px;
        width: 425px;
    }

    .main__content {
        text-align: center;
        margin-bottom: 4rem;
    }

    .main__content h1 {
        font-size: 2.5rem;
        margin-top: 2rem;
    }

    .main__content h2 {
        font-size: 3rem;
    }

    .main__content p {
        margin-top: 1rem;
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .main__img--card {
        width: 250px;
        height: 250px;
    }

    .fa-users,
    .fa-layer-group {
        font-size: 4rem;
    }

    .main__content h1 {
        font-size: 2rem;
        margin-top: 3rem;
    }

    .main__content h2 {
        font-size: 2rem;
    }

    .main__content p {
        margin-top: 2rem;
    }
}

.main__btn {
    padding: 12px 36px;
    margin: 2.5rem 0;
}

/* Seccion de Tarjetas yay! */
/* Botones */
.services__btn {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
    flex-direction: row;
}

.services__btn button {
    background: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 1rem;
}

.btn-img {
    display: inline-block;
    padding: 8px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.btn-img img {
    height: 30px;
    width: auto;
    display: block;
}

.btn-img:hover {
    transform: scale(1.05);
}

.services__btn button a {
    text-decoration: none;
    color: black;
}

.btn-maps {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    font-weight: 600;
    color: black;
    transition: transform 0.2s ease;
}

.btn-maps:hover {
    transform: scale(1.05);
}

.btn-maps svg {
    stroke: #324C4B;
    /* O cualquier color de tu paleta */
}

.btn-maps img {
    height: 20px;
    width: auto;
    margin-right: 8px;
    vertical-align: middle;
}

/* Footer */
.footer__container {
    background-color: #131313;
    padding: 5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#footer__logo {
    color: #fff;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
}

.footer__links {
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
}

.footer__link--wrapper {
    display: flex;
}

.footer__link--items {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 16px;
    text-align: left;
    width: 160px;
    box-sizing: border-box;
}

.footer__link--items h2 {
    margin-bottom: 16px;
    color: #fff;
}

.footer__link--items a {
    color: #fff;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: 0.3 ease-out;
}

.footer__link--items a:hover {
    color: #e9e9e9;
    transition: 0.3 ease-out;
}

.social__icon--link {
    color: #fff;
    font-size: 24px;
}

.social__media {
    max-width: 1000px;
    width: 100%;
}

.social__media--wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1000px;
    margin: 40px auto 0 auto;
}

.social__icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 240px;
}

.website__rights {
    color: #fff;
}

@media screen and (max-width: 820px) {
    .footer__links {
        padding-top: 1rem;
    }

    #footer__logo {
        margin-bottom: 1rem;
    }

    .website__rights {
        margin-bottom: 1rem;
    }

    .footer__link--wrapper {
        flex-direction: column;
    }

    .social__media--wrap {
        flex-direction: column;
    }
}

@media screen and (max-width: 480px) {
    .footer__link--items {
        margin: 0;
        padding: 10px;
        width: 100%;
    }
}

.custom-alert {
    display: none;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
    z-index: 1000;
}

.card {
    background: white;
    width: 400px;
    margin: 20px auto;
    padding: 15px;
    border-radius: 10px;
    height: 290px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.card:hover {
    transform: scale(1.05);
}

.card h3 {
    margin: 0;
    color: #333;
}

.card p {
    color: #666;
    font-size: 14px;
}

select {
    padding: 10px;
    margin-left: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

select:focus {
    outline: none;
    border-color: #007BFF;
}

.content h3 {
    margin: 0;
    font-size: 1.4em;
    color: #333;
}

.content span {
    font-style: italic;
    color: #8c5e2a;
}

.group-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: #6b4c3b;
    margin-bottom: 10px;
}

.padrinos-group p {
    font-family: 'Open Sans', sans-serif;
    margin: 4px 0;
    color: #444;
    font-size: 0.95rem;
}

@keyframes pop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.alert {
    padding: 10px;
    margin-top: 10px;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
}

.alert-danger {
    border: 1px solid #f5c6cb;
    background-color: #f8d7da;
    color: #721c24;
}

.custom-alert-search {
    background-color: #f44336;
    /* rojo */
    color: white;
    padding: 10px 20px;
    margin: 10px 0;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    animation: fadeInOut 3s forwards;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    10% {
        opacity: 1;
        transform: translateY(0);
    }

    90% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* FOOTER */
footer.footer {
    background-color: #0a0a0a;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    border-top: 2px solid #222;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
}

.footer-social {
    display: flex;
    gap: 25px;
}

.footer-social a {
    color: #bbb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #fff;
}

.footer-copy {
    font-size: 0.9rem;
    color: #888;
    margin-top: 10px;
}

@media (max-width: 600px) {
    .footer-social {
        flex-direction: column;
        gap: 10px;
    }
}