html {
    scroll-behavior: smooth;
}

body {
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4 {
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

.page-header {
    padding: 200px 20px 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
    background: var(--forest-dark);
}

.header-bg-layer {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: url('/orman-arka.jpg') center center / cover no-repeat;
    filter: blur(5px) brightness(0.22) contrast(1.05);
    z-index: 1;
}

.header-content-wrapper {
    position: relative;
    z-index: 2;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(34px, 5vw, 56px);
    color: white;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.page-subtitle {
    color: var(--emerald-gold);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
    background: rgba(197, 168, 128, 0.1);
    padding: 6px 15px;
    border-radius: 30px;
    border: 1px solid rgba(197, 168, 128, 0.2);
}

.search-container {
    max-width: 750px;
    margin: 0 auto 40px auto;
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(10, 23, 18, 0.85);
    border: 1px solid rgba(197, 168, 128, 0.4);
    border-radius: 50px;
    padding: 10px 25px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    transition: border-color 0.3s, box-shadow 0.3s;
}

    .search-box:focus-within {
        border-color: var(--emerald-gold);
        box-shadow: 0 15px 40px rgba(197, 168, 128, 0.2);
    }

.search-icon {
    font-size: 20px;
    color: var(--emerald-gold);
    margin-right: 15px;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    outline: none;
    padding: 10px 0;
}

    .search-input::placeholder {
        color: rgba(255, 255, 255, 0.4);
    }

.faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}

    .faq-item:hover {
        border-color: rgba(197, 168, 128, 0.3);
    }

    .faq-item.active {
        border-color: var(--emerald-gold);
        box-shadow: 0 15px 40px rgba(0,0,0,0.4);
        background: rgba(20, 54, 37, 0.5);
    }

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.q-content-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 20px;
}

.q-tag {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--emerald-gold);
    font-weight: 700;
    background: rgba(197, 168, 128, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    align-self: flex-start;
}

.q-text {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    color: white;
    line-height: 1.4;
    transition: color 0.3s;
}

.faq-item.active .q-text {
    color: var(--emerald-gold);
}

.faq-icon {
    font-size: 24px;
    color: var(--emerald-gold);
    transition: transform 0.4s ease;
    line-height: 1;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(197, 168, 128, 0.1);
    border-radius: 50%;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: var(--emerald-gold);
    color: var(--forest-dark);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(0,0,0,0.15);
}

.faq-answer-inner {
    padding: 0 30px 30px 30px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    line-height: 1.8;
    text-align: justify;
    font-weight: 300;
}

    .faq-answer-inner strong {
        color: white;
        font-weight: 600;
    }

#no-results {
    display: none;
    text-align: center;
    padding: 50px 20px;
    background: rgba(10, 23, 18, 0.5);
    border: 1px dashed rgba(197, 168, 128, 0.3);
    border-radius: 16px;
}

.support-card {
    margin-top: 50px;
    background: linear-gradient(135deg, rgba(20, 54, 37, 0.3) 0%, rgba(10, 23, 18, 0.8) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

@media (max-width: 768px) {
    .page-header {
        padding: 180px 20px 80px 20px;
    }

    .search-container {
        margin-top: 0;
    }

    .faq-question {
        padding: 20px;
    }

    .q-text {
        font-size: 17px;
    }

    .faq-answer-inner {
        padding: 0 20px 20px 20px;
        font-size: 14px;
    }

    .support-card {
        padding: 30px 20px;
    }
}
