/* ========================================
   Reset & Base Styles
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #D4AF37;
    --dark-gold: #B8941F;
    --light-gold: #F4E4C1;
    --black: #000000;
    --dark-gray: #1a1a1a;
    --medium-gray: #2d2d2d;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --text-light: #cccccc;
    --shadow: rgba(0, 0, 0, 0.3);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--medium-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-gray);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-gold);
    color: var(--black);
    border-color: var(--primary-gold);
}

.btn-primary:hover {
    background: var(--dark-gold);
    border-color: var(--dark-gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--black);
}

/* ========================================
   Header & Navigation
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 2px 20px var(--shadow);
}

.navbar {
    padding: 20px 0;
}

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

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-link {
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-gold);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

/* ========================================
   Hero Section
======================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    background-image: url('https://sspark.genspark.ai/cfimages?u1=WBx5LMXwXuLdrumkQYz3zZpDcGoyS19djieoaLz1xUw5WgyYxvQ45ZQMHDC5J%2B7Q0HQqyU9t1n4iKsBsRMQvYBacgiw0g%2Fnjn8ZvHWkxl1Qrc3iNgm45ecQt5rz1Qbc%3D&u2=b%2FPKX5BoJEgOWxGo&width=2560');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(26, 26, 26, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--light-gold);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-gold);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ========================================
   Section Styles
======================================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--dark-gray);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.divider {
    width: 80px;
    height: 4px;
    background: var(--primary-gold);
    margin: 0 auto 20px;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--medium-gray);
}

/* ========================================
   Sobre Section
======================================== */
.sobre {
    background: var(--white);
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sobre-text h3 {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.sobre-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--medium-gray);
}

.sobre-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 8px;
    border-top: 3px solid var(--primary-gold);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 0.95rem;
    color: var(--medium-gray);
    font-weight: 500;
}

.sobre-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px var(--shadow);
}

.sobre-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sobre-image:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sobre-image:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    font-size: 4rem;
    color: var(--white);
}

/* ========================================
   Serviços Section
======================================== */
.servicos {
    background: var(--light-gray);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.servico-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-gold);
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.servico-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.servico-card:hover .servico-icon {
    transform: rotateY(360deg);
}

.servico-icon i {
    font-size: 2.5rem;
    color: var(--black);
}

.servico-card h3 {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.servico-card > p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--medium-gray);
    margin-bottom: 20px;
}

.servico-list {
    margin-top: 20px;
}

.servico-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--medium-gray);
}

.servico-list i {
    color: var(--primary-gold);
    font-size: 0.9rem;
}

/* ========================================
   Projetos Section
======================================== */
.projetos {
    background: var(--white);
}

.projetos-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: transparent;
    color: var(--medium-gray);
    border: 2px solid var(--medium-gray);
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-gold);
    color: var(--black);
    border-color: var(--primary-gold);
}

.projetos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.projeto-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.projeto-card.hidden {
    display: none;
}

.projeto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.projeto-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.projeto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.projeto-card:hover .projeto-image img {
    transform: scale(1.2);
}

.projeto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.projeto-card:hover .projeto-overlay {
    opacity: 1;
}

.projeto-overlay h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.projeto-overlay p {
    color: var(--primary-gold);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.btn-view {
    align-self: flex-start;
    padding: 8px 20px;
    background: var(--primary-gold);
    color: var(--black);
    border: none;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background: var(--dark-gold);
    transform: translateX(5px);
}

/* ========================================
   Depoimentos Section
======================================== */
.depoimentos {
    background: var(--dark-gray);
    color: var(--white);
}

.depoimentos .section-header h2 {
    color: var(--white);
}

.depoimentos-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.depoimento-card {
    background: var(--medium-gray);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    display: none;
    border-left: 4px solid var(--primary-gold);
}

.depoimento-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stars {
    margin-bottom: 20px;
}

.stars i {
    color: var(--primary-gold);
    font-size: 1.2rem;
    margin: 0 3px;
}

.depoimento-text {
    font-size: 1.2rem;
    line-height: 1.8;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 30px;
}

.depoimento-author h4 {
    color: var(--primary-gold);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.depoimento-author span {
    color: var(--text-light);
    font-size: 0.95rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gold);
    color: var(--black);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--dark-gold);
    transform: scale(1.1);
}

/* ========================================
   Contato Section
======================================== */
.contato {
    background: var(--light-gray);
}

.contato-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateX(10px);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.5rem;
    color: var(--black);
}

.info-text h3 {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.info-text p {
    color: var(--medium-gray);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--primary-gold);
    color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--dark-gold);
    transform: translateY(-5px);
}

/* Contact Form */
.contato-form {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-gold);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #999;
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label,
.form-group select:focus + label,
.form-group select:valid + label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    color: var(--primary-gold);
    background: var(--white);
    padding: 0 5px;
}

.form-group select {
    cursor: pointer;
}

.contato-form button[type="submit"] {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ========================================
   Footer
======================================== */
.footer {
    background: var(--black);
    color: var(--text-light);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.3));
}

.footer-col h3 {
    color: var(--primary-gold);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-col p {
    line-height: 1.7;
    color: var(--text-light);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-light);
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--primary-gold);
    font-size: 1.1rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--medium-gray);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--medium-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-gold);
    color: var(--black);
    transform: translateY(-3px);
}

/* ========================================
   Back to Top Button
======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-gold);
    color: var(--black);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--dark-gold);
    transform: translateY(-5px);
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .sobre-content,
    .contato-wrapper {
        grid-template-columns: 1fr;
    }

    .servicos-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .projetos-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    }

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

    .nav-link {
        font-size: 18px;
    }

    /* Hero */
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Sections */
    section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .sobre-stats {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .servicos-grid,
    .projetos-grid {
        grid-template-columns: 1fr;
    }

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