/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Variables */
:root {
    --primary-blue: #0077b6;
    --dark-blue: #1e1e2f;
    --white: #ffffff;
    --light-gray: #e3e3e3;
    --gray: #6c757d;
    --border-radius: 8px;
    --shadow: 0 10px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 25px rgba(0, 119, 182, 0.2);
    --transition: all 0.3s ease;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(26, 1, 1, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav {
    padding: 1rem 0;
    background-color: #10283e;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo{
    display: flex;
}
.nav-logo img{
    width: 65px;
    margin-right: 20px;
}

.nav-logo h2 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    font-family: Arial, Helvetica, sans-serif
}

.nav-logo span {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-blue);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: url("./background.png");    
    color: var(--white);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.construction-icon {
    font-size: 8rem;
    animation: float 3s ease-in-out infinite;
}

.quality-badge {
    position: absolute;
    top: 50px;
    right: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    /* border-radius: var(--border-radius);*/
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    min-width: 200px;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-blue);
}

.btn-primary:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--primary-blue);
    color: var(--white);
    margin-top: 40px;
    max-width: 300px;
}

.btn-secondary:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--dark-blue);
}

/* Services Section */
.services {
    background: var(--light-gray);
}

/* Carousel Container - Desktop */
.carousel-container {
    width: 100%;
    overflow: hidden;
}

.services-carousel {
    width: 100%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.service-card p {
    color: #707070;
    line-height: 1.6;
}

/* Detalhes de SERVIÇoS*/
.servicos-detalhados {
    display: none;
    margin-top: 20px;
  }
  
  .servicos-detalhados.show {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 100%;
    margin-top: 40px;
  }
  
  .toggle-detalhes-btn-container {
    text-align: center;
    margin-top: 20px;
  }
  
  .categoria-servico {
    margin-bottom: 20px;
    margin-left: 30px;
  }
  
  .categoria-servico h4 {
    color: #0077b6;
    margin-bottom: 8px;
    font-size: 1.2rem;
  }
  
  .categoria-servico ul {
    padding-left: 20px;
  }
  
  .categoria-servico ul li {
    margin-bottom: 4px;
    list-style: disc;
  }
  

/* Consultoria Section */
.consultoria {
    background: var(--white);
    text-align: center;
}

.consultoria-content {
    max-width: 800px;
    margin: 0 auto;
}

.consultoria-text {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Technology Section 
.technology {
    background: var(--light-gray);
    text-align: center;
}

.technology-text {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    padding: 1.5rem; 
    
    box-shadow: var(--shadow);
    transition: var(--transition);
}
*/

/*Quem somos */
.about {
    background: var(--white);
    text-align: center;
    padding: 70px 0;
}

.about-text {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.check-icon {
    font-size: 1.5rem;
}

/* Budget Section */
.budget {
    background: var(--white);
}

.budget-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    justify-items: center;
    align-items: center;
}
.footer-contact p {
    text-align: center;
}

.footer-redes {
  text-align: center; 
  font-size: 13px; 
}

.footer-redes img{
    margin-left: 15px;
    width: 40px;   
}

.footer-redes p{
    margin-bottom: 10px;
}

.footer-redes a{
   text-decoration: none; 
}


.footer-logo h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}
.footer-contact {
    margin-top: 50px;
}

.footer-logo img {
    width: 30px;
    align-items: center;
}

.footer-add {
    text-align: center;
    padding-top: 40px;
}
.footer-add p{
    font-size: 15px;
    color: var(--gray);
}


/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: var(--white);
    margin: 15% auto;
    padding: 0;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.7); }
    to { opacity: 1; transform: scale(1); }
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: var(--gray);
}

.close:hover {
    color: var(--dark-blue);
}

.modal-body {
    padding: 3rem;
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.modal-body h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Carousel Animation - Mobile Only */
@keyframes carousel-slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.header.hide-on-scroll {
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #10283e;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Mobile Carousel Styles */
    .carousel-container {
        overflow: hidden;
        width: 100%;
        position: relative;
    }

    .services-carousel {
        width: 100%;
        overflow: hidden;
    }

    .services-grid {
        display: flex;
        grid-template-columns: none;
        gap: 1.5rem;
        width: calc(200% + 1.5rem);
        animation: carousel-slide 12s linear infinite;
        will-change: transform;
    }

    .services-grid.paused {
        animation-play-state: paused;
    }

    .service-card {
        flex: 0 0 calc(33.333% - 1rem);
        width: 180px;
        padding: 1rem;
        opacity: 1;
    }

    .service-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
        font-weight: 600;
    }

    .service-card p {
        color: #707070;
        line-height: 1.6;
        font-size: 0.9rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 60px 0;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .servicos-detalhados.show {
        display: grid;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .btn {
        min-width: auto;
        width: 100%;
    }

    .modal-content {
        width: 95%;
        margin: 20% auto;
    }

    .modal-body {
        padding: 2rem;
    }
    
    .service-card {
        width: 180px;
        padding: 1rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }
}