/* General Reset & Body Styling */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #F9F9F9; /* Soft off-white background */
    color: #333333;
}

/* Container Layout */
.faq-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Lato', sans-serif;
}

/* Header Styling */
.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header h2 {
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 12px !important;
    color: #333333 !important;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.faq-header p {
    font-size:24px;
    color: #000;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.5;
}

/* Accordion Item Styling */
.faq-item {
    border-bottom: 1px solid #E0E0E0;
    margin-bottom: 10px;
}

/* The Clickable Question Area */
.faq-question {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 400;
    padding: 25px 0;
    cursor: pointer;
    list-style: none; /* Removes default triangle */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

/* Custom Plus Icon using CSS pseudo-elements */
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    color: #999;
    transition: transform 0.3s ease;
}

/* Hover Effect */
.faq-question:hover {
    color: #b49470; /* Luxury Gold Color */
}

/* Removes default arrow in Webkit browsers (Chrome/Safari) */
.faq-question::-webkit-details-marker {
    display: none;
}

/* The Answer Area */
.faq-answer {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    padding-bottom: 25px;
    padding-right: 40px; /* Space for reading comfort */
    opacity: 0; 
    animation: fadeIn 0.5s forwards; /* Smooth fade in */
}

/* Active State Styles (When open) */
details[open] .faq-question {
    color: #b49470; /* Stays gold when open */
}

details[open] .faq-question::after {
    transform: rotate(45deg); /* Rotates plus to become an X */
    color: #b49470;
}

/* Simple Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .faq-header h2 {
        font-size: 2rem;
    }
    
    .faq-question {
        font-size: 1.1rem;
    }
}