/*==========================================================
ARENASA
FAQ
Version 1.0
PART 1
==========================================================*/

/*==========================================================
SECTION
==========================================================*/

.faq-section{

    position:relative;

    overflow:hidden;

    padding:120px 0;

    background:

        radial-gradient(
            circle at top left,
            rgba(42,110,73,.14),
            transparent 45%
        ),

        radial-gradient(
            circle at bottom right,
            rgba(212,175,55,.05),
            transparent 35%
        ),

        linear-gradient(
            180deg,
            #173124 0%,
            #10241B 40%,
            #08120D 100%
        );

}

/*==========================================================
BACKGROUND EFFECT
==========================================================*/

.faq-section::before{

    content:"";

    position:absolute;

    inset:0;

    pointer-events:none;

    background:

        radial-gradient(

            circle at left center,

            rgba(35,120,78,.10),

            transparent 40%

        ),

        radial-gradient(

            circle at right top,

            rgba(212,175,55,.08),

            transparent 30%

        );

}

.faq-section::after{

    content:"";

    position:absolute;

    inset:0;

    pointer-events:none;

    opacity:.03;

    background-image:

        radial-gradient(#ffffff 1px, transparent 1px);

    background-size:12px 12px;

}

/*==========================================================
CONTAINER
==========================================================*/

.faq-section .container{

    position:relative;

    z-index:2;

    max-width:1100px;

    margin:auto;

    padding:0 30px;

}

/*==========================================================
SECTION TITLE
==========================================================*/

.faq-section .section-title{

    text-align:center;

    margin-bottom:70px;

}

.faq-section .section-subtitle{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:10px 24px;

    margin-bottom:22px;

    border-radius:100px;

    background:rgba(212,175,55,.08);

    border:1px solid rgba(212,175,55,.25);

    color:#D4AF37;

    font-size:14px;

    font-weight:600;

    letter-spacing:1px;

    text-transform:uppercase;

}

.faq-section .section-subtitle::before{

    content:"";

    width:8px;

    height:8px;

    border-radius:50%;

    background:#D4AF37;

    box-shadow:0 0 12px rgba(212,175,55,.8);

}

.faq-section .section-title h2{

    margin:0;

    color:#FFFFFF;

    font-family:'Cormorant Garamond',serif;

    font-size:54px;

    font-weight:700;

    line-height:1.15;

}

.faq-section .section-title p{

    max-width:760px;

    margin:24px auto 0;

    color:rgba(255,255,255,.78);

    font-size:18px;

    line-height:1.9;

}

/*==========================================================
WRAPPER
==========================================================*/

.faq-wrapper{

    display:flex;

    flex-direction:column;

    gap:18px;

}

/*==========================================================
ARENASA
FAQ
PART 2
CARD • QUESTION • ANSWER
==========================================================*/

/*==========================================================
FAQ ITEM
==========================================================*/

.faq-item{

    position:relative;

    overflow:hidden;

    border-radius:22px;

    background:rgba(8,26,18,.72);

    backdrop-filter:blur(16px);

    border:1px solid rgba(212,175,55,.18);

    box-shadow:
        0 20px 45px rgba(0,0,0,.28),
        inset 0 1px 0 rgba(255,255,255,.03);

    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;

}

/*==========================================================
QUESTION
==========================================================*/

.faq-question{

    width:100%;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:30px;

    padding:28px 32px;

    border:none;

    outline:none;

    cursor:pointer;

    background:transparent;

    color:#FFFFFF;

    text-align:left;

}

.faq-question span{

    flex:1;

    font-size:19px;

    font-weight:600;

    line-height:1.6;

}

/*==========================================================
ICON
==========================================================*/

.faq-question i{

    width:46px;

    height:46px;

    display:flex;

    align-items:center;

    justify-content:center;

    flex-shrink:0;

    border-radius:50%;

    border:1px solid rgba(212,175,55,.28);

    background:rgba(212,175,55,.08);

    color:#D4AF37;

    font-size:16px;

    transition:.35s ease;

}

/*==========================================================
ANSWER
==========================================================*/

.faq-answer{

    max-height:0;

    overflow:hidden;

    transition:

        max-height .45s ease,

        padding .35s ease;

}

.faq-answer p{

    padding:0 32px 28px;

    margin:0;

    color:rgba(255,255,255,.78);

    font-size:16px;

    line-height:1.9;

}

/*==========================================================
ACTIVE
==========================================================*/

.faq-item.active{

    border-color:rgba(212,175,55,.35);

    box-shadow:

        0 24px 55px rgba(0,0,0,.35),

        0 0 30px rgba(212,175,55,.06);

}

.faq-item.active .faq-answer{

    max-height:500px;

}

.faq-item.active .faq-question i{

    transform:rotate(45deg);

    background:#D4AF37;

    color:#10241B;

    border-color:#D4AF37;

}

/*==========================================================
ARENASA
FAQ
PART 3
HOVER • ANIMATION • RESPONSIVE
==========================================================*/

/*==========================================================
HOVER
==========================================================*/

.faq-item:hover{

    transform:translateY(-5px);

    border-color:rgba(212,175,55,.35);

    box-shadow:
        0 28px 60px rgba(0,0,0,.35),
        0 0 35px rgba(212,175,55,.08);

}

.faq-item:hover .faq-question{

    color:#D4AF37;

}

.faq-item:hover .faq-question i{

    background:rgba(212,175,55,.15);

    border-color:rgba(212,175,55,.50);

}

/*==========================================================
REVEAL ANIMATION
==========================================================*/

.faq-item{

    opacity:0;

    transform:translateY(40px);

    transition:
        opacity .7s ease,
        transform .7s ease,
        box-shadow .35s ease,
        border-color .35s ease;

}

.faq-item.show{

    opacity:1;

    transform:translateY(0);

}

.faq-item:nth-child(2){

    transition-delay:.08s;

}

.faq-item:nth-child(3){

    transition-delay:.16s;

}

.faq-item:nth-child(4){

    transition-delay:.24s;

}

.faq-item:nth-child(5){

    transition-delay:.32s;

}

.faq-item:nth-child(6){

    transition-delay:.40s;

}

.faq-item:nth-child(7){

    transition-delay:.48s;

}

.faq-item:nth-child(8){

    transition-delay:.56s;

}

/*==========================================================
RESPONSIVE
==========================================================*/

@media(max-width:1200px){

    .faq-section{

        padding:100px 0;

    }

}

@media(max-width:992px){

    .faq-section .section-title h2{

        font-size:46px;

    }

    .faq-question{

        padding:24px 28px;

    }

    .faq-question span{

        font-size:18px;

    }

    .faq-answer p{

        padding:0 28px 24px;

        font-size:15px;

    }

}

@media(max-width:768px){

    .faq-section{

        padding:80px 0;

    }

    .faq-section .container{

        padding:0 20px;

    }

    .faq-section .section-title{

        margin-bottom:50px;

    }

    .faq-section .section-title h2{

        font-size:38px;

    }

    .faq-section .section-title p{

        font-size:16px;

        line-height:1.8;

    }

    .faq-question{

        gap:20px;

        padding:22px;

    }

    .faq-question span{

        font-size:17px;

        line-height:1.5;

    }

    .faq-question i{

        width:42px;

        height:42px;

        font-size:15px;

    }

    .faq-answer p{

        padding:0 22px 22px;

        font-size:15px;

    }

}

@media(max-width:576px){

    .faq-section{

        padding:70px 0;

    }

    .faq-section .container{

        padding:0 18px;

    }

    .faq-section .section-title h2{

        font-size:34px;

    }

    .faq-section .section-subtitle{

        font-size:12px;

        padding:8px 18px;

    }

    .faq-question{

        padding:20px;

    }

    .faq-question span{

        font-size:16px;

    }

    .faq-question i{

        width:40px;

        height:40px;

    }

    .faq-answer p{

        padding:0 20px 20px;

        font-size:14px;

        line-height:1.8;

    }

}

@media(max-width:420px){

    .faq-section .section-title h2{

        font-size:30px;

    }

    .faq-question{

        gap:15px;

    }

    .faq-question span{

        font-size:15px;

    }

}

/*==========================================================
END
==========================================================*/
