/* Color Palette and Variables */
:root {
    --bg-dark: #121212;
    --text-main: #ffffff;
    --text-muted: #aaaaaa;
    --border-color: rgba(255, 255, 255, 0.15);
    --font-main: 'Golos Text', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Helpers */
.font-syne,
.font-inter {
    font-family: var(--font-main);
}

.text-light-muted {
    color: var(--text-muted) !important;
}

.tracking-tight {
    letter-spacing: -0.03em;
}

.tracking-wide {
    letter-spacing: 0.12em;
}

.text-balance {
    text-wrap: balance;
}

.text-shadow {
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.fs-xs {
    font-size: 0.70rem;
}

.fs-sm {
    font-size: 0.82rem;
}

/* Navbar */
#mainNav {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: transparent;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    width: 80%;
    left: 10%;
    right: 10%;
    margin: 0 auto;
}

.transition-all {
    transition: all 0.3s ease;
}

.nav-link {
    letter-spacing: 0.15em;
    transition: opacity 0.3s ease;
    opacity: 0.85;
}

.nav-hover:hover {
    opacity: 1 !important;
    color: #fff !important;
}

/* Scrolled Navbar State */
#mainNav.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    padding-top: 0.8rem !important;
    padding-bottom: 0.8rem !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
}

/* Base custom button */
.custom-btn {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    font-weight: 500;
    font-family: var(--font-inter);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-main);
    transition: all 0.3s ease;
}

.custom-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--text-main);
    color: var(--text-main);
}

/* Hero Section */
.hero {
    min-height: 90vh;
}

/* Fallback base color for hero */
.hero-bg {
    background-color: #121212;
    /* Unsplash background simulating a film studio at work */
    background: url('https://images.unsplash.com/photo-1620353594191-314ef685fd7d?q=80&w=1920&auto=format&fit=crop') center center / cover no-repeat;
    background-blend-mode: overlay;
    filter: brightness(0.6) contrast(1.1);
}

.hero-overlay {
    background: linear-gradient(180deg, rgba(18, 18, 18, 0) 0%, rgba(18, 18, 18, 0.3) 60%, var(--bg-dark) 100%);
}

/* Decorative Arches */
.arch-container {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 120px;
    overflow: hidden;
    pointer-events: none;
    z-index: 10;
}

.arch-bottom {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 150px;
    border: 1px solid var(--border-color);
    border-bottom: none;
    border-radius: 150px 150px 0 0;
}

.arch-bottom::before,
.arch-bottom::after {
    content: '';
    position: absolute;
    bottom: 0px;
    width: 200px;
    height: 100px;
    border: 1px solid var(--border-color);
    border-bottom: none;
    border-radius: 100px 100px 0 0;
}

.arch-bottom::before {
    left: -200px;
}

.arch-bottom::after {
    right: -200px;
}

/* Works Gallery Images */
.work-card {
    overflow: hidden;
    position: relative;
    cursor: pointer;
    /* background-color: #1a1a1a;*/
}

.overlay-hover {
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.8s ease;
    filter: brightness(0.85);
}

.work-card:hover .overlay-hover {
    transform: scale(1.03);
    filter: brightness(1.1);
}

/* Border overrides */
.border-secondary {
    border-color: var(--border-color) !important;
}

/* Simple Arch on Footer */
.arch-bottom-footer {
    border-top: 1px solid var(--border-color);
}

.arch-bottom-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 125px;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 125px 125px;
    background-color: var(--bg-dark);
}

/* Instagram Filmstrip Grid */
.insta-filmstrip {
    width: 100%;
    display: flex;
    
    /* espaço entre imagens */

    padding: 6px 0;
    overflow: hidden;
}

/* Container das imagens */
.insta-filmstrip-inner {
    display: flex;
    flex-wrap: nowrap;
    /* Sem quebra de linha — tudo em uma linha */
    justify-content: center;
   
}

/* O "quadro" da imagem — formato retrato */
.insta-filmstrip-item {
    flex: 0 0 auto;
    width: 200px;
    height: 280px;
    /* Mais alto que largo = retrato */
    overflow: hidden;
    position: relative;
    border-radius: 4px;
}

/* A imagem em si */
.insta-filmstrip-img {
    width: 100%;
    height: 100%;
   
    display: block;
    transition: filter 0.3s ease;
    filter: brightness(0.9);
}

.insta-filmstrip-item:hover .insta-filmstrip-img {
    filter: brightness(1);
}

@media (max-width: 768px) {
    .insta-filmstrip-item {
        width: 140px;
        height: 200px;
    }
}

/* Ajustes para os campos do formulário no Modal */
#leadForm .form-control {
    background-color: rgba(255, 255, 255, 0.05) !important;
    /* Dá um fundo sutilmente mais claro que o modal */
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    /* Borda um pouco mais forte */
    color: #ffffff !important;
    padding: 0.8rem 1rem;
    /* Deixa o campo um pouco mais gordinho e elegante */
    border-radius: 8px;
    /* Arredonda levemente os cantos */
}

/* Força a cor do texto de dica (placeholder) para ficar visível */
#leadForm .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Efeito quando o usuário clica no campo para digitar (Focus) */
#leadForm .form-control:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1) !important;
    /* Um brilho suave em volta */
}
.video-container iframe {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Tenta preencher o card, mas pode cortar bordas */
}

/* Garante que o container de vídeo tenha o mesmo tamanho que o card */
.work-card {
    position: relative;
    z-index: 1;
}
.yt-player-target {
    pointer-events: auto !important; /* Permite o clique no vídeo */
}

.video-container {
    z-index: 5;
}