/* ==========================================================================
   MULTIMEDIA PORTFOLIO STYLES - FILMAVIBE (Dark & Light Mode)
   ========================================================================== */

:root {
    --fv-bg: #111111;
    --fv-bg-secondary: #1B1B1B;
    --fv-text-primary: #F2F0EC;
    --fv-text-secondary: #929292;
    --fv-border: #353535;
    --fv-accent: #B7A58A;
    --multimedia-accent: #D48C46;
    --header-bg: rgba(17, 17, 17, 0.85);
}

/* Modo Claro (Light Mode) */
body.light-mode, .fv-page-wrapper.light-mode {
    --fv-bg: #F4F2EE;
    --fv-bg-secondary: #E5E2DC;
    --fv-text-primary: #1A1A1A;
    --fv-text-secondary: #666666;
    --fv-border: #D0CCC6;
    --fv-accent: #8C7A5B;
    --multimedia-accent: #C4682A;
    --header-bg: rgba(244, 242, 238, 0.85);
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--fv-bg);
    color: var(--fv-text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.fv-page-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--fv-bg);
    color: var(--fv-text-primary);
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Site Header */
.fv-site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-sizing: border-box;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(53, 53, 53, 0.2);
    transition: background 0.4s ease, border-color 0.4s ease;
}

.fv-brand {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--fv-text-primary);
    text-decoration: none;
}

.fv-nav-links {
    display: flex;
    gap: 30px;
}

.fv-nav-links a {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: var(--fv-text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.fv-nav-links a:hover, .fv-nav-links a.active {
    color: var(--fv-text-primary);
}

.fv-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.fv-theme-btn, .fv-lang-btn {
    background: transparent;
    border: none;
    color: var(--fv-text-secondary);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: color 0.3s ease;
}

.fv-theme-btn:hover, .fv-lang-btn:hover {
    color: var(--fv-text-primary);
}

/* Hero Section (Ajustado para destacar o texto a branco sobre a imagem) */
.fv-hero {
    position: relative;
    width: 100%;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.fv-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.fv-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45);
}

.fv-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.65);
    z-index: 2;
}

.fv-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
}

.fv-hero-id {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--multimedia-accent);
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}

.fv-hero-title {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 20px 0;
    line-height: 1;
    color: #F2F0EC !important; /* Forçado a branco puro */
}

.fv-hero-subtitle {
    font-size: 1.1rem;
    color: #F2F0EC !important; /* Forçado a branco para garantir leitura perfeita sobre a foto */
    letter-spacing: 0.05em;
    line-height: 1.6;
    opacity: 0.9;
}

.fv-hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    color: #F2F0EC;
}

.fv-scroll-line {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.4);
}

/* Sections General */
.fv-section {
    padding: 100px 80px;
    box-sizing: border-box;
}

.fv-section-header {
    margin-bottom: 60px;
}

.fv-section-tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--multimedia-accent);
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.fv-section-title {
    font-size: clamp(2rem, 3vw, 3.5rem);
    font-weight: 800;
    margin: 0 0 15px 0;
    letter-spacing: -0.01em;
}

.fv-section-desc {
    font-size: 1rem;
    color: var(--fv-text-secondary);
    max-width: 500px;
    margin: 0;
    line-height: 1.6;
}

/* Photography Grid */
.fv-photo-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
}

.fv-photo-card {
    grid-column: span 6;
    position: relative;
    height: 450px;
    overflow: hidden;
    cursor: pointer;
    background-color: var(--fv-bg-secondary);
    transition: background-color 0.4s ease;
}

.fv-photo-card.fv-photo-large {
    grid-column: span 12;
    height: 600px;
}

.fv-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

.fv-photo-card:hover img {
    transform: scale(1.04);
    filter: brightness(1.05);
}

.fv-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(17,17,17,0.85) 0%, rgba(17,17,17,0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    box-sizing: border-box;
}

.fv-photo-card:hover .fv-photo-overlay {
    opacity: 1;
}

