@font-face {
    font-family: "Nexa Extra Light";
    src: url("assets/fonts/Nexa-ExtraLight.ttf");
}

@font-face {
    font-family: "Nexa Heavy";
    src: url("assets/fonts/Nexa-Heavy.ttf");
}

@font-face {
    font-family: "Nexa";
    src: url("assets/fonts/Nexa-Light.woff2") format("woff2");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Nexa";
    src: url("assets/fonts/Nexa-Black.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

html {
    background-color: #121212;
    color: #E3E2DE;
    font-family: "Nexa Extra Light";
}

body {
    background: transparent;
}

.clip {
    position: relative;
    overflow: hidden;
}

.background {
    transform: skewX(50deg) scaleY(200%);
    letter-spacing: -50px;
    font-family: "Nexa Heavy";
    margin: 0;
    font-size: 700px;
    text-wrap-mode: nowrap;
    background: linear-gradient(
        to bottom,
        #FFC971 0%,
        rgba(18,18,18, 0.1) 70%,
        rgba(18,18,18, 0.05) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: absolute;
    top: -375px;
    left: -75px;
    user-select: none;
    z-index: -1;
    pointer-events: none;
}

#presentation {
    font-family: "Nexa Heavy";
    text-align: center;
    width: fit-content;
    margin: 100px auto 150px auto;
    padding-top: 50px;
}

h1 {
    font-size: 64px;
    height: 72px;
}

#name {
    color: #FFC971;
}

#status {
    font-size: 24px;
}

strong {
    color: #FFC971;
}

.navbar-custom-top {
    background-color: #121212;
    padding: 20px 0;
    border-bottom: 1px solid #3A3A3A;
}

.navbar-custom-top .navbar-brand {
    font-family: "Nexa Heavy";
    font-size: 24px;
}

.brand-name {
    color: #FFC971;
}

.navbar-custom-top .navbar-nav {
    gap: 10px;
}

.navbar-custom-top .nav-link {
    color: #E3E2DE;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar-custom-top .nav-link:hover {
    color: #FFC971;
    background-color: #ffc9711a;
}

.navbar-custom-top .nav-link.active {
    color: #FFC971;
    background-color: #ffc9711a;
}

.burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 5px;
    background-color: #FFC9711A;
    color: #E3E2DE;
    padding: 10px 15px;
    font-size: 18px;
    cursor: pointer;
}

.burger:hover {
    background-color: #FFBE641A;
}

.burger:active,
.burger:focus {
    background-color: #E0A54D1A;
    outline: none;
    box-shadow: none;
}

.burger span {
    font-size: 24px;
}

@media (max-width: 991.98px) {
    .navbar-custom-top .navbar-collapse {
        margin-top: 15px;
        padding: 15px;
        background-color: #ffc9711a;
        border-radius: 10px;
    }
    
    .navbar-custom-top .nav-link {
        margin: 5px 0;
    }
}

h2 {
    font-family: "Nexa Heavy";
    font-size: 24px;
    color: #E3E2DE;
}

h3 {
    font-family: "Nexa Heavy";
    color: #E3E2DE;
}

hr {
    margin: 0;
    color: #3A3A3A;
    opacity: 1;
}

main hr {
    margin-bottom: 15px;
}

p {
    font-size: 18px;
    text-align: justify;
    color: #E3E2DE;
}

.btn-custom {
    border: none;
    padding: 10px 25px;
    background-color: #FFC971;
    color: #121212;
    font-family: "Nexa Heavy";
    border-radius: 5px;
    cursor: pointer;
}

.btn-custom:hover {
    background-color: #FFBE64;
    color: #121212;
}

.btn-custom:active {
    background-color: #E0A54D;
}

.skill-card {
    background-color: transparent;
    border: 1px solid #3A3A3A;
    border-radius: 15px;
    min-height: 180px;
    height: 100%;
    transition: transform 0.2s, border-color 0.2s;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: #FFC971;
}

.skill-card .card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.skill-card .card-text {
    font-size: 16px;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    color: #E3E2DE;
}

.icon {
    width: 96px;
    height: 96px;
    color: #E3E2DE;
}

.small-icon {
    width: 18px;
    height: 18px;
}

footer .icon {
    width: 18px;
    height: 18px;
}

a,
a > .icon {
    color: #5E92F3;
    text-decoration: none;
}

a:hover,
a:hover > .icon {
    color: #82B1FF;
}

a[target="_blank"]::after {
    content: "↗";
    margin-left: 3px;
}

footer {
    background-color: #121212;
    padding-top: 40px;
    padding-bottom: 20px;
}

footer .background {
    top: -250px;
}

.footer-wrapper {
    position: relative;
    z-index: 1;
}

#footer-content {
    padding-top: 5px;
    padding-bottom: 15px;
}

#left-footer {
    margin-bottom: 20px;
}

#foot-name {
    font-family: "Nexa Heavy";
    font-size: 18px;
    margin-bottom: 5px;
}

#left-footer > span {
    color: #E3E2DE;
}

#right-footer > span {
    font-family: "Nexa Heavy";
    margin-bottom: 10px;
    color: #E3E2DE;
}

#right-footer a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

section {
    margin-bottom: 50px;
}

