/* ==============================================
   ADIDA - Asociación De Desarrollo Integral Deseret Atitlán
   Estilos compilados para sitio estático
   ============================================== */

/* Variables */
:root {
    --main-color: #041F1B;
    --main-color2: #0C3F36;
    --navbar-background: #041F1B;
    --yellow-primary: #FFDE59;
    --yellow-secondary: #F4D456;
}

/* General Styles */
body, html {
    height: 100%;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

.overflow-hidden {
    overflow: hidden;
}

/* Footer */
footer {
    position: sticky;
    top: 100vh;
    padding: 4rem 0 2rem;
    background-color: var(--main-color);
}

footer a {
    text-decoration: none;
    transition: opacity 0.2s ease;
}

footer a:hover {
    opacity: 1 !important;
}

footer ul li {
    transition: transform 0.2s ease;
}

footer ul li:hover {
    transform: translateX(3px);
}

/* Navbar */
.navbar {
    padding: 1.2rem 1rem;
    background-color: var(--navbar-background);
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
}

.navbar .nav-link {
    text-decoration: none;
    color: #fff;
    padding: .5rem .6rem;
    font-size: .9rem;
    color: rgba(255, 255, 255, 1);
}

.navbar .nav-link:hover {
    opacity: 0.8;
}

.navbar .nav-btn-contribute {
    background-color: rgb(255, 222, 89);
    border-radius: 30px;
    color: #000;
    padding: .5rem 1.5rem;
    box-shadow: 0px 3px 0px #dcae0a;
    font-size: .9rem;
    font-weight: bold;
}

.navbar .nav-btn-contribute:active {
    box-shadow: 0px 3px 0px rgb(255, 222, 89);
}

.navbar-brand img {
    display: inline-block;
    vertical-align: middle;
}

/* Cover Section */
#cover {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    position: relative;
    background: url('../images/img/banner22.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    z-index: 500;
}

#cover-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(
        180deg,
        rgba(4, 31, 27, 0.7) 0%,
        rgba(4, 31, 27, 0.5) 50%,
        rgba(4, 31, 27, 0.8) 100%
    );
}

#cover-overlay .btn:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

/* About Section */
#about .container {
    padding: 7rem 0;
}

#about .title {
    font-weight: 800;
}

#about .subtitle {
    font-size: 1.4rem;
}

#about .description {
    font-weight: 300;
    text-align: justify;
    color: rgba(0, 0, 0, 0.7);
}

#about .row .col i {
    font-size: 10rem;
    color: #474747;
}

/* Yellow Buttons */
.yellow-button {
    background: var(--yellow-secondary);
    padding: 1rem;
    border: 0;
    display: block;
    text-decoration: none;
    color: #000000;
    font-weight: 700;
    border-radius: 4px;
    text-align: center;
}

.yellow-button:hover {
    opacity: 0.9;
}

/* Misión y Visión */
#mision-y-vision .container {
    padding: 3rem 0;
}

#mision-y-vision .row {
    margin: 2.5rem 0.5rem;
    padding: 2.5rem 1.5rem;
}

@media (min-width: 992px) {
    #mision-y-vision .row {
        padding: 5rem 3.5rem;
        margin: 0;
    }
}

/* Áreas de Enfoque */
#areas-de-enfoque {
    margin-top: 3rem;
}

/* Proyectos en Desarrollo */
#proyectos-en-desarrollo {
    margin: 2rem 1rem;
    padding: 3rem 4rem;
}

#proyectos-en-desarrollo .row .col article {
    text-align: center;
}

#proyectos-en-desarrollo .row .col article i {
    font-size: 6rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #3f3e3e;
}

#proyectos-en-desarrollo .row .col article p {
    font-size: 1.5rem;
}

/* Nuestro Equipo */
#nuestro-equipo {
    margin: 4rem 0;
}

#nuestro-equipo .card-avatar .photo {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    background-color: #ddd;
    font-size: 3rem;
    text-align: center;
    margin: auto;
}

#nuestro-equipo .card-avatar .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#nuestro-equipo .card-avatar .name {
    text-align: center;
    font-weight: 600;
    font-size: 1.2rem;
    margin: .6rem;
}

#nuestro-equipo .card-avatar .title {
    text-align: center;
    color: #666;
}

/* Contact Section */
#contact-us {
    margin: 3rem 0;
}

#contact-form {
    max-width: 800px;
    margin: auto;
    padding: 2rem;
}

/* Blog Styles */
.blog_posts {
    max-width: 800px;
    margin: auto;
}

.blog_posts .card {
    border: 0 !important;
}

.blog_posts .card a {
    text-decoration: none;
}

.blog_posts .card-text {
    font-size: 0.9rem;
    text-align: justify;
}

.blog_posts .card .card-title {
    color: #000;
    font-weight: 600;
}

.blog_posts .card .card-text {
    color: #000;
    font-size: 0.9rem;
}

.blog_posts .card .card-btn {
    margin-top: 0.5rem;
    color: #0076fd;
    font-size: 0.7rem;
    font-weight: 600;
    outline: none;
    border: none;
    border-radius: 4px;
}

.blog_posts .card .card-btn:hover {
    text-decoration: underline;
}

/* Latest Posts */
.latests-posts .col {
    padding: 1rem;
    margin-bottom: 2rem;
}

.latests-posts .col:hover {
    background-color: rgba(0, 0, 0, .1);
}

.latests-posts .col a {
    text-decoration: none;
}

.latests-posts .col a .card {
    background-color: transparent;
    border: 0 !important;
}

.latests-posts .col a .card-body {
    padding: 0 !important;
}

.latests-posts .col a .card-title {
    color: #105fce;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-white {
    color: white;
}

.text-secondary {
    color: #6c757d;
}

.text-gray-700 {
    color: #374151;
}

.fw-bold {
    font-weight: 700;
}

.fw-semibold {
    font-weight: 600;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-5 {
    margin-top: 3rem;
}

.my-3 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.my-4 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.my-5 {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.p-4 {
    padding: 1.5rem;
}

.px-3 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-5 {
    padding-left: 3rem;
    padding-right: 3rem;
}

.py-3 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-4 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.pt-4 {
    padding-top: 1.5rem;
}

.pb-5 {
    padding-bottom: 3rem;
}

.d-block {
    display: block;
}

.d-inline-block {
    display: inline-block;
}

.w-100 {
    width: 100%;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.rounded {
    border-radius: 0.375rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.display-2 {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
}

.display-3 {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
}

.display-5 {
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.2;
}

.small {
    font-size: 0.875rem;
}

.m-0 {
    margin: 0;
}

.list-group {
    list-style: none;
    padding: 0;
}

.list-group-item {
    padding: 0.5rem 0;
}

.bg-transparent {
    background-color: transparent !important;
}

.border-0 {
    border: 0 !important;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Links */
a {
    color: inherit;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.8;
}
