/* ==========================================
   Avocat Afaceri - Enterprise Legal Design
   ========================================== */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

/* ---- Navigation ---- */
#navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

/* ---- Hero ---- */
.hero-section {
    background-color: #0f1b2d;
    position: relative;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 149, 62, 0.3), transparent);
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
    background-color: #0f1b2d;
    position: relative;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 149, 62, 0.3), transparent);
}

/* ---- Breadcrumb ---- */
.breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ---- Gold accent line ---- */
.accent-line {
    width: 48px;
    height: 2px;
    background-color: #b8953e;
}

/* ---- Service card ---- */
.service-card {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* ---- FAQ accordion ---- */
.faq-item {
    border-bottom: 1px solid #e2e8f0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-icon {
    transition: transform 0.3s ease;
}

/* ---- Content list ---- */
.content-list li {
    position: relative;
    padding-left: 1.25rem;
}

.content-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #b8953e;
}

/* ---- CTA section ---- */
.cta-section {
    background-color: #0f1b2d;
}

/* ---- Form inputs ---- */
.form-input:focus {
    border-color: #0f1b2d;
    box-shadow: 0 0 0 3px rgba(15, 27, 45, 0.08);
    outline: none;
}

/* ---- Stat card ---- */
.stat-card {
    position: relative;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #b8953e;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
    }
}
