/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-black: #0F0B00;
    --color-yellow: #FFC700;
    --color-white: #fff;
    --color-dark: #1c1c1c;
    --gradient: linear-gradient(90deg, var(--color-black), var(--color-yellow));
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-dark);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: rgba(28, 28, 28, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

.nav-item {
    list-style: none;
}

.nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 0;
}

.nav-link:hover {
    color: var(--color-yellow);
    text-decoration: underline;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text h1 {
    font-size: 60px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 10px;
}

.hero-text h2 {
    font-size: 40px;
    font-weight: 400;
    color: var(--color-white);
}

.hero-image img {
    max-width: 300px;
    height: auto;
}

/* Sections */
.section {
    padding: 80px 0;
    background-color: var(--color-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.text-content {
    flex: 1;
}

.text-content h2 {
    font-size: 40px;
    color: var(--color-yellow);
    margin-bottom: 30px;
}

.text-content p {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.image-content {
    flex: 1;
}

.image-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Image Section */
.image-section {
    width: 100%;
    overflow: hidden;
}

.image-container {
    width: 100%;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.mobile-img {
    display: none !important;
}

.desktop-img {
    display: block !important;
}

input[type="radio"][name="slider"]{
  display: none;
}

/* Services */
#servicos {
    text-align: center;
}

#servicos h2 {
    font-size: 40px;
    color: var(--color-yellow);
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.service-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 199, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--color-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    color: var(--color-black);
}

.service-item h3 {
    font-size: 18px;
    color: var(--color-white);
    font-weight: 500;
}

/* Slider */
.slider-section {
    padding: 0;
    margin: 80px 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.5s ease;
}

.slide {
    width: 25%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot:hover,
input:checked + .slider-wrapper ~ .slider-nav .nav-dot {
    background: var(--color-yellow);
}

/* Slider Functionality */
#slide1:checked ~ .slider-wrapper {
    transform: translateX(0);
}

#slide2:checked ~ .slider-wrapper {
    transform: translateX(-25%);
}

#slide3:checked ~ .slider-wrapper {
    transform: translateX(-50%);
}

#slide4:checked ~ .slider-wrapper {
    transform: translateX(-75%);
}

/* Contact */
.contact-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.contact-form {
    flex: 1;
}

.contact-form h2 {
    font-size: 30px;
    color: var(--color-yellow);
    margin-bottom: 30px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: none;
    border-bottom: 2px solid #333;
    background: transparent;
    color: var(--color-white);
    font-size: 16px;
    font-family: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-bottom-color: var(--color-yellow);
}

.contact-form button {
    background: var(--color-yellow);
    color: var(--color-black);
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 199, 0, 0.3);
}

.contact-image {
    flex: 1;
}

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

/* Map */
#endereco {
    text-align: center;
}

#endereco h2 {
    font-size: 30px;
    color: var(--color-yellow);
    margin-bottom: 20px;
}

#endereco p {
    font-size: 16px;
    margin-bottom: 30px;
    color: var(--color-white);
}

#endereco iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Footer */
    .footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.footer-contacts {
    display: flex;
        flex-direction: column;
        gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--color-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: var(--color-yellow);
    transform: translateX(5px);
}

.contact-item i {
    font-size: 20px;
    color: var(--color-yellow);
}

.whatsapp:hover {
    color: #25d366;
}

.footer-dev {
        text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    border-top: 1px solid #333;
    color: #ccc;
    font-size: 14px;
}

.footer-dev a {
    color: var(--color-yellow);
    text-decoration: none;
}

.footer-dev img {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    margin-left: 10px;
}

/* Responsive Design */
@media (max-width: 850px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(28, 28, 28, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 40px 0;
        transition: left 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 20px 0;
    }

    .nav-link {
        font-size: 20px;
        padding: 15px 30px;
        display: block;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

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

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-text h1 {
        font-size: 40px;
    }

    .hero-text h2 {
        font-size: 30px;
    }

    .section-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-content {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .mobile-img {
        display: block !important;
    }

    .desktop-img {
        display: none !important;
    }
}

@media (max-width: 600px) {
    .hero-text h1 {
        font-size: 30px;
    }

    .hero-text h2 {
        font-size: 24px;
    }

    .text-content h2 {
        font-size: 30px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 30px;
        max-width: 600px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }

    .slider-container {
        height: 300px;
    }

    .contact-form h2 {
        font-size: 24px;
    }

    #endereco iframe {
        height: 250px;
    }
}

@media (max-width: 450px) {
    .nav-container {
        padding: 0 15px;
    }

    .container {
        padding: 0 15px;
    }

    .hero-text h1 {
        font-size: 24px;
    }

    .hero-text h2 {
        font-size: 20px;
    }

    .text-content h2 {
        font-size: 24px;
    }

    .text-content p {
        font-size: 16px;
    }

    .service-item {
        padding: 20px 15px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .service-item h3 {
        font-size: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 1fr);
        gap: 20px;
        max-width: 100%;
    }

    .contact-form h2 {
        font-size: 20px;
    }

    .footer-logo img {
        width: 60px;
        height: 60px;
    }

    .contact-item {
        font-size: 14px;
    }
}