@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

html {
    height: 100%;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: #ffffff; 
}

.header-container {
    background-color: #000000; 
    color: #ffffff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-container .logo {
    display: flex;
    align-items: center; 
}

.header-container .logo img {
    width: 60px;
    margin-right: 20px;
}

.header-container h1 {
    margin: 0px; 
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.header-container nav ul {
    list-style: none;
    padding: 0;
}

.header-container nav ul li {
    display: inline;
    margin: 0 15px;
}

.header-container nav ul li a {
    color: #ffffff;
    text-decoration: none;
}

.hero-panel {
    background-image: url('https://jrhdezesp.github.io/TallerEscobar/images/design/h/476741250_4081805418775613_7264143367284451820_n.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 200px 20px;
    color: white;
    text-align: center;
    position: relative;
}

.hero-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.hero-action {
    position: relative;
    z-index: 1;
}

.hero-panel h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}


.hero-action button {
    margin: 20px;
    font-size: 1rem;
    background-color: #e9ee02;
    color: #000000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.hero-action button:hover {
    background-color: #d1d600;
}

.card-holder {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background-color: #f0f0f0;
}

.card {
    background-color: #000000;
    color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    width: 30%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.card h3 {
    margin: 0 0 10px;
}

.card p {
    margin: 0 0 20px;
}

.card img {
    width: 70%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.card button {
    background-color: #e9ee02;
    color: #000000;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
}

.card button:hover {
    background-color: #d1d600;
}

.about, .services {
    padding: 20px;
    text-align: center;
}

.about-cards {
    display: flex;
    justify-content: space-around;
    padding: 10px;
}

.acard {
    color: #000000;
    border-radius: 6px;
    padding: 20px;
    width: 50%;
    text-align: center;
}

.acard i{
    font-size: 2rem;
    margin-bottom: 10px;
}

.acard p {
    margin: 0 0 20px;
    line-height: 2;
}

.services h2 {
    background-color: #f6ff00;
    padding: 15px 10px;
    font-size: 2.2rem;
    margin-bottom: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 8px rgba(246, 255, 0, 0.7);
}

.service-cards-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
}

.service-card {
    background-color: #000000;
    padding: 25px 30px;
    color: #ffffff;
    border-radius: 12px;
    width: 280px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.service-card.highlighted {
    background: #e9ee02;
    color: #000000;
}

.service-card.highlighted:hover {
    transform: translateY(-12px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #e9ee02;
}

.service-card.highlighted .service-icon {
    color: #000000;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.service-card button {
    background-color: #000000;
    color: #e9ee02;
    border: 2px solid #e9ee02;
    padding: 10px 25px;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.service-card.highlighted button {
    background-color: #000000;
    color: #e9ee02;
    border-color: #000000;
}

.service-card button:hover {
    background-color: #e9ee02;
    color: #000000;
}

.brands {
    text-align: center;
    padding: 10px;
}

.brands-list img {
    width: 100px;
    margin: 10px;
}

footer {
    background-color: #000000;
    color: #ffffff; 
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-icons {
    color: #f7f7f7; 
    margin-right: 20px;
    text-decoration: none;
    font-size: 1.1rem;
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #e9ee02;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .header-container .logo img {
        width: 40px;
    }

    .header-container h1 {
        font-size: 1rem;
    }

    .header-container {
        flex-direction: column;
        align-items: center;
    }

    .header-container nav ul {
        display: flex;
        flex-direction: row;
        justify-content: center;
        font-size: 0.75rem;
    }

    .services {
        padding: 10px;
    }

    .service-card {
        padding: 20px;
        margin: 10px auto;
        width: 90%;
        text-align: center;
    }

    .service-card h3 {
        font-size: 1.5rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }

    .service-card button {
        width: 100%;
        padding: 10px;
        font-size: 0.95rem;
    }

    .about-cards {
        flex-direction: column;
        align-items: center;
    }
    .acard {
        width: 80%;
        margin-bottom: 20px;
    }
    .card-holder {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .header-container nav ul {
        display: flex;
        flex-direction: row;
        justify-content: center;
        font-size: 0.5rem;
    }

    .hero-panel h2 {
        font-size: 1.5rem;
    }

    .hero-action {
        padding: 15px;
    }

    .hero-action button {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .services h2 {
        font-size: 1.5rem;
        padding: 5px;
    }

    .service-card {
        padding: 15px;
        width: 95%;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .service-card button {
        font-size: 0.85rem;
        padding: 8px;
    }
    
    .card-holder {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
        margin-bottom: 20px;
    }

}
.carusel-marquee {
    width: 100%;
    overflow: hidden;
    background-color: transparent;
    padding: 1rem 0;
}

.carusel-track {
    display: flex;
    animation: scroll-marquee 60s linear infinite;
    width: fit-content;
}

.carusel-slide {
    flex: 0 0 auto;
    width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 1rem;
}

.carusel-slide img {
    max-width: 50%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}
