*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
    color: var(--color-dark-blue);
    font-family: "Syne", sans-serif;
    cursor:  pointer;
}

:root {
    --colorBg: #FFFBDE;
    --color-light-blue: #91C8E4;
    --color-medium-blue: #749BC2;
    --color-dark-blue: #4682A9;
    --mainFont1: "Syne", sans-serif;
    --mainFont2: "Imperial Script", cursive;
}

body{
    font-family: 'Arial', sans-serif;
    background-color: var(--colorBg);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

header{
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 90px;
    top: 0;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    background-color: var(--color-light-blue);
}

nav{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    position: relative;
}

nav ul{
    display: flex;
    list-style: none;
    gap: 20px;
}

.navLeft,
.navRight {
    display: flex;
    align-items: center;
    gap: 25px;
}

.navLeft{
    gap: 50px;
}

.midle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.siteName {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    font-family: var(--mainFont1);
    text-decoration: none;
}

nav ul li a,
nav button {
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    background: none;
    border: none;
    color: var(--color-dark-blue);
    cursor: pointer;
    transition: color 0.3s;
}

nav button{
    border: 1px solid var(--color-dark-blue);
    border-radius: 25px;
    padding: 10px 15px;
}

nav button:hover{
    background-color: var(--color-dark-blue);
    color: white;
    transition: ease 0.35s;
}

nav ul li a:hover{
    color: white;
}

.main{
    width: 100%;
    height: 70vh;
    margin-top: 90px;
    padding: 40px;
    background-image: url(https://hotelbooking.stepprojects.ge/images/slides/slide-bg.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: start;
}

.mnTxt{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.mnTxt h1{
    color: white;
    font-size: 2rem;
}

.mnP {
    color: white !important;
    font-size: 1.5rem;
}

.mnP > span{
    position: relative;
    display: inline-block;
    vertical-align: bottom;
    overflow: hidden;
    height: 1em;
    line-height: 1.2em;

}

.mnP > span > span {
    display: block;
    animation: animateWords 6s infinite ease;
    color: var(--color-light-blue);
}

@keyframes animateWords {
    0%    { transform: translateY(0%); }
    16.66% { transform: translateY(-100%); }
    33.33% { transform: translateY(-200%); }
    50%   { transform: translateY(-300%); }
    66.66% { transform: translateY(-400%); }
    83.33% { transform: translateY(-500%); }
    100%  { transform: translateY(-600%); }
}

.favRooms{
    padding: 40px;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}


.up{
    width: 100%;
    height: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.txt{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.txt h2{
    font-size: 1.2rem;
    color: var(--color-dark-blue);
    text-align: center;
    width: 100%;
}

.line{
    height: 1px;
    background-color: var(--color-dark-blue);
    width: 100%;
}

.roomCard {
    width: 300px;
    height: 300px;
    aspect-ratio: 1 / 1;
    background-color: var(--colorBg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.roomCard:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.roomImg {
    height: 80%;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.roomImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.roomInfo {
    height: 20%;
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.roomInfo .name {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-dark-blue);
    background-color: transparent;
    width: 70%;
    display: flex;
    align-items: center;

}

.roomInfo .price {
    font-size: 16px;
    font-weight: bold;
    width: 30%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.bookBtn {
    height: 40px;
    padding: 7px 12px;
    text-align: center;
    border: none;
    background-color: var(--color-dark-blue);
    color: white;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: absolute;
    left: 35%;
    bottom: 10px;
    z-index: 3;
    opacity: 0;
}

.bookBtn:hover {
    background-color: white;
    color: var(--color-dark-blue);
    border: 2px solid var(--color-dark-blue);
}

.roomCard:hover .bookBtn {
    opacity: 1;
    transform: translateY(-305%);
}

.roomCard::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0); 
    transition: background 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.roomCard:hover::after {
    background: rgba(0, 0, 0, 0.25); 
}



.down{
    width: 100%;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.uspSection{
    padding: 40px;
    width: 80%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.uspDown{
    width: 100%;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}


.uspCard {
    width: 220px;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.zemo {
    width: 100px;
    height: 100px;
    border: 2px solid var(--color-light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-light-blue);
    transition: transform 0.3s ease;
}

.qvemo{
    gap: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qvemo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    50% { transform: translateX(4px); }
    75% { transform: translateX(-4px); }
    100% { transform: translateX(0); }
}

.uspCard:hover .zemo {
    background-color: var(--color-light-blue);
    animation: shake 0.4s;
}

.uspCard:hover .zemo i{
    color: white;
}

.qvemo h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #444;
}

.qvemo p {
    font-size: 0.9rem;
    color: #444;
    margin: 0;
}

.qvemo a {
    margin-top: 8px;
    display: inline-block;
    color: var(--color-light-blue);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.qvemo a:hover {
    color: var(--color-dark-blue);
}

.back2Top{
    position: fixed;
    bottom: 30px;
    right: 30px;
    aspect-ratio: 1 / 1;
    background-color: transparent;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 50%; 
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: background-color 0.3s, transform 0.3s;
}

.back2Top:hover {
    background-color: var(--color-light-blue);
    transform: scale(1.1);
}

.back2Top:hover i{
    color: white;
}




/* Media Queries */
@media (max-width: 1024px) {
    .roomCard {
        width: 240px;
        height: 240px;
    }
    
    .uspCard {
        width: 200px;
    }
}

@media (max-width: 768px) {
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .navLeft, .navRight {
        gap: 10px;
    }
    
    .main {
        padding: 40px 20px;
    }
    
    .mnTxt h1 {
        font-size: 1.3rem;
    }
    
    .mnP {
        font-size: 1rem;
    }
    
    .roomCard {
        width: 100%;
        max-width: 300px;
        height: 300px;
    }
    
    .uspDown {
        flex-direction: column;
        align-items: center;
    }
    
    .uspCard {
        width: 80%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .siteName {
        font-size: 1.2rem;
    }
    
    nav ul li a, nav button {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
    
    .mnTxt h1 {
        font-size: 1.1rem;
    }
    
    .mnP {
        font-size: 0.9rem;
    }
    
    .txt h2 {
        font-size: 1rem;
    }
    
    .roomCard {
        height: 250px;
    }
    
    .roomInfo .name {
        font-size: 16px;
    }
    
    .roomInfo .price {
        font-size: 14px;
    }
    
    .bookBtn {
        font-size: 0.9rem;
        padding: 5px 10px;
    }
    
    .uspCard {
        width: 90%;
    }
    
    .zemo {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    .qvemo h3 {
        font-size: 1rem;
    }
    
    .qvemo p {
        font-size: 0.8rem;
    }
}

.burger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--color-dark-blue);
    transition: transform 0.3s ease;
}

.burger:hover {
    color: white;
}


.burgerMenu {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    background-color: var(--color-light-blue);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    z-index: 999;
}

.burgerMenu a, 
.burgerMenu button {
    color: var(--color-dark-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 10px 0;
    width: 80%;
    text-align: center;
    transition: all 0.3s ease;
}

.burgerMenu button {
    border: 1px solid var(--color-dark-blue);
    border-radius: 25px;
    background: none;
    cursor: pointer;
    margin-top: 10px;
}

.burgerMenu a:hover,
.burgerMenu button:hover {
    color: white;
}

.burgerMenu button:hover {
    background-color: var(--color-dark-blue);
}

@media screen and (max-width: 900px) {
    .navLeft,
    .navRight {
        display: none;
    }
    
    .midle {
        position: static;
        transform: none;
        margin: 0 auto;
    }
    
    .burger {
        display: block;
        position: absolute;
        right: 20px;
    }
    
    .burgerMenu.active {
        display: flex;
    }

    .mnTxt h1 {
        font-size: 1.8rem;
    }

    .mnP p{
        font-size: 1rem;
    }
}

@media screen and (max-width: 740px) {
    .mnTxt h1 {
        font-size: 1.5rem;
    }

    .mnP p{
        font-size: 0.5rem;
    }
}

@media screen and (max-width: 626px) {
    .mnTxt h1 {
        font-size: 0.8rem;
    }

    .mnP p{
        font-size: 0.5rem;
    }
}