/* GLOBAL */
body {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
}

.display-5 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

section [class^="container"] {
    padding: 4rem 2rem;
}

@media screen and (min-width: 1024px) {
    section [class^="container"] {
        padding: 4rem;
    }

    nav [class^="container"] {
        padding: 0 4rem;
    }
}

/* NAVBAR */
.navbar {
    background-color: #484acc;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 500;
    font-size: 1.5rem;
    color: #ffffff;
}

.navbar-brand:hover {
    color: rgba(255, 255, 255, 0.9);
}

.navbar-nav {
    margin: 0 auto;
}

.navbar-nav .nav-link {
    color: #ffffff;
    font-weight: 400;
    font-size: 1.1rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    font-family: 'Ubuntu', sans-serif;
}

.nav-link:hover {
    color: #bad5f0;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media screen and (max-width: 1024px) {
    .navbar-nav .nav-item {
        padding: 0 1rem;
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        background-color: #484acc;
    }
    
    .navbar-collapse {
        background-color: #484acc;
        padding: 1rem;
        border-radius: 0.5rem;
    }
}

/* Hero section */
section.hero {
    background-color: #161e41;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    overflow: hidden;
    font-family: 'Ubuntu', sans-serif;
}

.hero .row {
    width: 100%;
    margin: 0;
}

.hero .text-content {
    padding: 2rem;
}

.hero .text-content .text-md-end {
    max-width: 600px;
    margin-left: auto;
}

.hero img {
    height: 100vh;
    width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero .btn-outline-light {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero .btn-outline-light i {
    font-size: 1.2rem;
}

.hero .btn-outline-light:hover {
    background-color: #ffffff;
    color: #161e41;
    transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
    section.hero {
        text-align: center;
        min-height: auto;
    }

    .hero .text-content {
        padding: 4rem 2rem;
    }

    .hero .text-content .text-md-end {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero img {
        height: 60vh;
    }

    .hero .d-flex {
        justify-content: center !important;
    }
}

/* SERVICES */
section.services {
    background-color: #e6e7e9;
    padding: 6rem 0;
    font-family: 'Ubuntu', sans-serif;
}

section.services .service-card {
    background-color: #484acc;
    color: #ffffff;
    border: none;
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

section.services .service-card:hover {
    transform: translateY(-10px);
}

section.services .icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #161e41;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

section.services .icon-wrapper i {
    font-size: 2rem;
    color: #ffffff;
}

section.services h2 {
    color: #161e41;
}

section.services .card-title {
    font-size: 1.5rem;
}

section.services .card-text {
    font-size: 1rem;
    opacity: 0.9;
}

@media screen and (max-width: 768px) {
    section.services {
        padding: 4rem 0;
    }
    
    section.services .service-card {
        margin: 0 1rem;
    }
}

/* PROJECTS */

section.projects {
    background-color: #f8f9fa;
    padding: 6rem 0;
    font-family: 'Ubuntu', sans-serif;
}

section.projects h2 {
    color: #161e41;
}

section.projects .portfolio-card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin: 0 auto;
    max-width: 350px;
}

section.projects .portfolio-card:hover {
    transform: translateY(-10px);
}

section.projects .portfolio-card .card-body {
    padding: 1.5rem;
}

section.projects .portfolio-card .card-title {
    color: #161e41;
    margin-bottom: 1rem;
}

section.projects .portfolio-card .card-text {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

section.projects .portfolio-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

section.projects .btn-outline-primary {
    color: #484acc;
    border-color: #484acc;
}

section.projects .btn-outline-primary:hover {
    background-color: #484acc;
    color: #ffffff;
}

@media screen and (max-width: 768px) {
    section.projects {
        padding: 4rem 0;
    }
}

section.contacto {
    background-color: #484acc;
    color: #ffffff;
    text-align: center;
    padding: 6rem 0;
    font-family: 'Ubuntu', sans-serif;
}

.contact-form-wrapper {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper .form-label {
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-form-wrapper .form-control {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 0.5rem;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form-wrapper .form-control:focus {
    background-color: #ffffff;
    box-shadow: 0 0 0 0.25rem rgba(22, 30, 65, 0.25);
}

.contact-form-wrapper textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.btn-hero {
    background-color: #161e41;
    color: #ffffff;
    border: none;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background-color: #1a2550;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 768px) {
    section.contacto {
        padding: 4rem 0;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* FOOTER */
.footer {
    background-color: #161e41;
    padding: 3rem 0 1.5rem;
    font-family: 'Ubuntu', sans-serif;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer .social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
}

.footer .social-link {
    color: #ffffff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.footer .social-link:hover {
    color: #484acc;
    transform: translateY(-3px);
}

.footer-divider {
    margin: 2rem 0;
    border-color: rgba(255, 255, 255, 0.1);
}

@media screen and (max-width: 768px) {
    .footer .social-links {
        justify-content: center;
    }
}