/* ===== CONFIGURAÇÕES GLOBAIS E VARIÁVEIS CSS ===== */
:root {
    --preto-profundo: #0B0B0B;
    --cinza-escuro: #1A1A1A;
    --dourado-luxo: #D4AF37;
    --dourado-hover: #e7c864;
    --branco-puro: #FFFFFF;
    --branco-suave: #ddd;
    --cinza-claro: #F5F5F5;
    --cinza-borda: #ccc;
    --cinza-texto-footer: #aaa;
    
    --font-headline: 'Playfair Display', serif; /* Fonte para títulos */
    --font-body: 'Lato', sans-serif;             /* Fonte para textos */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--preto-profundo); 
    color: var(--branco-puro); 
    line-height: 1.6;
}

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

h1, h2, h3 {
    font-family: var(--font-headline);
    font-weight: 700;
    margin-bottom: 20px;
}

h1 { font-size: 3rem; font-weight: 700; line-height: 1.2; }
h2 { 
    font-size: 2rem; 
    text-align: center;
    margin-bottom: 30px;
}
p { 
    font-size: 1.1rem; 
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== COMPONENTES REUTILIZÁVEIS ===== */
.btn-cta {
    display: inline-block;
    background-color: var(--dourado-luxo); 
    color: var(--preto-profundo); 
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-transform: uppercase;
}
.btn-cta:hover {
    background-color: var(--dourado-hover); 
    transform: translateY(-3px);
}

/* ===== HEADER ===== */
.header {
    background-color: var(--preto-profundo);
    padding: 10px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--cinza-escuro);
}

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

.header .logo img {
    height: 100px;
    width: auto;
    display: block;
}

.main-nav a {
    color: var(--branco-puro); 
    text-decoration: none;
    margin-left: 30px;
    font-size: 1rem;
    font-weight: 400;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--dourado-luxo); 
}

/* ===== SEÇÃO HERO COM IMAGEM ===== */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--branco-puro);
    padding: 0 20px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/src/assets/heroimage11.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
    animation: kenburns 20s ease-out infinite;
}

@keyframes kenburns {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.hero-content {
    max-width: 800px;
}
.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.7);
}
.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--branco-suave);
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.7);
}
.hero-cta-link {
    color: var(--branco-puro);
    text-decoration: underline;
    font-size: 1.1rem;
    font-weight: 700;
}
.hero-cta-link:hover {
    color: var(--dourado-luxo);
}

/* ===== SEÇÕES PADRÃO ===== */
section {
    padding: 100px 0;
}

#sobre { 
    background-color: var(--branco-puro);
    color: var(--preto-profundo);
    text-align: center;
}
#sobre p {
    margin-bottom: 30px;
}
.about-image img {
    max-width: 450px;
    width: 100%;
    border-radius: 5px;
    margin: 0 auto;
}

#servicos { background-color: var(--cinza-escuro); }
#portfolio { background-color: var(--preto-profundo); }
#cta-strong { 
    background-color: var(--cinza-escuro);
    text-align: center;
    position: relative; 
    z-index: 1; 
    overflow: hidden; 
}
#cta-strong::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; 
    height: 600px; 
    background-image: url('/src/assets/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.05; 
    z-index: -1; 
}
#contato { background-color: var(--cinza-claro); color: var(--preto-profundo); }
#contato h2, #servicos h2, #portfolio h2, #cta-strong h2 {
    border-left: 4px solid var(--dourado-luxo);
    text-align: left;
    padding-left: 15px;
}

/* ===== SEÇÃO SERVIÇOS ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.service-card {
    background-color: var(--preto-profundo);
    padding: 40px 30px;
    border-radius: 10px;
    border-top: 4px solid transparent;
    transition: transform 0.3s ease, border-top-color 0.3s ease;
}
.service-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--dourado-luxo);
}
.service-card h3 {
    color: var(--dourado-luxo);
}

/* ===== SEÇÃO PORTFÓLIO (SLIDESHOW) ===== */
.portfolio-slideshow {
    width: 100%;
    max-width: 900px;
    margin: 50px auto 0;
}
.main-slide {
    position: relative;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-color: var(--cinza-escuro);
}
.main-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.main-slide:hover img {
    transform: scale(1.05);
}
.main-slide .overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--branco-puro);
    font-size: 80px;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    text-shadow: 0 0 15px rgba(0,0,0,0.7);
    pointer-events: none;
}
.main-slide:hover .overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}
.slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--branco-puro);
    pointer-events: none;
}
.slide-info h3 {
    font-family: var(--font-headline);
    margin: 0 0 5px 0;
}
.slide-info p {
    font-family: var(--font-body);
    margin: 0;
    max-width: 100%;
    font-size: 1rem;
    opacity: 0.9;
}
.thumbnail-strip {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 10px 0;
    flex-wrap: wrap;
}
.thumbnail-item {
    width: 120px;
    height: 70px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: border-color 0.3s ease, transform 0.3s ease;
    opacity: 0.6;
}
.thumbnail-item:hover {
    transform: scale(1.05);
    opacity: 1;
}
.thumbnail-item.active {
    border-color: var(--dourado-luxo);
    opacity: 1;
}
.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== SEÇÃO CONTATO ===== */
.contact-wrapper {
    display: flex;
    gap: 50px;
    margin-top: 40px;
}
.contact-form {
    flex: 2;
    display: flex;
    flex-direction: column;
}
.contact-info { flex: 1; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid var(--cinza-borda);
    border-radius: 5px;
    font-family: var(--font-body);
    background-color: var(--branco-puro);
    font-size: 1rem;
}
.contact-form button {
    align-self: flex-start;
    border: none;
    cursor: pointer;
}
.contact-info a {
    color: var(--preto-profundo);
    text-decoration: none;
    font-weight: 700;
}
.contact-info a:hover {
    text-decoration: underline;
    color: var(--dourado-luxo);
}

/* ===== RODAPÉ ===== */
.footer {
    background-color: #080808;
    color: var(--cinza-texto-footer);
    padding: 40px 0;
    border-top: 1px solid var(--cinza-escuro);
}
.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.footer .logo img {
    height: 60px;
    width: auto;
    display: block;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.footer .logo:hover img {
    opacity: 1;
}
.footer-nav a { 
    color: var(--cinza-texto-footer); 
    margin: 0 10px; 
    text-decoration: none; 
}
.footer-nav a:hover { color: var(--dourado-luxo); }

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
}
.modal-content video {
    width: 100%;
    display: block;
}
.close-button {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
}
.close-button:hover {
    transform: scale(1.2);
}

/* ===== ESTILOS DO MENU MOBILE ===== */
.mobile-menu-icons {
    display: none;
    cursor: pointer;
    font-size: 2rem;
    color: var(--branco-puro);
    z-index: 1002;
}
.icon-close {
    color: var(--dourado-luxo);
}
body.nav-active {
    overflow: hidden;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .main-nav {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(11, 11, 11, 0.95);
        backdrop-filter: blur(10px);
        transition: right 0.4s ease-in-out;
        z-index: 1001;
    }
    .main-nav.active {
        right: 0;
    }

    .main-nav a {
        margin: 20px 0;
        font-size: 1.5rem;
        font-weight: 700;
    }

    .mobile-menu-icons {
        display: block;
    }
    
    .contact-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .footer .container {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== ANIMAÇÕES DE SCROLL (SCROLL REVEAL) ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}