
/* GOOGLE FONT */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;800&display=swap');




/* RESET */

*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    text-decoration: none;
}
html{
    scroll-behavior: smooth;
}




/* BODY */

body {
  background-image: url("Game of Thrones.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: #0b0b0b;
}

/* WRAPPER */

.wrapper{
    max-width:1400px;
    height: 95%;
    margin: auto;
    padding: 0 20px;
}




/* HEADER */

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 8%;

    background:
        linear-gradient(
            to bottom,
            rgba(18,18,18,.95),
            rgba(35,35,35,.88)
        );

    backdrop-filter: blur(8px);
    border-bottom: 2px solid #8c6a2f;
    box-shadow:
        0 8px 30px rgba(0,0,0,.7),
        inset 0 -1px 0 rgba(255,215,130,.25);

    z-index: 999;
}




/* LOGO */

.logo{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo img{
    width:55px;
    height:55px;
    border-radius:50%;
    border:2px solid #b38b3b;
    object-fit:cover;
    box-shadow:
        0 0 12px rgba(214,174,76,.45);
}

.logo-text{
    font-family:"Cinzel", serif;
    font-size:30px;
    font-weight:800;
    color:#d8c28b;
    letter-spacing:3px;
    text-transform:uppercase;
    text-shadow:
        0 0 8px rgba(255,220,140,.25);
}




/* NAVIGATION */

.navlinks{
    display:flex;
    gap:35px;
    list-style:none;
}

.navlinks li{
    position:relative;
}

.navlinks a{
    color:#f3ead7;
    text-decoration:none;
    font-family:"Cinzel", serif;
    font-size:17px;
    letter-spacing:2px;
    text-transform:uppercase;
    transition:.35s;
}
.navlinks a::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:-8px;
    transform:translateX(-50%);
    width:0;
    height:2px;
    background:#caa75b;
    transition:.4s;
}

.navlinks a:hover{
    color:#f5d07d;
    text-shadow:
        0 0 10px rgba(255,215,120,.4);
}

.navlinks a:hover::after{

    width:100%;
}




/* HERO SECTION */

.body-container{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    min-height:100vh;
    text-align: center;
    padding-top:250px;
}
.body-text h1{
    font-family:"Cinzel", serif;
    font-size:70px;
    color:#efe4c5;
    text-align:center;
    text-transform:uppercase;
    letter-spacing:5px;
    padding-top:150px;
    text-shadow:

        0 0 20px rgba(0,0,0,.8),

        0 0 15px rgba(255,210,120,.2);

    margin-top:100px;
}
.body-pic{
    width: 100%;
    flex-direction: column;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}
.body-pic h2,
.body-pic h3{
    font-family:"Cormorant Garamond", serif;
    color:#d8c28b;
    text-align:center;
    margin-top:15px;
    line-height:1.6;
}




/* BUTTONS */

.togglebtn{
    display:none;
    flex-direction:column;
    gap:6px;
    cursor:pointer;
}


.togglebtn span{
    width:30px;
    height:3px;
    background:#d8c28b;
    border-radius:5px;
    transition:.3s;
}



/* ABOUT SECTION */

section{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding:120px 8%;

}
.section-container{

    max-width:1100px;
    padding:50px;
    background:
    rgba(20,20,20,0.65);
    border:2px solid #8c6a2f;
    border-radius:20px;
    backdrop-filter:blur(10px);
}
.sub-title{
    font-family:"Cinzel", serif;
    color:#d8c28b;
    font-size:50px;
    text-align:center;
    letter-spacing:4px;
    margin-bottom:40px;
    text-shadow:
        0 0 12px rgba(255,220,120,.2);

}
.section-container h2{
    max-width:900px;
    margin:auto;
    text-align:center;
    line-height:1.8;
    font-size:20px;
    color:#beaa77;
}




/* MEMBERS GRID */

.members-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
    margin-top:40px;
}
.members-container{
    width:100%;
    padding:50px;
    background:
    rgba(15,15,15,.55);
    border-radius:20px;
}




/* MEMBERS CARDS */

.selection{

    background:
        linear-gradient(
            180deg,
            rgba(50,45,40,.9),
            rgba(28,28,28,.95)
        );

    border:2px solid #8b6a2f;
    border-radius:15px;
    overflow:hidden;
    transition:.4s;
    box-shadow:
        0 10px 25px rgba(0,0,0,.5);

}
.selection h3{

    padding:18px;

    text-align:center;

    font-family:"Cinzel", serif;

    color:#d8c28b;
}




/* IMAGES */

