/* ==========================================================================
   PRO-AM ROMÂNIA - CORE STYLESHEET
   ========================================================================== */

/* --- 1. CORE VARIABLES --- */
:root {
    --bg-deep: #050505;
    --bg-surface: #0f0f0f;
    --bg-card: #161616;
    --gold-start: #C5A059;
    --gold-end: #EAD296;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;
    
    --font-display: 'Playfair Display', serif;
    --font-body: 'Manrope', sans-serif;
    
    --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
    --container-width: 1240px;
}

/* --- 2. GLOBAL RESET & BASE --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    -webkit-tap-highlight-color: transparent; 
}

html { 
    scroll-behavior: smooth; 
}

body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

:focus:not(:focus-visible) { 
    outline: none; 
}

:focus-visible { 
    outline: 2px solid var(--gold-start); 
    outline-offset: 4px; 
}

/* Luxury Grain Texture */
body::before {
    content: ""; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none; 
    z-index: 0; 
    mix-blend-mode: overlay;
}

nav, main, footer, .mobile-menu { 
    position: relative; 
    z-index: 1; 
}

/* --- 3. TYPOGRAPHY --- */
h1, h2, h3, h4 { 
    font-family: var(--font-display); 
    font-weight: 400; 
    line-height: 1.2; 
}

.display-text { 
    font-size: clamp(2.8rem, 7vw, 5.5rem); 
    letter-spacing: -1px; 
}

.section-title { 
    font-size: clamp(2rem, 4vw, 3rem); 
    margin-bottom: 1.5rem; 
}

.overline { 
    font-size: 0.75rem; 
    letter-spacing: 3px; 
    text-transform: uppercase; 
    color: var(--gold-start); 
    display: block; 
    margin-bottom: 1rem; 
    font-weight: 600; 
}

p { 
    color: var(--text-secondary); 
    margin-bottom: 1.5rem; 
}

.text-gradient {
    background: linear-gradient(135deg, var(--gold-start), #fff, var(--gold-end));
    -webkit-background-clip: text; 
    background-clip: text;
    -webkit-text-fill-color: transparent; 
    color: transparent; 
    display: inline-block;
}

/* Text Colors */
.text-gold { color: var(--gold-start); }
.text-white { color: #fff; }
.text-muted-light { color: #ddd; }
.text-muted-dark { color: #999; }
.text-center { text-align: center; }

/* Level Colors */
.color-bronze { color: #cd7f32; }
.color-silver { color: #c0c0c0; }
.color-gold { color: #FFD700; }

/* --- 4. LAYOUT & UTILITIES --- */
.container { 
    max-width: var(--container-width); 
    margin: 0 auto; 
    padding: 0 24px; 
}

.hidden { 
    display: none !important; 
    opacity: 0; 
}

/* Padding & Margin Utilities */
.pt-150 { padding-top: 150px; }
.pb-80 { padding-bottom: 80px; }
.py-100 { padding: 100px 0; }
.py-80 { padding: 80px 0; }
.py-60 { padding: 60px 0; }

.mt-20 { margin-top: 20px; }
.mt-50 { margin-top: 50px; }
.mt-60 { margin-top: 60px; }
.mb-20 { margin-bottom: 20px; }
.mb-50 { margin-bottom: 50px; }

.max-w-600 { max-width: 600px; margin-left: auto; margin-right: auto; }
.max-w-700 { max-width: 700px; margin-left: auto; margin-right: auto; }
.max-w-800 { max-width: 800px; margin-left: auto; margin-right: auto; }

.flex-gap-20 { display: flex; gap: 20px; }

/* Backgrounds & Borders */
.bg-surface { background: var(--bg-surface); }
.bg-border-top { border-top: 1px solid rgba(255,255,255,0.05); }
.bg-border-bottom { border-bottom: 1px solid rgba(255,255,255,0.05); }

/* Grid Layouts */
.split-layout { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 80px; 
    align-items: center; 
}

.steps-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); 
    gap: 40px; 
    margin-top: 50px; 
}

.faq-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 40px; 
}

.pro-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    margin-top: 50px; 
}

/* Images */
.img-wrapper { 
    position: relative; 
    overflow: hidden; 
    border-radius: 2px; 
}

.img-wrapper img { 
    width: 100%; 
    transition: transform 1.5s var(--ease-lux); 
    display: block; 
    filter: grayscale(100%); 
}

.img-wrapper:hover img { 
    transform: scale(1.01); 
    filter: grayscale(0%); 
}

.img-blend { mix-blend-mode: luminosity; }
.img-flip { transform: scaleX(-1); }

/* --- 5. COMPONENTS --- */

/* Buttons */
.btn-primary, .btn-outline {
    display: inline-block; 
    padding: 16px 36px; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    font-size: 0.85rem; 
    font-weight: 700; 
    text-decoration: none; 
    transition: 0.4s var(--ease-lux); 
    cursor: pointer; 
    text-align: center;
}

.btn-primary { 
    background: var(--text-primary); 
    color: #000; 
    border: none; 
}

.btn-primary:hover { 
    background: var(--gold-start); 
    transform: translateY(-3px); 
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.2); 
}

.btn-outline { 
    background: transparent; 
    color: #fff; 
    border: 1px solid rgba(255,255,255,0.2); 
    font-weight: 600; 
}

.btn-outline:hover, .btn-outline.gold-border { 
    border-color: var(--gold-start); 
    color: var(--gold-start); 
}

.btn-fluid { 
    flex: 1; 
    min-width: 200px; 
}

/* Navbar */
.navbar { 
    position: fixed; 
    top: 0; 
    width: 100%; 
    padding: 25px 0; 
    z-index: 1005; 
    background: rgba(5,5,5,0.01); 
    transition: 0.4s var(--ease-lux); 
}

.navbar.scrolled { 
    background: rgba(5,5,5,0.95); 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px); 
    border-bottom: 1px solid rgba(255,255,255,0.08); 
    padding: 15px 0; 
}

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

.brand-logo { 
    font-family: var(--font-display); 
    font-size: 1.5rem; 
    color: #fff; 
    text-decoration: none; 
    letter-spacing: 1px; 
    font-weight: 700; 
    z-index: 1002; 
}

.desktop-menu { 
    display: flex; 
    gap: 35px; 
    align-items: center; 
}

.nav-link { 
    color: var(--text-secondary); 
    text-decoration: none; 
    font-size: 0.9rem; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    transition: 0.3s; 
    background: none; 
    border: none; 
    cursor: pointer; 
}

.nav-link:hover, .nav-link.active { 
    color: #fff; 
}

/* Mobile Menu & Hamburger */
.hamburger { 
    display: none; 
    flex-direction: column; 
    gap: 6px; 
    cursor: pointer; 
    z-index: 1003; 
    width: 30px; 
    height: 26px; 
    justify-content: center; 
}

.bar { 
    width: 100%; 
    height: 2px; 
    background: #fff; 
    transition: 0.4s ease-in-out; 
    transform-origin: center; 
}

.hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); background-color: var(--gold-start); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background-color: var(--gold-start); }

