* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./img/moroccan-flower.png');
    background-size: auto;
    background-repeat: repeat;
    background-position: top left;
    opacity: 0.3;
    z-index: -1;
}

header {
    background-color: #663399;
    color: #fff;
    text-align: center;
    padding-top: 50px;
    padding-bottom: 0;
    position: relative;
    z-index: 10;
    height: 200px;
}

header .logo {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -40%);
    max-width: 250px;
    z-index: 11;
    margin-bottom: 50px;
}

.container {
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

section.intro {
    padding-top: 150px;
}

section.servicos {
    padding: 60px 0;
}

section.remote {
    padding: 80px 0;
}

.left, .right {
    flex: 1;
    max-width: 45%;
}

.left img, .right img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

h2 {
    color: #663399;
    font-size: 2em;
    margin-bottom: 20px;
}

p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

ul {
    padding-left: 20px;
}

ul li {
    margin-left: 20px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.contact-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    font-size: 1.2em;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-buttons .btn:hover {
    transform: translateY(-3px);
}

.contact-buttons .btn-email {
    background-color: #007bff;
}

.contact-buttons .btn-email:hover {
    background-color: #0056b3;
}

.contact-buttons .btn-phone {
    background-color: #ffcc00;
}

.contact-buttons .btn-phone:hover {
    background-color: #e6b800;
}

.contact-buttons .btn-whatsapp {
    background-color: #28a745;
}

.contact-buttons .btn-whatsapp:hover {
    background-color: #218838;
}

.contact-buttons a {
    text-decoration: none;
}

.contact-buttons a:hover {
    text-decoration: none;
}

.contact.background {
    background-image: url('./img/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
    position: relative;
    color: #fff;
    text-align: center;
}

.contact.background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(102, 51, 153, 0.6);
    z-index: 1;
}

.contact.background .container {
    position: relative;
    z-index: 2;
}

.contact.background h2, .contact.background p, .contact.background a {
    color: #fff;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

@media only screen and (min-width: 769px) {
    .contact-buttons {
        justify-content: center;
        gap: 30px;
    }

    .contact-buttons a {
        padding: 15px 25px;
    }

    header .logo {
        max-width: 300px;
        padding-top: 30px;
    }
}

@media only screen and (max-width: 768px) {
    .flex {
        flex-direction: column;
    }

    .left, .right {
        max-width: 100%;
    }

    .contact-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px;
    }

    .contact-buttons a {
        text-align: center;
        padding: 10px;
        font-size: 0.9em;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.5em;
    }

    p {
        font-size: 1em;
    }

    .container {
        width: 100%;
        padding: 0 10px;
    }

    .contact.background {
        padding: 50px 10px;
    }
}