.body-pic img{
    width:280px;
    height:380px;
    object-fit:cover;
    display: block;
    margin: 0 auto;
    border-radius:12px;
    border:3px solid #8c6a2f;
    box-shadow:
        0 10px 30px rgba(0,0,0,.6);
}
.selection img{
    width:100%;
    height:180px;
    object-fit:cover;
    display:block;
    transition:.4s;
    object-position: center;
}




/* ANIMATIONS */

.selection:hover{
    transform:translateY(-12px);
    box-shadow:
        0 20px 40px rgba(0,0,0,.75),
        0 0 20px rgba(215,170,70,.25);
}
.selection:hover img{

    transform:scale(1.08);
}




/* CONTACT */

form{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

form input,
form textarea{
    width: 100%;
    padding: 15px;
    font-size: 16px;
    color: #fff;
    background: #1a1a1a;
    border: 2px solid  #f5d07d;
    border-radius: 10px;
    outline: none;
    transition: .3s;
    resize: none;
}

form input:focus,
form textarea:focus{
    border-color:#d8c28b;
    box-shadow: 0 0 15px  rgba(255,215,120,.4);
}

.btn-submit{
    width: 180px;
    margin: 20px auto 0;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    background: #d8c28b;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: .3s;
}

.btn-submit:hover{
    background:#d8c28b;
    transform: translateY(-5px);
    box-shadow: 0 0 10px rgba(255,215,120,.4);
}




/* MEDIA QUERIES */

@media (max-width:768px){
    .body-text h1{
        font-size:42px;
    }
    .navlinks{
        gap:18px;
    }
    .logo-text{
        font-size:22px;
    }
    .sub-title{
        font-size:36px;
    }
}


@media (max-width:768px){

    .togglebtn{

        display:flex;

    }

    .navlinks{
        position:absolute;
        top:90px;
        right:0;
        width:100%;
        background:
        rgba(20,20,20,.95);
        flex-direction:column;
        align-items:center;
        gap:25px;
        padding:30px 0;
        transform:translateY(-200%);
        transition:.4s;
    }
    .navlinks.open{
        transform:translateY(0);

    }
    .navlinks a{
        font-size:20px;

    }

}
bg-music{
    display:none;
}


            /*  LOADING SCREEN STYLE  */
            
.loading-screen {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0.95)
        ),
        url("Game of Thrones.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    z-index: 99999;

    /* HIDDEN */
    
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 1.5s ease,
        visibility 1.5s ease;
}



/* SHOW LOADING SCREEN */

.loading-screen.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* HIDE LOADING SCREEN */

.loading-screen.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}





        /* LOADING CONTENT */

.loading-content {
    width: 90%;
    max-width: 700px;

    text-align: center;

    animation: loadingAppear 1.5s ease forwards;
}


        /* TITLE */

.loading-screen h1 {
    font-family: "Cinzel", serif;

    font-size: clamp(35px, 6vw, 75px);

    font-weight: 800;

    letter-spacing: 8px;

    color: #d8c28b;

    text-transform: uppercase;

    margin-bottom: 20px;

    text-shadow:
        0 0 10px rgba(255, 215, 120, 0.4),
        0 0 30px rgba(255, 180, 50, 0.25),
        0 5px 15px rgba(0, 0, 0, 0.9);

    animation: loadingAppear 1.5s ease forwards;
}



        /* LOADING SPINNER */
        
    .loading-screen .loader {
    width: 55px;
    height: 55px;

    border: 3px solid rgba(216, 194, 139, 0.25);

    border-top: 3px solid #d8c28b;

    border-radius: 50%;

    box-shadow:
        0 0 15px rgba(255, 215, 120, 0.25);

    animation: spin 1s linear infinite;
}


        /* GOLD LINE */

.loading-line {
    width: 180px;
    height: 2px;

    margin: 0 auto 25px;

    background: #d8c28b;

    box-shadow:
        0 0 10px rgba(255,215,120,.8),
        0 0 25px rgba(255,215,120,.4);

    animation: lineGlow 2s infinite alternate;
}


        /* SUBTITLE */

.loading-screen p {
    font-family: "Cinzel", serif;

    font-size: 15px;

    letter-spacing: 5px;

    color: #bca56b;

    margin-bottom: 35px;

    animation: textFade 2s ease-in-out infinite alternate;
}



        /* LOADING BAR CONTAINER */

