:root {
    --primary: hsl(200, 100%, 36%);
    --primary-light: hsl(200, 100%, 45%);
    --secondary: hsl(190, 80%, 50%);
    --accent: hsl(38, 96%, 53%);
    --bg-main: hsl(210, 30%, 98%);
    --bg-section: #ffffff;
    --glass: rgba(255, 255, 255, 0.45);
    --glass-border: rgba(255, 255, 255, 0.7);
    --text-primary: hsl(220, 60%, 15%);
    --text-secondary: hsl(210, 40%, 30%);
    --text-muted: hsl(210, 15%, 45%);
    --white: #ffffff;
    --shadow-sm: 0 4px 12px rgba(0, 71, 107, 0.05);
    --shadow-md: 0 12px 32px rgba(0, 71, 107, 0.1);
    --shadow-lg: 0 24px 64px rgba(0, 71, 107, 0.15);
    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-lg: 40px;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Outfit:wght@400;700;900&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-muted);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
}

/* Utilitate pentru Glassmorphism */
.glass {
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass:hover {
    box-shadow: var(--shadow-lg);
}

/* Antet (Header) */
header {
    position: fixed;
    top: 1.5rem;
    left: 5%;
    width: 90%;
    z-index: 1000;
    padding: 1.25rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
}

header.scrolled {
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-md);
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.logo span { 
    color: var(--primary); 
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul { display: flex; list-style: none; gap: 2.5rem; }
nav ul li { margin-left: 0; }
nav ul li a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    opacity: 0.8;
}

nav ul li a:hover { 
    color: var(--primary); 
    opacity: 1;
    transform: translateY(-1px);
}

/* Toggle Meniu Mobil */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 10px;
    transition: 0.4s;
}

/* Stiluri Navigație Mobil */
@media (max-width: 900px) {
    header {
        top: 0;
        left: 0;
        width: 100%;
        border-radius: 0;
        padding: 1rem 1.5rem;
    }

    .menu-toggle {
        display: flex;
    }

    #nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        width: 80%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-top: 0;
        transition: 0.6s cubic-bezier(0.77, 0, 0.175, 1);
        box-shadow: -20px 0 50px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    #nav-menu.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    nav ul li a {
        font-size: 1.5rem;
        font-weight: 700;
    }
}

/* Secțiunea Hero (Prima pagină) */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.6)), url('assets/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    filter: blur(80px);
    opacity: 0.5;
}

.blob {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    animation: drift 20s infinite alternate cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.blob-1 { width: 400px; height: 400px; top: -100px; left: -100px; background: var(--primary); }
.blob-2 { width: 500px; height: 500px; bottom: -150px; right: -100px; background: var(--secondary); animation-delay: -5s; }
.blob-3 { width: 300px; height: 300px; top: 20%; right: 10%; background: var(--accent); animation-delay: -10s; }

@keyframes drift {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    100% { transform: translate(100px, 50px) scale(1.1) rotate(45deg); }
}

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

.hero h1 {
    font-size: clamp(3.5rem, 12vw, 8rem);
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -2px;
    line-height: 1;
}

.hero p {
    font-size: clamp(1.1rem, 3vw, 1.8rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 500;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1.25rem 3rem;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px -5px rgba(0, 119, 182, 0.3);
    display: inline-block;
}

.btn:hover {
    background: var(--primary-light);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px -10px rgba(0, 119, 182, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: none;
}

.btn-outline:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
    background: rgba(0, 119, 182, 0.05);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    z-index: 2;
    opacity: 0.6;
}

.scroll-indicator span {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--text-secondary);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scroll-anim 2s infinite;
}

@keyframes scroll-anim {
    0% { transform: translate(-50%, 0); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: translate(-50%, 20px); opacity: 0; }
}

/* Secțiuni Generale */
section {
    padding: 120px 10%;
    position: relative;
    background: var(--bg-section);
    z-index: 5;
}

#symbols {
    background: var(--bg-main);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 5rem;
    text-align: center;
    position: relative;
    letter-spacing: -1px;
}

.section-title::before {
    content: 'Descoperă';
    display: block;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 20px auto 0;
    border-radius: 10px;
}

/* Grila Secțiunii "Despre" */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
}

.about-card {
    padding: 4rem;
    position: relative;
}

.about-card::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--accent);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Grila de Carduri (Simboluri) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 3rem;
}

.card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-img {
    height: 300px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.card:hover .card-img {
    transform: scale(1.1);
}

.card-content {
    padding: 1.5rem 2rem 2.5rem;
}

.card-content h3 {
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

/* Banner cu efect Parallax */
.parallax-banner {
    height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('assets/hero.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.banner-glass {
    padding: 4rem;
    text-align: center;
    max-width: 700px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: var(--white);
}

.banner-glass h2 { color: var(--white); margin-bottom: 1.5rem; font-size: clamp(2rem, 5vw, 3rem); font-family: 'Outfit', sans-serif; }
.banner-glass p { color: var(--white); opacity: 0.9; font-size: 1.2rem; margin-bottom: 2rem; }

/* Secțiunea Istorie */
.history-card {
    padding: 4rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Subsol (Footer) */
footer {
    padding: 100px 10% 60px;
    background: var(--text-primary);
    color: var(--white);
    text-align: center;
    position: relative;
    border-top: none;
}

.footer-logo {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    display: block;
    font-family: 'Outfit', sans-serif;
}

.footer-logo span { 
    color: var(--secondary);
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-nav {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.footer-nav a {
    text-decoration: none;
    color: var(--white);
    opacity: 0.7;
    font-weight: 600;
    transition: 0.3s;
}

.footer-nav a:hover { opacity: 1; color: var(--secondary); transform: translateY(-2px); }

footer p { opacity: 0.5; font-size: 0.9rem; margin-top: 1rem; }

/* Animații de tip Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (max-width: 900px) {
    section { padding: 80px 5%; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .parallax-banner { height: auto; padding: 60px 10%; border-radius: var(--radius-md); }
    .banner-glass { padding: 2.5rem; }
    .footer-nav { flex-direction: column; gap: 1.5rem; }
    
    .hero h1 { font-size: 4rem; }
    .hero p { font-size: 1.1rem; }
}
