/* Design System */
:root {
    /* Colors */
    --color-bg: #111111;
    /* Preto elegante */
    --color-text: #F5F5F0;
    /* Off-white */
    --color-primary: #D4AF37;
    /* Dourado suave */
    --color-accent: #2A2A2A;
    /* Cinza escuro para cards/seções */
    --color-text-muted: #A3A3A3;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px 0;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.no-scroll {
    overflow: hidden;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(10px);
    transition: padding 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 1.2rem;
    color: var(--color-primary);
    animation: cameraFlash 3s infinite ease-in-out;
}

@keyframes cameraFlash {

    0%,
    90%,
    100% {
        text-shadow: none;
        color: var(--color-primary);
        transform: scale(1);
    }

    92% {
        color: #fff;
        text-shadow: 0 0 10px #fff, 0 0 20px #fff;
        transform: scale(1.1);
    }

    94% {
        color: var(--color-primary);
        text-shadow: none;
        transform: scale(1);
    }

    96% {
        color: #fff;
        text-shadow: 0 0 10px #fff;
        transform: scale(1.1);
    }
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text);
}

.nav-links a:hover {
    color: var(--color-primary);
}

.nav-links .btn-primary:hover {
    color: var(--color-bg);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 2000;
    /* Ensure over menu */
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-text);
    transition: all 0.3s ease;
}

/* Hamburger Animation */
.hamburger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.toggle .line2 {
    opacity: 0;
}

.hamburger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Buttons */

/* Buttons */
.btn-primary {
    border: 1px solid var(--color-primary);
    padding: 10px 25px;
    color: var(--color-primary);
    border-radius: 50px;
}

.btn-primary:hover {
    background: var(--color-primary);
    color: var(--color-bg);
}

.btn-outline {
    display: inline-block;
    border: 1px solid var(--color-text);
    padding: 15px 35px;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 30px;
    border-radius: 50px;
    transition: all 0.4s ease;
    animation: btnPulse 3s infinite ease-in-out;
}

@keyframes btnPulse {

    0%,
    100% {
        background: transparent;
        color: var(--color-text);
        box-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }

    50% {
        background: var(--color-text);
        color: var(--color-bg);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    }
}

.btn-outline:hover {
    background: var(--color-text);
    color: var(--color-bg);
    transform: translateY(-3px);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Overlay escuro para contraste */
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    opacity: 0;
    /* Hidden initially for animation */
    transform: translateY(30px);
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title em {
    font-style: italic;
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    font-weight: 300;
    letter-spacing: 1px;
}



/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
    opacity: 0.8;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--color-text);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 2px;
    height: 6px;
    background-color: var(--color-text);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

.arrow span.span-arrow {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--color-text);
    border-right: 2px solid var(--color-text);
    transform: rotate(45deg);
    margin: -4px auto;
    animation: scrollArrow 2s infinite;
}

.arrow span.span-arrow:nth-child(2) {
    animation-delay: -0.2s;
}

.arrow span.span-arrow:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes scrollWheel {
    0% {
        top: 8px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

@keyframes scrollArrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

/* Sections */
.section {
    padding: var(--section-padding);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.section-title em {
    font-style: italic;
    color: var(--color-primary);
}

.section-title.center {
    text-align: center;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 5px;
    /* filter: grayscale(100%); Removed by user request */
    transition: filter 0.5s ease;
}



.about-content .section-title {
    font-size: 2.2rem;
    /* Reduced from default 3rem */
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.signature {
    font-family: 'Great Vibes', cursive;
    /* Fallback if not loaded, sticking to serif for now */
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 2rem;
    margin-top: 30px;
    color: var(--color-primary);
    text-align: right;
}

/* Portfolio Section */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-bottom: 5px;
    position: relative;
    transition: color 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    color: var(--color-primary);
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.filter-btn.active::after {
    width: 100%;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
}

.portfolio-item img,
.portfolio-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item:hover img,
.portfolio-item:hover video {
    transform: scale(1.05);
}

.portfolio-item.mobile-visible img,
.portfolio-item.mobile-visible video {
    transform: scale(1.05);
}

.portfolio-item.mobile-visible .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.portfolio-overlay p {
    color: var(--color-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Experience Section */
.experience-section {
    background: var(--color-accent);
}

.experience-content {
    text-align: center;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, background 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
}

.card i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 25px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card p {
    color: var(--color-text-muted);
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .nav-links {
        position: fixed;
        right: 0px;
        height: 100vh;
        top: 0;
        background-color: var(--color-bg);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        /* Full width */
        gap: 50px;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 1500;
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-grid,
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .about-image img {
        height: 400px;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

.whatsapp-float i {
    margin-top: 0;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}

/* Testimonials Section */
.testimonials-section {
    position: relative;
    overflow: hidden;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    min-height: 300px;
    /* Adjust based on content */
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    transform: translateX(50px);
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    position: relative;
    /* Make it take up space */
}

.testimonial-text {
    font-size: 1.5rem;
    font-style: italic;
    font-family: var(--font-heading);
    margin-bottom: 30px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-primary);
}

.testimonial-author h4 {
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.slider-controls button {
    background: transparent;
    border: 1px solid var(--color-text-muted);
    color: var(--color-text);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-controls button:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-bg);
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1519225448526-0a09d6641151?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-attachment: fixed;
    /* Parallax effect */
    background-position: center;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-section em {
    font-family: 'Great Vibes', cursive;
    /* font-family: var(--font-heading); fallback */
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--color-primary);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info p {
    margin-bottom: 30px;
    color: var(--color-text-muted);
}

.method {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.method i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.social-links {
    margin-top: 40px;
    display: flex;
    gap: 20px;
}

.social-links a {
    font-size: 1.5rem;
    color: var(--color-text);
}

.social-links a:hover {
    color: var(--color-primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 0;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.footer .credits i {
    color: var(--color-primary);
    font-size: 0.8rem;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-info {
        order: 2;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .testimonial-text {
        font-size: 1.2rem;
    }
}