.loader {
    width: 100%;
    max-width: 500px;

    height: 5px;

    margin: 0 auto;

    background: rgba(255,255,255,.12);

    border: 1px solid rgba(216,194,139,.5);

    overflow: hidden;

    box-shadow:
        0 0 10px rgba(0,0,0,.8);
}


        /* ANIMATED BAR */

.loader-bar {
    width: 0%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            #6f501c,
            #d8c28b,
            #fff0a8,
            #d8c28b,
            #6f501c
        );

    box-shadow:
        0 0 15px rgba(255,215,120,.8);

    animation:
        loadingProgress 3s ease-in-out forwards;
}


        /* LOADING TEXT */

.loading-screen p {
    font-family: "Cinzel", serif;

    font-size: 15px;

    letter-spacing: 5px;

    color: #bca56b;

    margin-bottom: 35px;

    animation: textFade 2s ease-in-out infinite alternate;
}



/* ANIMATIONS #1 */


@keyframes spin {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}



        /*  ANIMATIONS #2  */


@keyframes loadingAppear {

    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }

}



@keyframes textFade {

    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }

}



    /*  MOBILE  */
    
  @media (max-width: 768px) {

    .loading-screen h1 {
        font-size: 32px;
        letter-spacing: 3px;
        padding: 0 20px;
    }

    .loading-screen p {
        font-size: 11px;
        letter-spacing: 3px;
        padding: 0 20px;
    }

    .loading-screen .loader {
        width: 45px;
        height: 45px;
    }

}




    /* ENTER-SCREEN  */
#enter-screen {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    background:
        linear-gradient(
            rgba(0, 0, 0, .65),
            rgba(0, 0, 0, .9)
        ),
        url("Screen.jpg");

    background-size: cover;
    background-position: center;

    z-index: 100000;

    opacity: 1;
    visibility: visible;

    pointer-events: auto;

    transition:
        opacity 1.5s ease,
        visibility 1.5s ease;
}




/* ENTER CONTENT */

.enter-content {
    width: 90%;
    max-width: 800px;

    text-align: center;

    position: relative;
    z-index: 100001;

    animation: enterAppear 2s ease forwards;
}

/* TITLE */

.enter-content h1 {
    font-family: "Cinzel", serif;

    font-size: clamp(40px, 7vw, 85px);

    font-weight: 800;

    letter-spacing: 8px;

    color: #d8c28b;

    text-transform: uppercase;

    text-shadow:
        0 0 10px rgba(255,215,120,.4),
        0 0 30px rgba(255,180,50,.3),
        0 5px 15px rgba(0,0,0,.9);

    margin-bottom: 20px;
}


/* GOLD LINE */

.enter-line {
    width: 200px;
    height: 2px;

    margin: 0 auto 25px;

    background: #d8c28b;

    box-shadow:
        0 0 10px rgba(255,215,120,.8),
        0 0 25px rgba(255,215,120,.4);
}


/* SUBTITLE */

.enter-content p {
    font-family: "Cinzel", serif;

    font-size: 16px;

    letter-spacing: 5px;

    color: #bca56b;

    margin-bottom: 45px;
}


/* ENTER BUTTON */

#enter-btn {
    display: inline-block;
    position: relative;
    z-index: 100001;

    padding: 16px 55px;

    font-family: "Cinzel", serif;
    font-size: 18px;
    font-weight: 600;

    letter-spacing: 5px;

    color: #d8c28b;
    background: transparent;

    border: 2px solid #d8c28b;
    border-radius: 0;

    cursor: pointer;

    text-transform: uppercase;

    opacity: 1;
    visibility: visible;

    transition: 
        background .4s ease,
        color .4s ease,
        transform .4s ease,
        box-shadow .4s ease;
}


/* HOVER */

#enter-btn:hover {
    color: #111;
    background: #d8c28b;

    transform: scale(1.05);

    box-shadow:
        0 0 15px rgba(255, 215, 120, .7),
        0 0 35px rgba(255, 215, 120, .4);
}



/* CLICK */

#enter-btn:active {
    transform: scale(.97);
}


    /* HIDE ENTER SCREEN */

#enter-screen.entered {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


    /* ENTER ANIMATION */

@keyframes enterAppear {

    0% {
        opacity: 0;
        transform: scale(.9);
    }
        
    100% {
        opacity: 1;
        transform: scale(1);
    }

}


    /* MOBILE */

@media (max-width: 768px) {

    .enter-content h1 {
        font-size: 35px;
        letter-spacing: 4px;
    }

    .enter-content p {
        font-size: 11px;
        letter-spacing: 3px;
    }

    #enter-btn {
        padding: 14px 40px;
        font-size: 16px;
    }

}