.mobile-menu {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100vh; 
    height: 100dvh; 
    background: #050505; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    gap: 30px;
    transform: translateY(-100%); 
    transition: 0.6s var(--ease-lux); 
    z-index: 1001; 
}

.mobile-menu.open { 
    transform: translateY(0); 
}

.mobile-link { 
    font-family: var(--font-display); 
    font-size: 2rem; 
    color: #fff; 
    text-decoration: none; 
    cursor: pointer; 
    opacity: 0; 
    transform: translateY(20px); 
    transition: 0.5s; 
}

.mobile-link.active-mobile { color: var(--gold-start); }
.mobile-menu.open .mobile-link { opacity: 1; transform: translateY(0); }

/* Hero Section */
.hero { 
    height: 100vh; 
    display: flex; 
    align-items: center; 
    position: relative; 
    overflow: hidden; 
    padding-top: 60px; 
}

.hero-bg { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: -1; 
    object-fit: cover; 
    opacity: 0.4; 
    filter: contrast(1.1) brightness(0.8); 
}

.hero-overlay { 
    position: absolute; 
    top:0; 
    left:0; 
    width:100%; 
    height:100%; 
    background: linear-gradient(180deg, rgba(5,5,5,0.8) 0%, rgba(5,5,5,0.4) 50%, var(--bg-deep) 100%); 
    opacity: 0.3; 
}

.hero-content { 
    position: relative; 
    z-index: 2; 
    max-width: 900px; 
}

/* Step Cards */
.step-card { 
    background: rgba(255,255,255,0.03); 
    padding: 40px; 
    border: 1px solid rgba(255,255,255,0.05); 
    transition: 0.3s; 
    position: relative; 
    min-height: 320px; 
}

.step-card:hover { 
    transform: translateY(-5px); 
    border-color: var(--gold-start); 
}

.step-card.transparent { 
    border: none; 
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%); 
}

.step-number { 
    font-family: var(--font-display); 
    font-size: 4rem; 
    color: var(--gold-start); 
    opacity: 0.2; 
    position: absolute; 
    top: 20px; 
    right: 30px; 
    line-height: 1; 
}

.step-number.emoji { 
    font-size: 2rem; 
    opacity: 1; 
}

