/* CSS Reset & General */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    /* Light Mode (Bej cu accente verde si auriu) */
    --bg-color: #f7f6f2; /* Bej deschis aerisit */
    --text-color: #1c2b22; /* Verde foarte inchis pentru text */
    --accent-green: #1B4332; /* Verde inchis */
    --accent-gold: #C5A059; /* Auriu */
    
    /* Glassmorphism Variables */
    --glass-bg-nav: rgba(247, 246, 242, 0.75);
    --glass-bg-card: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.7);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --glass-input: rgba(255, 255, 255, 0.5);
}

body[data-theme="dark"] {
    /* Dark Mode (Aproape negru, elegant cu aceleasi accente) */
    --bg-color: #111412;
    --text-color: #e5e5e0;
    --accent-green: #2d6a4f;
    --accent-gold: #d4af37;
    
    /* Glassmorphism Variables Dark */
    --glass-bg-nav: rgba(17, 20, 18, 0.75);
    --glass-bg-card: rgba(30, 35, 32, 0.5);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --glass-input: rgba(25, 30, 27, 0.6);
}

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

h1, h2, h3, h4, .logo, .nav-links a, .btn {
    font-family: 'Outfit', sans-serif;
}

/* Glassmorphism Helpers */
.glass-nav, .glass-card, .glass-btn, .glass-footer {
    background: var(--glass-bg-nav);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease;
}

/* Typography & Links */
a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.accent-link {
    color: var(--accent-gold);
    font-weight: 500;
}
.accent-link:hover {
    color: var(--accent-green);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}
.logo-accent {
    color: var(--accent-gold);
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}
.nav-links a {
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}
.nav-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Language Switch */
.lang-switch {
    display: flex;
    gap: 0.5rem;
    background: var(--glass-input);
    padding: 4px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}
.lang-switch input[type="radio"] {
    display: none;
}
.lang-switch label {
    cursor: pointer;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
}
.lang-switch input[type="radio"]:checked + label {
    background: var(--accent-green);
    color: #fff;
}

/* Buttons */
.icon-btn {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.2s;
}
.icon-btn:hover {
    background: var(--glass-input);
    transform: scale(1.1);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.4rem;
}

@media (max-width: 900px) {
    .mobile-menu-btn {
        display: block !important;
    }
    .nav-controls {
        display: none !important;
    }
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #0b3d2b;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        padding: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1001;
    }
    .nav-links.active {
        display: flex;
        transform: translateX(0);
    }
}

/* Floating Buttons */
.floating-btn {
    position: fixed;
    z-index: 999;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s;
}
.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.top-right {
    top: 5rem;
    right: 2rem;
    padding: 10px 24px;
    background: var(--glass-bg-card);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
}
.top-right:hover {
    background: var(--accent-gold);
    color: #fff;
}

.bottom-right {
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366; /* WhatsApp Green */
    color: white;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}
.bottom-right:hover {
    background: #20BA56;
}

/* Parallax Header */
.page-header {
    height: 50vh;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    padding-top: 80px;
}
.glass-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(27, 67, 50, 0.6) 0%, rgba(197, 160, 89, 0.4) 100%);
    backdrop-filter: blur(2px);
}
body[data-theme="dark"] .glass-overlay {
    background: linear-gradient(135deg, rgba(17, 20, 18, 0.8) 0%, rgba(45, 106, 79, 0.6) 100%);
}
.header-content {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 800px;
    padding: 0 2rem;
}
.header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.header-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Main Section */
.about-main {
    padding: 5rem 0;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.section-heading {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent-green);
    position: relative;
    display: inline-block;
}
body[data-theme="dark"] .section-heading {
    color: var(--accent-gold);
}
.section-heading::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--accent-gold);
    bottom: -10px;
    left: 0;
}
.section-heading.center {
    text-align: center;
    display: block;
}
.section-heading.center::after {
    left: 50%;
    transform: translateX(-50%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    margin-top: -6rem; /* Overlap header slightly */
    position: relative;
    z-index: 10;
    align-items: center;
}

.glass-card {
    background: var(--glass-bg-card);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}
.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-gold);
    font-family: 'Outfit', sans-serif;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: baseline;
}
.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    opacity: 0.8;
}

.about-image-wrapper {
    position: relative;
    height: 100%;
    min-height: 400px;
}
.glass-image-container {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 10px;
    background: var(--glass-bg-card);
    backdrop-filter: blur(8px);
}
.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Values Section */
.values-section {
    padding: 6rem 0;
}
.glass-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.value-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 2.5rem 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}
.value-card .icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.1);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.3s, background 0.3s, color 0.3s;
}
.value-card:hover .icon-circle {
    transform: scale(1.1);
    background: var(--accent-gold);
    color: white;
}
.value-card h3 {
    font-size: 1.4rem;
    color: var(--accent-green);
}
body[data-theme="dark"] .value-card h3 {
    color: var(--accent-gold);
}
.value-card p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Footer */
.glass-footer {
    padding: 2rem 0;
    margin-top: auto;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.footer-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
}
.footer-links a:hover {
    color: var(--accent-gold);
}
.anpc-link {
    font-weight: 700;
    border: 1px solid currentColor;
    padding: 2px 6px;
    border-radius: 4px;
}
.footer-copy {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Animations */
.fade-in { animation: fadeIn 1s ease forwards; opacity: 0; }
.fade-in-up { animation: fadeInUp 1s ease forwards; opacity: 0; }
.slide-in-left { animation: slideInLeft 0.8s ease forwards; opacity: 0; }
.slide-in-right { animation: slideInRight 0.8s ease forwards; opacity: 0; }
.active-anim { animation: activeNav 0.5s ease; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes activeNav {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-content {
        order: 2;
    }
    .about-image-wrapper {
        order: 1;
        min-height: 300px;
    }
    .glass-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .header-content h1 {
        font-size: 2.8rem;
    }
    .glass-card {
        padding: 2rem;
        margin-top: 1rem;
    }
    .about-grid {
        margin-top: -3rem;
    }
    .glass-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .top-right {
        top: 6rem;
        right: 1rem;
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    .bottom-right {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    padding: 5.5rem 5% 0;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.65;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--accent-green); font-weight: 500; }
.breadcrumb a:hover { color: var(--accent-gold); }
[data-theme="dark"] .breadcrumb a { color: var(--accent-gold); }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb span { font-weight: 600; color: var(--text-color); }

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
}
.faq-item {
    background: var(--glass-bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.3s;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.faq-item:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: 'Outfit', sans-serif;
}
.faq-question .faq-icon {
    color: var(--accent-gold);
    font-size: 1.3rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 2rem;
    color: var(--text-color);
    opacity: 0.85;
    line-height: 1.8;
    font-size: 0.97rem;
}
.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem;
}

/* ===== SERVICE CARD (used in testimonials) ===== */
.service-card {
    padding: 2.5rem;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* ===== SECTION TITLE (shared with index) ===== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--accent-green);
    margin-bottom: 1rem;
}
[data-theme="dark"] .section-title { color: var(--accent-gold); }

/* ===== REVEAL ANIMATION ===== */
.reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
    .faq-section { padding: 4rem 5%; }
    .faq-question { font-size: 0.95rem; padding: 1.2rem 1.5rem; }
    .service-card { padding: 1.5rem; }
}
