/* Root Variables */
:root {
    --primary-color: #ed3237;
    --secondary-color: #ffc300;
    --black-color: #000;
    --white-color: #ffffff;
}

/* Global Styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    overflow-x: hidden;
    overflow-y: scroll;
    height: 100%;
}

body {
    height: 450vh;
    background-color: var(--white-color);
}

/* Section Styles */
section {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    transition: opacity 1s ease, transform 1s ease;
    will-change: opacity, transform;
}

.hidden {
    opacity: 0;
    transform: scale(0.95);
}

.show {
    opacity: 1;
    transform: scale(1);
}

/* Float Button Styles */
.float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    z-index: 100;
}

.float-left {
    position: fixed;
    bottom: 40px;
    left: 40px;
    color: var(--black-color);
    background-color: var(--secondary-color);
    border-radius: 5px;
    text-align: center;
    font-size: 15px;
    z-index: 100;
    text-decoration: none;
    padding: 5px;
}

.my-float {
    margin-top: 16px;
}

/* Home Section Styles */
.home {
    height: 100vh;
    width: 100%;
}

.image-container {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-image: url(/assets/img/background-home.webp);
    background-size: cover;
}

.home .image-container figure {
    width: 50%;
    height: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home .image-container figure img {
    width: 100%;
    height: auto;
}
.first-imgHome{
    max-height: 300px;
}

/* Call to Action */
.call-action {
    width: 100%;
    background-image: url(/assets/img/img-2.webp);
    background-size: cover;
    background-position: top, center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.call-action a {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: 900;
    padding: 15px;
    border-radius: 10px;
    z-index: 10;
}

.call-action a:hover {
    background-color: var(--primary-color);
}

/* Light Section */
.light {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white-color);
}

.light figure {
    display: flex;
    justify-content: center;
    align-items: center;
}

.light figure img {
    width: 80%;
}

/* About Section */
.about {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
    background-color: var(--white-color);
}

.text-about {
    height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80%;
}

.about .text-about h1 {
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    margin: 0 0 2rem 0;
}

.about .text-about p {
    font-size: 1rem;
    margin: .2rem;
    width: 100%;
}

/* Footer Section */
.footer- {
    height: 15%;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 15px;
    background-color: var(--primary-color);
    margin-top: auto;
    gap: 5px;
}

.footer-info {
    display: flex;
    justify-content: center;
}

.footer-info p {
    width: 100%;
    margin: 0;
    display: flex;
    text-align: center;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 2rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: #fff;
    transform: scale(1.1);
}

.social-icons img {
    filter: brightness(0) saturate(100%) invert(80%) sepia(90%) saturate(600%) hue-rotate(-40deg) brightness(105%) contrast(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover img {
    filter: brightness(1) saturate(100%) invert(100%) sepia(0%) saturate(100%) hue-rotate(0deg) brightness(150%) contrast(120%);
    transform: scale(1.1);
}

/* Responsive Styles */
@media (max-width: 768px) {
    body {
        height: max-content;
    }
    
    section {
        position: unset;
    }
    
    .float {
        top: 10px;
    }
    
    .float-left {
        top: 20px;
        height: fit-content;
    }
    
    .image-container {
        flex-direction: column;
    }
    
    .home .image-container figure {
        height: 100%;
        width: fit-content;
    }

    .home .image-container figure img {
        width: fit-content;
    }
    
    .home .image-container figure .profile {
        width: 80%;
        margin-top: auto;
    }

    .home .image-container figure .first-imgHome{
        max-height: 200px;
    }
    
    .about .text-about h1 {
        font-size: 4rem;
        margin: 10% 0 0 0;
    }
    
    .about .text-about p {
        font-size: .8rem;
    }
}

@media (max-width: 600px) {
    .light {
        height: 30vh;
    }
    
    .light figure img {
        width: 100%;
    }
    
    .home .image-container figure img {
        max-width: fit-content;
    }

    .home .image-container figure .first-imgHome{
        max-height: 113px;
    }
}

@media (max-width: 425px) {
    .about h1 {
        font-size: 3rem;
        margin: 20% 0 5% 0;
    }
    
    .about p {
        font-size: .8rem;
        padding: 5px 0;
    }
    
    .social-icons {
        font-size: .7rem;
    }
    
    .image-container {
        flex-direction: column;
    }
    .home .image-container figure .first-imgHome{
        height: auto;
        width: 250px;

    }
}
