/* Hero Section */
.faq-hero {
    text-align: center;
    padding: 80px 0 2rem;
    background: radial-gradient(circle at center, rgba(212, 182, 144, 0.1) 0%, transparent 70%);
    position: relative;
    overflow: hidden;
}

.faq-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 182, 144, 0.03) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.faq-logo {
    width: 150px;
    height: 200px;


}

.faq-logo:hover {
    transform: scale(1.05);
}

.faq-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.0rem;
    font-weight: 700;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.faq-hero-subtitle {
    font-size: 1.2rem;
    color: var(--primary-gold);
    margin-bottom: 8px;
    font-weight: 500;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.faq-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.faq-container {
    background: var(--gradient-card);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.faq-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.faq-item {
    border-bottom: 1px solid rgba(212, 182, 144, 0.1);
    display: flex;
    flex-direction: column;
    height: fit-content;
    transition: all 0.3s ease;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item:hover {
    background: rgba(212, 182, 144, 0.02);
    border-radius: 10px;
    /*padding: 1rem;*/
    /*margin: 0 -1rem 1.5rem -1rem;*/
}

.faq-question {
    background: none;
    border: none;
    color: var(--primary-gold);
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    height: 90px;
    padding: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question::after {
    content: '+';
    font-size: 1.8rem;
    color: var(--primary-gold);
    transition: transform 0.3s ease;
    font-weight: 300;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-question:hover {
    color: var(--light-gold);
    /*transform: translateX(5px);*/
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: left;
    padding: 0 1rem;
}

.faq-answer.active {
    max-height: 1000px;
    padding: 1rem;
}

.faq-answer p {
    margin-bottom: 0.8rem;
}

.faq-answer span {
    display: block;
    margin-top: 0.5rem;
    font-weight: 400;
}

.faq-answer ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

/* Enhanced Typography */
.faq-question strong {
    font-weight: 600;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.3s ease-out;
}

/* Search Bar */
.search-container {
    max-width: 600px;
    margin: 0 auto 3rem;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 15px;
    color: var(--text-primary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 182, 144, 0.1);
}

.search-input::placeholder {
    color: var(--text-muted);
}

/* Categories */
.category-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.category-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.category-btn:hover,
.category-btn.active {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    border-color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        gap: 1rem;
    }

    .nav-container a {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }

    .faq-hero {
        padding: 2rem 1rem;
    }

    .faq-hero h1 {
        font-size: 2.5rem;
    }

    .faq-hero-subtitle {
        font-size: 1.1rem;
    }

    .faq-section {
        padding: 2rem 1rem;
    }

    .faq-container {
        padding: 2rem 1.5rem;
    }

    .faq-question {
        font-size: 1.2rem;
        padding: 0.8rem 0;
    }

    .faq-answer {
        font-size: 1rem;
        line-height: 1.6;
    }

    .faq-answer.active {
        max-height: 1500px;
        padding: 1rem 0;
    }

    .faq-answer p {
        margin-bottom: 0.8rem;
        word-wrap: break-word;
    }

    .floating-social {
        bottom: 1rem;
        right: 1rem;
    }

    .social-icon {
        width: 50px;
        height: 50px;
    }

    .search-container {
        margin: 0 1rem 2rem;
    }

    .category-filters {
        padding: 0 1rem;
        gap: 0.5rem;
    }

    .category-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .faq-hero h1 {
        font-size: 2rem;
    }

    .faq-hero {
        padding: 1.5rem 0.5rem;
    }

    .faq-section {
        padding: 1.5rem 0.5rem;
    }

    .faq-container {
        padding: 1.5rem 1rem;
    }

    .faq-question {
        font-size: 1.1rem;
        padding: 0.7rem 0;
        line-height: 1.4;
    }

    .faq-answer {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .faq-answer.active {
        max-height: 2000px;
        padding: 0.8rem 0;
    }

    .faq-answer p {
        margin-bottom: 0.6rem;
    }

    .faq-answer div {
        padding: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .category-filters {
        gap: 0.4rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .category-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }

    .search-input {
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 600px) {
    .faq-answer div {
        padding: 0.5rem;
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 450px) {
    .faq-answer div {
        padding: 0.4rem;
        font-size: 0.85rem;
        line-height: 1.3;
        margin-bottom: 0.4rem;
    }
}
