/*
Theme Name: Velmor Studio
Theme URI: https://velmorstudio.com
Author: Velmor Studio
Author URI: https://velmorstudio.com
Description: Tema premium dark com acentos dourados para agência de criação de sites. Design luxuoso e sofisticado com animações GSAP.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: velmor-studio
Tags: dark, luxury, gold, agency, portfolio, one-page
*/

/* ==========================================================================
   VARIÁVEIS CSS
   ========================================================================== */
:root {
    --color-black: #000000;
    --color-gold: #D4AF37;
    --color-gold-rgb: 212, 175, 55;
    --color-ice-white: #F5F5F5;
    --color-petrol-green: #003333;
    --font-title: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-black);
    color: var(--color-ice-white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    color: var(--color-ice-white);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--color-ice-white);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-gold);
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--color-ice-white);
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin: 10px auto 0;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--color-gold);
    color: var(--color-black);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--color-gold);
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(var(--color-gold-rgb), 0.4);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 14px;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--color-gold);
    box-shadow: 0 0 25px rgba(var(--color-gold-rgb), 0.8);
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(var(--color-gold-rgb), 0.3);
}

.site-header.header-shrink {
    height: 60px;
    background-color: var(--color-black);
    border-bottom: none;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.site-logo {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 2px;
    transition: font-size 0.3s;
}

.site-logo:hover {
    color: var(--color-gold);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-weight: 400;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-links a::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: width 0.3s ease;
    position: absolute;
    bottom: -5px;
    left: 0;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-petrol-green) 50%, var(--color-black) 100%);
    background-size: 300% 300%;
    animation: backgroundShift 20s ease infinite alternate;
    opacity: 0.8;
    z-index: 1;
}

@keyframes backgroundShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.hero-slogan {
    font-size: 6rem;
    font-weight: 700;
    color: var(--color-gold);
    text-shadow: 0 0 20px rgba(var(--color-gold-rgb), 0.6);
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: var(--color-ice-white);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
    padding: 120px 0;
    background-color: var(--color-black);
    min-height: 50vh;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
    padding: 120px 0;
    background-color: var(--color-black);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #0d0d0d;
    padding: 30px;
    border: 1px solid rgba(var(--color-gold-rgb), 0.1);
    border-radius: 8px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--color-gold-rgb), 0.3) 0%, transparent 60%);
    transition: transform 0.6s ease, opacity 0.6s ease;
    transform: scale(0.1) rotate(0deg);
    opacity: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-gold);
}

.service-card:hover::before {
    transform: scale(1) rotate(45deg);
    opacity: 0.2;
}

.service-card h3 {
    color: var(--color-gold);
    margin-bottom: 15px;
    font-size: 1.8rem;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--color-ice-white);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   PORTFOLIO SECTION
   ========================================================================== */
.portfolio-section {
    padding: 120px 0;
    background-color: #050505;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    aspect-ratio: 4/3;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    border: 2px solid transparent;
}

.portfolio-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    border-color: var(--color-gold);
    box-shadow: inset 0 0 20px rgba(var(--color-gold-rgb), 0.5);
}

.portfolio-overlay h4 {
    color: var(--color-gold);
    font-family: var(--font-title);
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(var(--color-gold-rgb), 0.8);
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--color-black);
    overflow: hidden;
}

.testimonials-wrapper {
    overflow: hidden;
}

.testimonials-slider {
    display: flex;
    animation: slideTestimonials 30s infinite linear;
}

@keyframes slideTestimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonial-card {
    min-width: 400px;
    padding: 40px;
    margin: 0 15px;
    background-color: #0a0a0a;
    border-radius: 8px;
    border-left: 3px solid var(--color-gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--color-ice-white);
}

.testimonial-author {
    font-weight: 700;
    color: var(--color-gold);
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.final-cta-section {
    background-color: var(--color-black);
    padding: 150px 0;
    text-align: center;
}

.final-cta-phrase {
    font-size: 4rem;
    color: var(--color-ice-white);
    margin-bottom: 50px;
    font-family: var(--font-title);
    letter-spacing: 1px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    padding: 30px 0;
    background-color: #050505;
    text-align: center;
    border-top: 1px solid rgba(var(--color-gold-rgb), 0.1);
}

.site-footer p {
    color: var(--color-ice-white);
    font-size: 0.9rem;
}

.site-footer a {
    color: var(--color-gold);
    font-weight: 700;
}

/* ==========================================================================
   ANIMATIONS (GSAP Classes)
   ========================================================================== */
.gsap-hidden {
    opacity: 0;
}

.gsap-fade-up {
    opacity: 0;
    transform: translateY(50px);
}

.gsap-fade-scale {
    opacity: 0;
    transform: scale(0.8);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
    .hero-slogan {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .final-cta-phrase {
        font-size: 2.5rem;
        padding: 0 20px;
    }
    
    .testimonial-card {
        min-width: 300px;
    }
}

@media (max-width: 600px) {
    .hero-slogan {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .final-cta-phrase {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
    }
    
    .testimonial-card {
        min-width: 280px;
        padding: 25px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 12px;
    }
}
