/* FAQ Page Styles - Hitotoki Travel */

/* Header Section */
.faq-header {
    margin: 70px auto 50px;
    max-width: 900px;
    padding: 0 30px;
}

.faq-title {
    text-align: left;
    border-left: 1px solid #947A7A;
    padding-left: 20px;
    margin-bottom: 30px;
}

.faq-title span {
    display: block;
    font-family: 'ElroNet-Monospace', monospace;
    font-size: 18px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding-bottom: 8px;
    color: #202020;
}

.faq-title h1 {
    text-align: left;
    color: #947A7A;
    letter-spacing: 4px;
    font-size: 42px;
}

.faq-intro {
    max-width: 700px;
    padding-left: 21px;
}

.faq-intro p {
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 15px;
    line-height: 26px;
    color: #313131;
    letter-spacing: 0.5px;
}

/* FAQ Section */
.faq-section {
    max-width: 900px;
    margin: 0 auto 80px;
    padding: 0 30px;
}

/* FAQ Category */
.faq-category {
    margin-bottom: 60px;
}

.faq-category h2 {
    font-family: 'GildaDisplay-Regular', serif;
    font-size: 28px;
    color: #947A7A;
    letter-spacing: 2px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #947A7A;
    text-transform: uppercase;
}

/* FAQ Item */
.faq-item {
    border-bottom: 1px solid rgba(148, 122, 122, 0.3);
    margin-bottom: 0;
}

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

/* FAQ Question Button */
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    opacity: 0.8;
}

.faq-question h3 {
    font-family: 'ElroNet-Monospace', monospace;
    font-size: 16px;
    color: #202020;
    letter-spacing: 1px;
    font-weight: 400;
    margin: 0;
    padding-right: 20px;
    line-height: 1.5;
}

/* FAQ Icon (Plus/Minus) */
.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: #947A7A;
    transition: transform 0.3s ease;
}

.faq-icon::before {
    width: 20px;
    height: 1px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.faq-icon::after {
    width: 1px;
    height: 20px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer > div {
    padding: 0 0 25px 0;
}

.faq-answer p {
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 15px;
    color: #313131;
    line-height: 26px;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* Active State */
.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-item.active .faq-question h3 {
    color: #947A7A;
}

/* CTA Section */
.faq-cta {
    background-color: #EEEAE8;
    padding: 80px 30px;
    text-align: center;
}

.faq-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.faq-cta h2 {
    font-family: 'GildaDisplay-Regular', serif;
    font-size: 36px;
    color: #202020;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.faq-cta p {
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 16px;
    color: #313131;
    line-height: 26px;
    margin-bottom: 35px;
}

.faq-cta-button {
    display: inline-block;
    font-family: 'ElroNet-Monospace', monospace;
    font-size: 16px;
    text-transform: uppercase;
    color: #947A7A;
    padding: 15px 45px;
    border: 1px solid #947A7A;
    background: transparent;
    text-decoration: none;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.faq-cta-button:hover {
    background: rgba(148, 122, 122, 0.1);
}

/* Responsive Styles */
@media screen and (max-width: 1050px) {
    .faq-header {
        margin: 120px auto 40px;
        padding: 0 25px;
    }

    .faq-title h1 {
        font-size: 36px;
        letter-spacing: 3px;
    }

    .faq-title span {
        font-size: 16px;
    }

    .faq-section {
        padding: 0 25px;
    }

    .faq-category h2 {
        font-size: 24px;
    }

    .faq-question h3 {
        font-size: 15px;
    }

    .faq-cta h2 {
        font-size: 30px;
    }
}

@media screen and (max-width: 780px) {
    .faq-header {
        margin: 100px auto 30px;
        padding: 0 20px;
    }

    .faq-title h1 {
        font-size: 30px;
        letter-spacing: 2px;
    }

    .faq-title span {
        font-size: 15px;
    }

    .faq-intro {
        padding-left: 21px;
    }

    .faq-intro p {
        font-size: 14px;
        line-height: 24px;
    }

    .faq-section {
        padding: 0 20px;
        margin-bottom: 60px;
    }

    .faq-category {
        margin-bottom: 40px;
    }

    .faq-category h2 {
        font-size: 22px;
        letter-spacing: 1.5px;
    }

    .faq-question {
        padding: 20px 0;
    }

    .faq-question h3 {
        font-size: 14px;
        letter-spacing: 0.5px;
    }

    .faq-answer p {
        font-size: 14px;
        line-height: 24px;
    }

    .faq-cta {
        padding: 60px 20px;
    }

    .faq-cta h2 {
        font-size: 26px;
        letter-spacing: 2px;
    }

    .faq-cta p {
        font-size: 14px;
    }

    .faq-cta-button {
        font-size: 14px;
        padding: 12px 35px;
    }
}

@media screen and (max-width: 450px) {
    .faq-title h1 {
        font-size: 26px;
        letter-spacing: 1.5px;
    }

    .faq-title span {
        font-size: 14px;
    }

    .faq-category h2 {
        font-size: 20px;
    }

    .faq-question h3 {
        font-size: 13px;
    }

    .faq-icon {
        width: 16px;
        height: 16px;
    }

    .faq-icon::before {
        width: 16px;
    }

    .faq-icon::after {
        height: 16px;
    }

    .faq-cta h2 {
        font-size: 22px;
    }
}
