/* =========================================
   1. RESET & VARIABLES
   ========================================= */
:root {
    /* Culori: Dark & Sharp */
    --bg-color: #050505;       /* Negru mat profund */
    --surface-color: #121212;  /* Gri foarte închis pentru carduri */
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0; /* Gri mediu */
    
    /* UPDATE CULOARE: Neon Cyan */
    --accent-color: #00FFD3;   
    /* O nuanță ușor mai închisă pentru interacțiuni fine */
    --accent-hover: #00D1AD;   
    
    /* Culoare text pe fundal accent (Negru pentru contrast maxim cu Cyan) */
    --text-on-accent: #050505; 

    --border-color: #333333;

    /* Tipografie */
    --font-display: 'Playfair Display', serif; 
    --font-body: 'Inter', sans-serif;          

    /* Spacing */
    --container-width: 1200px;
    --spacing-section: 120px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   2. NAVIGATION
   ========================================= */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 20px 0;
}

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

.nav-brand h1 {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--accent-color); /* Hover cu Cyan */
}

.nav-cta {
    border: 1px solid var(--text-primary);
    padding: 10px 24px;
    color: var(--text-primary) !important;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--accent-color);
    color: var(--text-on-accent) !important; /* Text negru pe Cyan */
    border-color: var(--accent-color);
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-subtitle {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    margin-bottom: 30px;
    line-height: 1.1;
    overflow: hidden; 
}

/* Animație */
.hero-title span {
    display: inline-block; 
}

.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: revealChar 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes revealChar {
    from {
        opacity: 0;
        transform: translateY(80px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* --- BUTTONS UPDATE --- */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 16px 32px;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-on-accent); /* TEXT NEGRU pentru contrast cu Cyan */
    border: 1px solid var(--accent-color);
    font-weight: 600; /* Mai bold pentru impact pe neon */
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color); /* Text Cyan pe fundal negru (se vede bine) */
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    font-weight: 500;
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    background-color: rgba(255,255,255,0.05);
}

/* =========================================
   4. GLOBAL SECTIONS
   ========================================= */
section {
    padding: var(--spacing-section) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.section-description {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* =========================================
   5. SERVICES
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--surface-color);
    padding: 50px 40px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    /* Opțional: o umbră fină Cyan pentru efect neon */
    box-shadow: 0 0 20px rgba(0, 255, 211, 0.05); 
}

.service-icon {
    width: 50px;
    height: 50px;
    color: var(--accent-color);
    margin-bottom: 30px;
}

.service-card h3 {
    font-family: var(--font-body);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* =========================================
   6. PROCESS
   ========================================= */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.step {
    position: relative;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.step:hover {
    border-color: var(--accent-color);
}

.step-number {
    font-size: 3rem;
    font-family: var(--font-display);
    color: #2a2a2a;
    margin-bottom: 20px;
    font-weight: 700;
    transition: color 0.3s;
}

.step:hover .step-number {
    color: rgba(0, 255, 211, 0.2); /* Efect subtil la hover */
}

.step h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* =========================================
   7. PORTFOLIO (SHORTS)
   ========================================= */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    background: #000;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.portfolio-item:hover {
    border-color: var(--accent-color);
}

.portfolio-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   8. ABOUT (Credentials Unified)
   ========================================= */
.about {
    background-color: #0a0a0a;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.about-text p {
    margin-bottom: 25px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.about-credentials {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
    padding-top: 50px;
}

.credential {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.credential-line {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
}

.credential-number,
.credential-heading {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--text-primary);
    font-weight: 600;
    margin: 0;
    line-height: 1;
    letter-spacing: -0.5px;
}

.credential-result {
    font-family: var(--font-body);
    font-size: 2rem;
    color: var(--accent-color); /* Cyan */
    font-weight: 600; /* Mai bold pt lizibilitate */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
}

/* =========================================
   9. CONTACT
   ========================================= */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-details {
    margin-top: 40px;
    display: grid;
    gap: 30px;
}

.contact-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-item span {
    color: var(--text-secondary);
}

.contact-form--no-bullshit {
    background: var(--surface-color);
    padding: 60px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.no-form-copy {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
    line-height: 1.6;
}

.no-form-footnote {
    margin-top: 30px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   10. FOOTER
   ========================================= */
.footer {
    padding: 80px 0 40px;
    background: black;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-brand p {
    color: var(--text-secondary);
}

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

.footer-links a, .footer-social a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links a:hover, .footer-social a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #1a1a1a;
    color: #555;
    font-size: 0.8rem;
}

/* =========================================
   11. RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .nav-links { display: none; } 
    
    .hero-title { font-size: 3rem; }
    
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-credentials {
        flex-direction: column;
        gap: 40px;
    }
    
    .credential-line {
        flex-wrap: wrap;
    }

    .credential-number,
    .credential-heading {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
/* =========================================
   12. MOBILE MENU UPDATE (BURGER)
   ========================================= */

/* Stilul Butonului Burger */
.burger-menu {
    display: none; /* Ascuns pe desktop */
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1100; /* Peste meniul overlay */
}

.burger-menu span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--text-primary);
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.burger-menu span:nth-child(1) { top: 0px; }
.burger-menu span:nth-child(2) { top: 9px; }
.burger-menu span:nth-child(3) { top: 18px; }

/* Transformarea în "X" când e activ */
.burger-menu.active span:nth-child(1) {
    top: 9px;
    transform: rotate(135deg);
    background: var(--accent-color); /* Devine Cyan */
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.burger-menu.active span:nth-child(3) {
    top: 9px;
    transform: rotate(-135deg);
    background: var(--accent-color); /* Devine Cyan */
}

/* Stilul Meniului pe Mobil (Overlay) */
@media (max-width: 768px) {
    .burger-menu {
        display: block; /* Apare butonul */
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh; /* Tot ecranul */
        background: rgba(5, 5, 5, 0.98); /* Aproape opac */
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        
        /* Ascuns inițial (în afara ecranului sau opacity 0) */
        opacity: 0;
        pointer-events: none;
        transform: translateY(-20px);
        transition: all 0.4s ease;
        z-index: 1000;
    }

    /* Când clasa 'active' este adăugată prin JS */
    .nav-links.active {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0);
    }

    /* Stil link-uri pe mobil - mai mari */
    .nav-links a {
        font-size: 1.5rem;
        font-family: var(--font-display);
    }
    
    .nav-cta {
        margin-top: 20px;
        width: auto;
        font-size: 1.2rem;
    }
}