
:root {
    font-size: 62.5%; /* 10px */
    --main-color: #d3ad7f;
    --black: #131313;
    --bg: #010103;
    --text-color: #fff;
    --border: 0.1rem solid rgba(255, 255, 255, 0.3);
    --overlay-color: rgba(0, 0, 0, 0.7);
    --modal-bg: #13131f;
    --shadow-color: rgba(0, 0, 0, 0.5);
}

/* Tema Claro */
[data-theme="light"] {
    --main-color: #d3ad7f;
    --black: #333333;
    --bg: #f5f5f5;
    --text-color: #333333;
    --border: 0.1rem solid rgba(0, 0, 0, 0.1);
    --overlay-color: rgba(255, 255, 255, 0.7);
    --modal-bg: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: "Roboto", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background Video */
.background-video {
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
}

.background-video video {
    min-height: 100%;
    min-width: 100%;
    position: fixed;
    top: 0;
    object-fit: cover;
}

.overlay {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    background: linear-gradient(190deg, rgba(10, 12, 16, 0.99) 15%, rgba(10, 12, 16, 0.7) 50%, rgba(10, 12, 16, 0.99) 85%);
    transition: background 0.3s ease;
}

/* Controles de Utilidade (Tema e Idioma) */
.utility-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
    margin-right: 2rem;
}

/* Alternador de Tema */
.theme-toggle {
    position: relative;
}

#theme-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 3.6rem;
    height: 3.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

#theme-toggle-btn:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.theme-icon {
    width: 2.4rem;
    height: 2.4rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.light-icon {
    position: absolute;
    opacity: 0;
    transform: scale(0.7);
}

[data-theme="light"] .light-icon {
    opacity: 1;
    transform: scale(1);
}

[data-theme="light"] .dark-icon {
    opacity: 0;
    transform: scale(0.7);
}

/* Seletor de Idioma */
.language-selector {
    display: flex;
    gap: 0.8rem;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lang-btn:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.lang-btn.active {
    opacity: 1;
    box-shadow: 0 0 0 2px var(--main-color);
}

.lang-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: var(--bg);
    border-bottom: var(--border);
    width: 100%;
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
}

.logo img {
    height: 6rem;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    font-size: 1.8rem;
    color: #fff;
    transition: 0.4s;
    position: relative;
}

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

.nav-list a:hover::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 100%;
    height: 0.1rem;
    background-color: var(--main-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 2.5rem;
    height: 0.3rem;
    background-color: #fff;
    position: relative;
    transition: 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #fff;
    transition: 0.3s;
}

.hamburger::before {
    top: -0.8rem;
}

.hamburger::after {
    bottom: -0.8rem;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0;
}

.hero-section .container {
    max-width: 70rem;
}

.hero-section h1 {
    color: white;
    font-size: 5rem;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-section p {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 300;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.btn-primary {
    background-color: var(--main-color);
    cursor: pointer;
    display: inline-block;
    font-size: 1.7rem;
    color: #fff;
    padding: 1rem 3rem;
    border: none;
    transition: 0.3s;
    text-align: center;
}

.btn-primary:hover {
    letter-spacing: 0.1rem;
    background-color: #c19b6c;
}

/* About Section */
.about-section {
    padding: 8rem 0;
}

.section-title {
    text-align: center;
    color: white;
    text-transform: uppercase;
    margin-bottom: 4rem;
    font-size: 4rem;
}

.section-title span {
    color: var(--main-color);
}

.about-container {
    display: flex;
    align-items: center;
    background-color: var(--black);
    border-radius: 0.5rem;
    overflow: hidden;
}

.about-image {
    flex: 1;
    margin: 0;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-content {
    flex: 1;
    padding: 4rem;
}

.about-content h3 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 2rem;
}

.about-content p {
    font-size: 1.6rem;
    font-weight: 300;
    color: #fff;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Footer */
.main-footer {
    background-color: var(--black);
    padding: 2rem 0;
    text-align: center;
    border-top: var(--border);
}

.main-footer p {
    font-size: 1.4rem;
    color: #fff;
}

/* Modal */
.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background-color: var(--bg);
    padding: 3rem;
    border-radius: 0.5rem;
    border: var(--border);
    width: 90%;
    max-width: 70rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal h3 {
    margin-bottom: 2rem;
}

.modal iframe {
    width: 100%;
    height: 40rem;
    border-radius: 0.5rem;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 3rem;
    background: none;
    border: none;
    color: var(--main-color);
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #fff;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Animações */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
    }
    
    .about-image, .about-content {
        flex: 1 1 100%;
    }
    
    .about-content {
        padding: 3rem;
    }
    
    .hero-section h1 {
        font-size: 4.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 101;
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.5s;
        z-index: 100;
    }
    
    .nav-list.active {
        right: 0;
    }
    
    .nav-list li {
        margin: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 3.5rem;
    }
    
    .hero-section p {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .about-content h3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    :root {
        font-size: 55%;
    }
    
    .hero-section {
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .about-content {
        padding: 2rem;
    }
    
    .modal {
        padding: 2rem;
    }
}
