:root{
    --primary-color: #004a9e;
    --secondary-color: #6efacc;
    --background-color: #0c0f31;
    --text-color:#eae9fc;
    --accent-color:#00b6bd;
    font-size: 20px;
}
.hero{
    display: grid;
    grid-template-columns: 50vw 50vw;
    align-items: center;
    justify-items: center;
    width: 100vw;
    height: 70vh;
}

.hero .hero-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-color);
    font-family: "quicksand", sans-serif;
    position: relative;
}
.hero h1{
    font-size: 4rem;
    padding-bottom: 1.6rem;
    font-family: "quicksand", sans-serif;
}
.prime{
    background: linear-gradient(60deg, var(--secondary-color) 15%, var(--accent-color),var(--primary-color) 85%);
    background-clip:text;
    font-family: "Quicksand", sans-serif;
    -webkit-text-fill-color: transparent;
    text-decoration: underline;
    font-weight: 900;
}
.hero .reservation-form{
    display: flex;
    flex-direction: row;
    align-items: center;
    vertical-align: center;
    justify-content: space-between;
    width: 550px;
    margin-top: 50px;
    height: 3rem;
    background: var(--primary-color);
    color: var(--text-color);
    border-radius: 15px;
    transition-duration: 0.5s;
    box-shadow: 0 0 16px 2px var(--primary-color);
    padding-left: 5px;
    padding-top: 3px;
    padding-bottom: 3px;
}
.hero .reservation-form:hover,
.hero .reservation-form:has(input:focus) {
    background: var(--secondary-color);
    box-shadow: 0 0 16px 2px var(--secondary-color);
    color: var(--background-color);
    transition-duration: 0.5s;
}
.hero .hero-text .result-box{
    position: absolute;
    top: 100%;
    width: 550px;
    background: white;
    color: black;
    text-align: left;
    border-radius: 15px;
    box-shadow: 0 0 16px 2px var(--primary-color);
    font-family: "ubuntu", sans-serif;
    max-height: 200px;
    overflow-y: scroll;
    z-index: 1000;
}
.hero .hero-text .result-box ul{
    padding:15px 1px;
    padding-top: none;
}
.result-box ul li{
    list-style: none;
    border-radius: 3px;
    padding: 15p 10px;
    width: 100%;
    cursor: pointer;
    height: 1.5rem;
    font-size: 1.2rem;
}
.result-box ul li:hover{
    background: var(--primary-color);
    color: var(--text-color);
}

.hero .reservation-form input{
    width: 90%;
    height: 90%;
    border-radius: 15px;
    background: white;
    border: none;
    outline: none;
    padding-left: 1rem;
    font-size: 1.2rem;
    font-family: "quicksand", sans-serif;
    color: var(--background-color);
}
.hero .reservation-form .result-box{
    text-align: left;
    width: 550px;

}
.hero .reservation-form button{
    background: url(../img/search.png);
    background-size: cover;
    background-position: center;
    width: 2.3rem;
    height: 2rem;
    border-radius: 50%;
    border: none;
    cursor: pointer;
}
.hero .bento{
    display: grid;
    grid-template-columns: 200px 200px 200px 200px;
    grid-template-rows: 200px 200px;
    gap: 1rem;
    
    grid-template-areas:
    "box-1 box-2 box-2 box-3"
    "box-1 box-4 box-5 box-5";
    ;
}
.hero .bento h3{
    font-size: 1.5rem;
    text-align: center;
    padding: 0.5rem;
    color: var(--text-color);
    text-align: center;
    align-self: center;
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow:
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000,
    2px 2px 0 #000,
    -3px 0px 0 #000,
    3px 0px 0 #000,
    0px -3px 0 #000,
    0px 3px 0 #000;
    z-index: 2;
}
.hero .bento p{
    bottom: 0;
}
.hero .bento .bento-item{
    background: var(--primary-color);
    width: 100%;
    height: 100%;
    border-radius: 15px;
    transition-duration: 0.3s;
    position: relative;
    overflow: hidden;
}
.hero .bento .bento-item:hover{
    scale: 1.1;
    transition-duration: 0.3s;
    border: 1px solid var(--text-color);
    transform: translateY(-10px);
}

.hero .bento .bento-item:nth-child(1){
    background: url(../img/pexels-kenanturguc-31248226.jpg);
    background-size: cover;
    background-position: center;
}

.hero .bento .bento-item:nth-child(2){
    background: url(../img/photo_2025-05-09_15-10-35.jpg);
    background-size: cover;
    background-position: center;
}
.hero .bento .bento-item:nth-child(3){
    background: url(../img/beach-6487991_1920.jpg);
    background-size: cover;
    background-position: center;
}
.hero .bento .bento-item:nth-child(4){
    background: url(../img/pexels-esrageziyor-45760220-7560129.jpg);
    background-size: cover;
    background-position: 0 50%;

}
.hero .bento .bento-item:nth-child(5){
    background: url(../img/DSC01167-min.JPG);
    background-size: cover;
    background-position: center;
}
/*
.hero button{
    background: var(--primary-color);
    color: var(--text-color);
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    font-family: "ubuntu", sans-serif;
    margin-top: 2rem;
}
*/

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.anim {
    animation: fadeInUp 1.5s forwards;
}
@media screen and (max-width: 1600px) {
    :root{
        font-size: 12px;
    }
    .hero{
        display: flex;
        flex-direction:column;
        justify-content: space-evenly;
        height: 70vh;
        margin-top: 10rem;
    }
    .hero .hero-text{
        width: 400px;
        height: auto;
        justify-content: center;
        align-items: center;
    }
    .hero .reservation-form{
        width: 300px;
        height: 3rem;
        margin-top: 2rem;
    }
    .hero .bento{
        grid-template-columns: 100px 100px 100px;
        grid-template-rows: 100px 100px;
        gap: 0.5rem;
        grid-template-areas:
        "box-1 box-2 box-2"
        "box-1 box-4 box-4"
        "box-3 box-5 box-5"
        ;
        width: 300px;
        height: 300px;
    }
}

