@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f5f8fa;
    font-family: "Quicksand", sans-serif;
}

#container {
    width: 950px;
    margin: 0 auto;
    text-align: center;
    background: rgb(255, 250, 240);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    padding: 0 20px;
}

header {
    padding: 20px;
}

#logo {
    padding-bottom: 25px;
    position: relative;
}

#logo::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 4px;
    background: linear-gradient(to right, #00c6ff, #0072ff);
    border-radius: 2px;
}

#logo h1 {
    text-indent: -9999px;
}

#imagem1 {
    margin-top: -30px;
    max-width: 100%;
    height: auto;
}

#logo p {
    font-size: 18px;
    margin-top: -40px;
    color: #333;
}

nav {
    padding: 15px 0;
    background: #f3f3f3;
    border-top: 1px solid #ddd;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

nav a:hover {
    color: #007acc;
    transform: scale(1.05);
}

#principal {
    padding: 40px 20px;
}

.secao {
    margin-bottom: 60px;
}

.secao h2 {
    font-size: 28px;
    color: #0a192f;
    margin-bottom: 15px;
}

.secao p {
    color: #444;
    font-size: 18px;
    margin-bottom: 20px;
}

.btn-cta {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(to right, #00c6ff, #0072ff);
    color: white;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-cta:hover {
    background: linear-gradient(to right, #0072ff, #005bb5);
}

.galeria {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}

.galeria img {
    width: 95%;
    max-width: 800px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.galeria img:hover {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(0, 114, 255, 0.5);
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

form input,
form textarea {
    width: 80%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

form button {
    padding: 10px 20px;
    background: #0072ff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

form button:hover {
    background: #005bb5;
}

footer {
    padding: 20px;
    background: #f3f3f3;
    color: #333;
    font-size: 14px;
    border-top: 1px solid #ddd;
}

#popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    z-index: 1000;
}

#popup button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007acc;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

#popup button:hover {
    background-color: #005fa3;
}

/* Responsividade */

@media screen and (max-width: 1000px) {
    #container {
        width: 90%;
    }

    .galeria img {
        max-width: 100%;
        width: 100%;
    }
}

@media screen and (max-width: 700px) {
    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    #principal {
        padding: 30px 10px;
    }

    .secao h2 {
        font-size: 24px;
    }

    .secao p {
        font-size: 16px;
    }

    form input,
    form textarea {
        width: 100%;
    }

    form button {
        width: 100%;
    }

    #logo p {
        font-size: 16px;
        margin-top: -30px;
    }
}

@media screen and (max-width: 450px) {
    nav ul {
        gap: 10px;
    }

    #logo p {
        font-size: 14px;
        margin-top: -25px;
    }

    .btn-cta {
        padding: 10px 20px;
        font-size: 14px;
    }

    .secao h2 {
        font-size: 20px;
    }

    .secao p {
        font-size: 14px;
    }
}