/* 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;
}

/* 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-6726b3ff858f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80'); /* Professional finance bg */
    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: 4rem;
    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 */
.contact-main {
    padding: 5rem 0;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.glass-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: -8rem; /* Overlap header slightly */
    position: relative;
    z-index: 10;
}

.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);
}

/* Contact Info Column */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.info-block {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}
.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.1);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s;
}
.info-block:hover .icon-circle {
    transform: scale(1.1);
    background: var(--accent-gold);
    color: white;
}
.info-block h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--accent-green);
}
body[data-theme="dark"] .info-block h3 {
    color: var(--accent-gold);
}

/* Contact Form Column */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.8;
}
.glass-input {
    background: var(--glass-input);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 12px;
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}
.glass-input:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.1);
}

.submit-btn {
    background: var(--accent-gold);
    color: white;
    border: none;
    padding: 1.2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    margin-top: 1rem;
}
.submit-btn:hover {
    background: #a9803b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
}

/* Map Section */
.map-section {
    padding-bottom: 5rem;
}
.container-fluid {
    width: 100%;
    padding: 0 2rem;
}
.glass-map-container {
    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);
}
.glass-map-container iframe {
    border-radius: 12px;
    filter: invert(0%);
    transition: filter 0.4s ease;
}
body[data-theme="dark"] .glass-map-container iframe {
    filter: invert(90%) hue-rotate(180deg);
}

/* 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; }
.fade-in-up { animation: fadeInUp 1s ease forwards; }
.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(-30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .glass-grid {
        grid-template-columns: 1fr;
        margin-top: -4rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* In a real app, toggle with mobile btn */
    }
    .mobile-menu-btn {
        display: block;
    }
    .header-content h1 {
        font-size: 2.8rem;
    }
    .glass-card {
        padding: 2rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .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;
    }
}

/* ===== MOBILE MENU FIX ===== */
@media (max-width: 900px) {
    .mobile-menu-btn {
        display: block !important;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--primary-color, #0b3d2b);
        padding: 0.4rem;
    }
    .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);
    }
}

/* ===== 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(--primary-color, #0b3d2b); font-weight: 500; }
.breadcrumb a:hover { color: var(--accent-color, #d4af37); }
[data-theme="dark"] .breadcrumb a { color: var(--accent-color, #eedc82); }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb span { font-weight: 600; color: var(--text-color); }

/* ===== FAQ SECTION ===== */
.faq-section { padding: 4rem 5% 5rem; max-width: 1400px; margin: 0 auto; }
.section-heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-green, #0b3d2b);
    margin-bottom: 2.5rem;
}
.section-heading.center { text-align: center; }
[data-theme="dark"] .section-heading { color: var(--accent-gold, #eedc82); }

.faq-list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
    background: var(--glass-bg-card, rgba(255,255,255,0.4));
    border: 1px solid var(--glass-border, rgba(255,255,255,0.7));
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}
.faq-item:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.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, #1a2f24);
    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, #d4af37);
    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, #1a2f24);
    opacity: 0.85;
    line-height: 1.8;
    font-size: 0.97rem;
}
.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem;
}

/* ===== BTN PRIMARY ===== */
.btn-primary {
    display: inline-block;
    background: var(--accent-gold, #d4af37);
    color: #111;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
    text-decoration: none;
}
.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 25px rgba(212, 175, 55, 0.4);
    color: #111;
}