/*========================SERVICE CARDS MOTHERFUCKERRRRSSSS==============================*/
.service-cards{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    width: 100vw;
    height: 100vh;
}
.service-cards .card{
    width: 300px;
    height: 500px;
    background:#090b24 ;
    border-radius: 15px;
    border: 1px solid var(--primary-color);
    overflow: hidden;
    text-align: center;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition-duration: 1s;
}
.service-cards .card .card-tag{
    position: absolute;
    top: 18px;
    left: 18px;
    background: var(--primary-color);
    color: var(--text-color);
    font-family: "quicksand", sans-serif;
    font-weight: bold;
    font-size: 1rem;
    padding: 0.3rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    z-index: 4;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid var(--primary-color);
    width: auto;
    height: auto;
    display: inline-block;
}
.card-info{
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s, visibility 0.8s, right 0.8s;
    position: absolute;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: url(../img/blob-scene-haikei.svg);
    background-size: cover;
    color: #fff;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    border-radius: 0 15px 15px 0;
    z-index: 3;
    box-shadow: -4px 0 16px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.service-cards .card:hover .card-info {
    opacity: 1;
    visibility: visible;
    right: 0;
    transition: opacity 0.8s, visibility 0.8s, right 0.8s;
}
.service-cards .card h3 {
    z-index: 2;
    position: relative;
    background: rgba(9, 11, 36, 0.7);
    margin: 0;
    padding: 0.5rem 0;
    width: 100%;
}
.service-cards .card:hover{
    transform: translate(-10px, -10px) perspective(1000px) rotateY(5deg);
    transition: all 0.8s ease-in-out;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 16px 2px var(--primary-color);
    width: 700px;
}
.service-cards .card img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    transition: filter 0.8s;
}
.service-cards .card p{
    border-bottom: 1px solid var(--accent-color);
    margin-bottom: 2rem;
    font-family: "quicksand", sans-serif;   
    transition-duration: 0.3s;
}
.service-cards .card:hover p:hover{
    background-color: var(--accent-color);
    padding: 15px;
    transition-duration: 0.3s;
    border-radius: 5px;
    border-left: 5px solid var(--secondary-color);
    border-bottom: 5px solid var(--secondary-color);
    box-shadow: 0 0 16px var(--secondary-color);
    color: var(--background-color);
    font-weight: 800;
    width: 100%;
}
.service-cards .card:hover img {
    filter: blur(2px) brightness(0.7);
}
.service-cards .card .card-info button{
    background: var(--secondary-color);
    color: var(--background-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border: 2px transparent solid   ;
    font-family: "quicksand", sans-serif;
}
.service-cards .card .card-info button:hover{
    background: var(--primary-color);
    border: 2px solid var(--accent-color);
    color: var(--text-color);
}
.popuplayer .popup{
    margin: auto;
    background: var(--background-color);
    border: 1px solid var(--secondary-color);
    box-shadow: 0 5px var(--accent-color);
    height: 350px;
    width: 800px;
    border-radius: 30px;
    padding: 10px;
    text-align: center;
    animation: popup 1s ease-in-out;
}
.popup h2{
    font-family: 'quicksand',sans-serif;
    font-size: 2.074rem;
    color: var(--text-color);
    text-shadow: 0 0 5px var(--text-color);
}
.popup-items{
    display: flex;
    margin: auto;
    width: 95%;
    height: 70%;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;

}
.popupOptions{
    width: 200px;
    height: 200px;
    border: 2px solid var(--accent-color);
    cursor: pointer;
    border-radius: 15px;
    background: var(--secondary-color);
    color: var(--background-color);
    transition-duration: 0.3s;
    box-shadow: 0 5px var(--accent-color);
    font-family: 'quicksand',sans-serif;
    font-weight: 800;
}
.popupOptions:hover{
    transition-duration: 0.3s;
    transform: translateY(5px);
    box-shadow: none;
    border: 2px solid transparent;
}
.popupOptions img{
    width:100%;
    height: 80%;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    object-fit: cover;
}
.popupOptions:hover img{
    transition-duration: 0.3s;
}
@media screen and (max-width: 1600px) {
    .service-cards{
        height: 50vh;
    }
    .service-cards .card{
        width: 150px;
        height: 200px;
    }
    .service-cards .card:hover{
        width: 300px;
    }
    .service-cards .card:hover .card-info{
        right: 0;
        width: 200px;
    }
    .service-cards .card:hover .card-tag{
        display: none;
    }
    .service-cards .card p{
        margin-bottom: 0.5rem;
    }
    .hero .hero-text .result-box ul li{
    color: var(--background-color);
    }
    .hero .hero-text .result-box{
        width: 300px;
        border-radius: 5px;
    }
    .popuplayer .popup{
        width: 400px;
        height: 200px;
    }
    .popupOptions{
    width: 100px !important;
    height: 100px !important;
    }

}
@keyframes centerfadein{
    0%{
        width: 5;
        height: 5;
        position: fixed;
        left: 50%;
        height: 50%;
    }
    100%{
        opacity: 1;
        transform: translateY(0);
    }
}
