@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-shadow: 1px 1px 2px #d3ceb3;
}

header > a h1#branding {
    font-size: 2.8rem;
    color: #d9bc10;
}

header > a {
    text-decoration: none;
}

nav .menu {
    display: inline-flex;
    gap: 20px;
    list-style: none;
}

nav .menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: normal;
    text-shadow: 1px 1px 2px #d3ceb3;
}

nav .menu li a:hover {
    background-color: #d9bc10;
    color: #000;
    line-height: 1.8;
    font-size: 1.3rem;
    font-weight: bold;
    padding: 5px 15px;
    border: 1px solid #000;
    border-radius: 17px;
    
}

/* ===== HAMBURGER MENU ===== */
.hamburger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 0;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: #d9bc10;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text {
    width: 50vw;
}

.text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #d9bc10;
    text-shadow: 1px 1px 2px #a7a6a2;
}

.text > #title {
    font-size: 2.5rem;
    line-height: 1.4;
    text-shadow: 1px 1px 2px #a7a6a2;
}

.text p {
    font-size: 1.1rem;
    color: #ccc;
}

.social-bar {
    display: block;
    margin-top: 100px;
}

.social-bar a {
    text-decoration: none;
}

.social-icons {
    width: 2.5rem;
    margin-left: 6px;
}

.image {
    width: 50vw;
    text-align: right;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #111;
    color: #777;
    border: 1px solid #333;
    border-radius: 18px;
}

/* ===== MEDIA QUERIES - RESPONSIVO ===== */

/* Tablets (768px até 860px) 
@media screen and (max-width: 860px) {
    main {
        max-width: 100%;
        padding: 15px;
    }

    header {
        flex-direction: column;
        gap: 15px;
    }

    header > a h1#branding {
        font-size: 2.2rem;
    }

    nav .menu {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav .menu li a {
        font-size: 1rem;
    }

    .banner {
        flex-direction: column;
        gap: 30px;
    }

    .text {
        width: 100%;
    }

    .image {
        width: 100%;
    }

    .text h2 {
        font-size: 1.6rem;
    }

    .text > #title {
        font-size: 2rem;
    }

    .text p {
        font-size: 1rem;
    }

    .social-bar {
        margin-top: 50px;
    }

    .social-icons {
        width: 2rem;
    }
} */

/* Celulares (até 800px) - Ativa o hamburger menu */
@media screen and (max-width: 800px) {
    .hamburger-menu {
        display: flex;
    }

    nav {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: #1a1a1a;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 1px solid #333;
        z-index: 1000;
    }

    nav.active {
        max-height: 400px;
    }

    nav .menu {
        flex-direction: column;
        gap: 0;
        justify-content: flex-start;
        padding: 15px;
    }

    nav .menu li {
        border-bottom: 1px solid #333;
        padding: 10px 0;
    }

    nav .menu li:last-child {
        border-bottom: none;
    }

    nav .menu li a {
        display: block;
        font-size: 1.1rem;
    }

    nav .menu li a:hover {
        background-color: transparent;
        color: #d9bc10;
        border: none;
        padding: 0;
        font-size: 1.1rem;
    }
}

/* Celulares (até 768px) */
@media screen and (max-width: 768px) {
    main {
        max-width: 100%;
        padding: 10px;
        margin: 10px auto;
    }

    header {
        flex-direction: row;
        gap: 10px;
        justify-content: space-between;
    }

    header > a h1#branding {
        font-size: 1.8rem;
        text-shadow: 1px 1px 1px #d3ceb3;
    }

    .banner {
        flex-direction: column;
        gap: 20px;
    }

    .text {
        width: 100%;
    }

    .image {
        width: 100%;
    }

    .image img {
        max-width: 100%;
        height: auto;
    }

    .text h2 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .text > #title {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .text p {
        font-size: 0.95rem;
    }

    .social-bar {
        margin-top: 30px;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .social-icons {
        width: 1.8rem;
        margin-left: 0;
    }

    nav {
        top: 70px !important;
    }
}

/* Celulares pequenos (até 480px) */
@media screen and (max-width: 480px) {
    main {
        padding: 8px;
        margin: 5px auto;
    }

    header > a h1#branding {
        font-size: 1.5rem;
    }

    .text h2 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .text > #title {
        font-size: 1.35rem;
    }

    .text p {
        font-size: 0.9rem;
    }

    .social-bar {
        margin-top: 20px;
    }

    .social-icons {
        width: 1.6rem;
    }

    footer {
        font-size: 0.85rem;
        padding: 8px;
    }

    nav {
        top: 65px !important;
    }

    nav .menu li a {
        font-size: 1rem;
    }
}