.project-card {
    background-color: transparent;
    border: 1px solid #3A3A3A;
    border-radius: 15px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: #FFC971;
    box-shadow: 0 10px 30px rgba(255, 201, 113, 0.2);
}

.project-image-wrapper {
    width: 100%;
    overflow: hidden;
    background-color: #1a1a1a;
}

.project-image {
    width: 100%;
    height: 225px;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.project-card .card-body {
    padding: 20px;
    background-color: transparent;
}

.project-title {
    font-family: "Nexa Heavy";
    font-size: 20px;
    color: #FFC971;
    margin-bottom: 10px;
}

.project-description {
    font-size: 16px;
    line-height: 1.5;
    color: #E3E2DE;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

.technologies-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #3A3A3A;
}

.technologies-label {
    font-family: "Nexa Heavy";
    font-size: 16px;
    color: #E3E2DE;
    display: block;
    margin-bottom: 8px;
}

.technologies-icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.tech-icon {
    width: 20px;
    height: 20px;
    color: #E3E2DE;
    transition: color 0.2s;
}

.tech-icon:hover {
    color: #FFC971;
}

.contact-info {
    padding: 20px;
    border-radius: 15px;
    background-color: rgba(255, 201, 113, 0.05);
    border: 1px solid #3A3A3A;
}

.contact-info h3 {
    font-family: "Nexa Heavy";
    color: #FFC971;
    margin-bottom: 10px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: #FFC971;
    flex-shrink: 0;
    margin-top: 5px;
}

.contact-item strong {
    display: block;
    font-family: "Nexa Heavy";
    margin-bottom: 5px;
}

.contact-item p {
    margin: 0;
    font-size: 16px;
    text-align: left;
}

.social-links h3 {
    font-family: "Nexa Heavy";
    color: #FFC971;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 10px;
    background-color: #ffc9711a;
    transition: all 0.3s;
}

.social-link:hover {
    background-color: #ffc97133;
    transform: translateY(-3px);
}

.social-icon {
    width: 32px;
    height: 32px;
    color: #E3E2DE;
}

.social-link:hover .social-icon {
    color: #FFC971;
}

.contact-form-wrapper {
    padding: 20px;
    border-radius: 15px;
    background-color: rgba(255, 201, 113, 0.05);
    border: 1px solid #3A3A3A;
}

.contact-form-wrapper h3 {
    font-family: "Nexa Heavy";
    color: #FFC971;
}

.contact-input {
    background-color: #1a1a1a;
    border: 1px solid #3A3A3A;
    color: #E3E2DE;
    padding: 12px 15px;
    border-radius: 8px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-input:focus {
    background-color: #1a1a1a;
    border-color: #FFC971;
    color: #E3E2DE;
    box-shadow: 0 0 0 0.2rem rgba(255, 201, 113, 0.25);
}

.contact-input::placeholder {
    color: #666;
}

.form-label {
    color: #E3E2DE;
    font-family: "Nexa Heavy";
    margin-bottom: 8px;
}

textarea.contact-input {
    resize: vertical;
    min-height: 150px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 48px;
        height: auto;
    }
    
    #status {
        font-size: 20px;
    }
    
    #presentation {
        margin: 100px auto;
    }
    
    .background {
        font-size: 500px;
        top: -250px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 36px;
    }
    
    #status {
        font-size: 18px;
    }
    
    #presentation {
        margin: 80px auto;
    }
    
    .background {
        font-size: 400px;
        top: -200px;
    }
    
    .skill-card {
        min-height: 150px;
    }
    
    .icon {
        width: 72px;
        height: 72px;
    }
}

html {
    scroll-behavior: smooth;
}

::selection {
    background-color: #FFC971;
    color: #121212;
}

::-moz-selection {
    background-color: #FFC971;
    color: #121212;
}

.modal-content {
    background-color: #121212;
    border: 2px solid #FFC971;
}

.modal-header {
    background-color: #1a1a1a;
    border-bottom: 1px solid #3A3A3A;
    padding: 15px 20px;
}

.modal-title {
    font-family: "Nexa Heavy";
    color: #FFC971;
    font-size: 20px;
}

.btn-close-custom {
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFC971'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: none;
    border-radius: 5px;
    opacity: 1;
    padding: 10px;
    transition: all 0.3s;
}

.btn-close-custom:hover {
    background-color: rgba(255, 201, 113, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    background-color: #1a1a1a;
    height: calc(100vh - 60px);
}

.modal-body embed {
    border: none;
}

.alert-warning {
    background-color: rgba(255, 201, 113, 0.15);
    border: 1px solid #FFC971;
    color: #E3E2DE;
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 16px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 48px;
        height: auto;
    }
    
    #status {
        font-size: 20px;
    }
    
    #presentation {
        margin: 100px auto;
    }
    
    .background {
        font-size: 500px;
        top: -250px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 36px;
    }
    
    #status {
        font-size: 18px;
    }
    
    #presentation {
        margin: 80px auto;
    }
    
    .background {
        font-size: 400px;
        top: -200px;
    }
    
    .skill-card {
        min-height: 150px;
    }
    
    .icon {
        width: 72px;
        height: 72px;
    }
}

.important {
    color: #FFC971;
}