.step-title { 
    font-size: 1.4rem; 
    color: #fff; 
    margin-bottom: 15px; 
    margin-top: 10px; 
}

/* Stats */
.stat-box { text-align: center; }
.stat-num { font-size: 2rem; color: var(--gold-start); font-weight: 700; }
.stat-label { display: block; font-size: 0.8rem; text-transform: uppercase; }

/* Check Lists */
.check-list { 
    list-style: none; 
    margin: 30px 0; 
}

.check-list li { 
    margin-bottom: 15px; 
    display: flex; 
    align-items: flex-start; 
    gap: 15px; 
    color: #ddd; 
}

.check-list li::before { 
    content: "✓"; 
    color: var(--gold-start); 
    font-weight: bold; 
    flex-shrink: 0; 
    margin-top: 5px; 
}

/* Event Cards */
.event-card { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 30px; 
    border-bottom: 1px solid rgba(255,255,255,0.1); 
    transition: 0.3s; 
    background: linear-gradient(90deg, transparent, transparent); 
}

.event-card:hover { 
    background: linear-gradient(90deg, rgba(255,255,255,0.03), transparent); 
    padding-left: 40px; 
}

.date-box { text-align: center; margin-right: 30px; min-width: 60px; }
.d-day { font-size: 1.8rem; font-weight: 700; color: #fff; display: block; line-height: 1; }
.d-month { font-size: 0.8rem; text-transform: uppercase; color: var(--gold-start); }
.ev-info h3 { font-size: 1.3rem; margin-bottom: 5px; color: #fff; }
.ev-loc { font-size: 0.9rem; color: var(--text-muted); }

/* Schools & Pro Grid */
.school-grid { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 35px; 
    margin: 40px 0; 
    opacity: 0.7; 
}

.school-item { 
    font-family: var(--font-display); 
    font-size: 1.5rem; 
    color: #fff; 
    border: 1px solid rgba(255,255,255,0.1); 
    padding: 15px 30px; 
    transition: 0.3s; 
    cursor: default; 
	text-decoration: none;
}

.school-item:hover { 
    border-color: var(--gold-start); 
    color: var(--gold-start); 
    opacity: 1; 
}

.consultant-box { 
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.1), transparent); 
    border: 1px solid rgba(197, 160, 89, 0.3); 
    padding: 40px; 
    text-align: center; 
    max-width: 800px; 
    margin: 0 auto; 
    border-radius: 2px; 
}

/* Pro Cards */
.pro-card { 
    background: var(--bg-card); 
    border: 1px solid rgba(255,255,255,0.05); 
    padding: 30px; 
    text-align: center; 
    transition: 0.4s; 
}

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

.pro-avatar { 
    width: 100px; 
    height: 100px; 
    border-radius: 50%; 
    object-fit: cover; 
    margin: 0 auto 20px; 
    border: 2px solid var(--gold-start); 
    background: #333; 
}

.pro-name { font-size: 1.2rem; color: #fff; margin-bottom: 5px; font-family: var(--font-display); }
.pro-title { font-size: 0.8rem; color: var(--gold-start); text-transform: uppercase; margin-bottom: 15px; display: block;}
.pro-quote { font-style: italic; color: #999; font-size: 0.9rem; }

/* Footer */
.footer { 
    padding: 80px 0 30px; 
    border-top: 1px solid rgba(255,255,255,0.1); 
}

.footer-content { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: space-between; 
    gap: 50px; 
}

.f-brand { flex: 1; min-width: 250px; }
.f-links { display: flex; gap: 60px; }
.f-links a { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: 12px; transition: 0.3s; font-size: 0.9rem; }
.f-links a:hover { color: var(--gold-start); }

/* --- 6. ANIMATIONS --- */
.reveal { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: all 1s var(--ease-lux); 
}

.reveal.active { 
    opacity: 1; 
    transform: translateY(0); 
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-6 { transition-delay: 0.6s; }

/* --- 7. MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .desktop-menu { display: none; }
    .hamburger { display: flex; }
    .split-layout { grid-template-columns: 1fr; gap: 50px; }
    .display-text { font-size: 3rem; }
}

@media (max-width: 768px) {
    .img-wrapper img { 
        filter: grayscale(0%) !important; 
        transform: none !important; 
    }
    .event-card { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 20px; 
    }
    .event-card button { 
        width: 100%; 
        margin-top: 10px; 
    }
    .faq-grid { grid-template-columns: 1fr; }
    .f-links { flex-direction: column; gap: 30px; }
    .flex-gap-20 { flex-direction: column; width: 100%; gap: 15px; }
    .btn-fluid { width: 100%; }
}