.fv-photo-category {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    color: var(--multimedia-accent);
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.fv-photo-title {
    font-size: 1.25rem;
    margin: 0;
    font-weight: 600;
    color: #F2F0EC;
}

/* Lightbox */
.fv-lightbox-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 11, 11, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.fv-lightbox-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fv-lightbox-content img {
    max-width: 80vw;
    max-height: 75vh;
    object-fit: contain;
    display: block;
}

.fv-lightbox-caption {
    margin-top: 20px;
    text-align: center;
}

.fv-lightbox-caption h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #F2F0EC;
}

.fv-lightbox-caption span {
    font-size: 0.75rem;
    color: var(--fv-text-secondary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.fv-lightbox-close, .fv-lightbox-prev, .fv-lightbox-next {
    position: absolute;
    background: transparent;
    border: none;
    color: #F2F0EC;
    cursor: pointer;
    transition: color 0.3s ease;
}

.fv-lightbox-close {
    top: -40px;
    right: 0;
    font-size: 2rem;
}

.fv-lightbox-prev {
    left: -60px;
    font-size: 2rem;
}

.fv-lightbox-next {
    right: -60px;
    font-size: 2rem;
}

/* Video Section */
.fv-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.fv-video-card {
    cursor: pointer;
    background: var(--fv-bg-secondary);
    border: 1px solid var(--fv-border);
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease, background-color 0.4s ease;
}

.fv-video-card:hover {
    transform: translateY(-6px);
    border-color: var(--multimedia-accent);
}

.fv-video-thumb {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.fv-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.fv-video-card:hover .fv-video-thumb img {
    transform: scale(1.05);
}

.fv-video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(17, 17, 17, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #F2F0EC;
    transition: background 0.3s ease;
}

.fv-video-card:hover .fv-video-play-icon {
    background: var(--multimedia-accent);
}

.fv-video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(17, 17, 17, 0.8);
    color: #F2F0EC;
    padding: 4px 8px;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
}

.fv-video-info {
    padding: 30px;
}

.fv-video-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--multimedia-accent);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.fv-video-card-title {
    font-size: 1.35rem;
    margin: 0 0 12px 0;
}

.fv-video-card-desc {
    font-size: 0.9rem;
    color: var(--fv-text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Video Modal */
.fv-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 11, 11, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.fv-modal-container {
    position: relative;
    width: 80vw;
    max-width: 1000px;
    background: var(--fv-bg-secondary);
    border: 1px solid var(--fv-border);
    padding: 30px;
    box-sizing: border-box;
}

.fv-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--fv-text-primary);
    font-size: 2rem;
    cursor: pointer;
}

.fv-modal-player-wrapper video {
    width: 100%;
    max-height: 60vh;
    display: block;
    background: #000;
}

.fv-modal-info {
    margin-top: 20px;
}

.fv-modal-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
}

.fv-modal-info p {
    margin: 0;
    color: var(--fv-text-secondary);
}

/* Footer */
.fv-site-footer {
    background-color: var(--fv-bg-secondary);
    border-top: 1px solid var(--fv-border);
    padding: 60px 80px 30px 80px;
    margin-top: auto;
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.fv-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.fv-footer-brand {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.fv-footer-nav {
    display: flex;
    gap: 30px;
}

.fv-footer-nav a, .fv-footer-social a {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: var(--fv-text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.fv-footer-nav a:hover, .fv-footer-social a:hover {
    color: var(--fv-text-primary);
}

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

.fv-footer-bottom {
    border-top: 1px solid rgba(53, 53, 53, 0.4);
    padding-top: 25px;
    text-align: center;
    font-size: 0.75rem;
    color: var(--fv-text-secondary);
    letter-spacing: 0.1em;
}

/* Responsive */
@media (max-width: 1024px) {
    .fv-section, .fv-site-header, .fv-site-footer {
        padding-left: 40px;
        padding-right: 40px;
    }
    .fv-photo-card {
        grid-column: span 12;
    }
}

@media (max-width: 768px) {
    .fv-section {
        padding: 60px 20px;
    }
    .fv-site-header {
        padding: 0 20px;
    }
    .fv-footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .fv-modal-container {
        width: 95vw;
        padding: 15px;
    }
}