a {
    text-decoration: none !important;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8); /* yarı şəffaf fon */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.8s ease-out; /* fade-out effekti */
}

#loader img {
    width: 200px; /* şəkil ölçüsü */
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%   { transform: scale(1); opacity: 1; }
    50%  { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}


/* Root layout */
.book-panels{
    --h: 76vh;
    --dim: .45;        /* qaranlıq qat default */
    --dim-active: .25; /* hover olanda daha az qaralır */
    --shrink: 12%;     /* digərlərinin eni (hover zamanı) */
    --grow: 64%;       /* aktivin eni (hover zamanı) */
    --t: 600ms cubic-bezier(.22,.61,.36,1);

    height: var(--h);
    display: flex;
    overflow: hidden;
    border-radius: var(--radius);
}

/* Panel base */
.panel{
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    color: #fff;
    display: grid;
    place-items: center;
    background: var(--bg) center/cover no-repeat;
    cursor: pointer;
    transition: flex-basis var(--t), transform var(--t), filter 280ms ease;
    isolation: isolate;
}

/* Dark overlay */
.panel::before{
    content:"";
    position: absolute; inset: 0;
    background: rgba(0,0,0,var(--dim));
    z-index: -1;
    transition: background 260ms ease;
}

/* “Kitab səhifəsi” hissi üçün yüngül perspektiv */
.book-panels:hover .panel:not(:hover){
    /*transform: perspective(1200px) rotateY(-4deg) scale(.98);*/
}

/* Eni bölüşdürmə – əsas hissə */
.book-panels:hover .panel{ flex-basis: var(--shrink); }
.book-panels .panel:hover{ flex-basis: var(--grow); }
.book-panels .panel:hover::before{ background: rgba(0,0,0,var(--dim-active)); }

/* Defaultda sadəcə başlıq (head) görünür */
.panel__head{
    font-size: clamp(18px, 2.2vw, 28px);
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0,0,0,.5);
    color: #fff!important;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 220ms ease, transform 220ms ease;
    padding: 0 12px;
}

/* Hover olunan paneldə tam content açılır */
.panel__content{
    position: absolute; inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 14px;
    padding: clamp(16px, 4vw, 48px);
    color: #fff!important;
    h2 {
        color: #fff!important;
    }
    p {
        color: #fff!important;
    }
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 260ms ease, transform 260ms ease, visibility 0s linear 260ms;
}

.panel__content h2{
    font-size: clamp(28px, 5vw, 60px);
    line-height: 1.05;
    margin: 0 0 8px 0;
}
.panel__content p{
    max-width: min(560px, 92%);
    line-height: 1.6;
    margin: 0 0 6px 0;
}

/* Button */
.btn{
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid #fff;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.btn:hover{ background:#fff; color:#111; transform: translateY(-1px); }

/* Hover state switch */
.panel:hover .panel__head{ opacity: 0; transform: translateY(-6px); }
.panel:hover .panel__content{
    opacity: 1; visibility: visible; transform: translateY(0);
    transition-delay: 60ms, 60ms, 0s;
}

/* Mobile fallback: stack + tap-açılma */
@media (max-width: 768px){
    .book-panels{ flex-direction: column; height: auto; }
    .panel{ min-height: 48vh; transform: none !important; }
    .book-panels:hover .panel{ flex-basis: auto; }
    .panel:hover{ flex-basis: auto; }
    .panel:active .panel__content,
    .panel:focus-within .panel__content{ opacity:1; visibility:visible; transform:none; }
    .panel:active .panel__head{ opacity:0; }
}

.to-top-btn {
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 1000;
    display: inline-block;
    padding: 12px 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: background .3s, transform .2s;
    rotate: 180deg;
    opacity: 0;              /* default gizli */
    pointer-events: none;    /* kliklənməsin */
}

.to-top-btn.show {
    opacity: 1;
    pointer-events: auto;
}


/* smooth scroll */
html {
    scroll-behavior: smooth;
}


.baseCard__image img {
    transition: transform 0.4s ease; /* smooth keçid */
}

.swiper-slide:hover .baseCard__image img, .baseCard__image img:hover {
    transform: scale(1.1); /* 10% zoom */
}

/* Komponentin özünə scoped stillər */
#menu-vertical-swiper {
    width: 250px;         /* menyu enini özünə uyğun yaz */
    height: 300px;        /* hündürlük vacibdir! */
    overflow: hidden;
    border: 1px solid #ccc;
    border-radius: 8px;
}

#menu-vertical-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    background: #e3ffe3;
    color: red;
    content: 'ASSASDASDASD';
}

/* Header */
.lang-btn {
    border: none!important;
    &:hover {
        background: none!important;
    }
}
.dropdown-menu {
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    width: fit-content!important;
    li {
        width: fit-content!important;
    }
}
.dropdown-item {
    width: fit-content!important;
}

.font-inter {
    font-family: 'Inter', sans-serif !important;
}

/*Events Hall*/

.flip-card {
    perspective: 1000px;
    height: 200px;
    position: relative;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
}

.flip-card-front {
    background-color: #000;
}

.flip-card-front img {

}

.flip-card-back {
    background-color: #fff;
    color: #000;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
}

.flip-card-back h3 {
    font-size: 22px;
    font-weight: 600;
}

.flip-card-back p {
    font-size: 15px;
    line-height: 1.5;
}

.flip-card-back button {
    border: 1px solid #000;
    background: transparent;
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
}

.flip-card-back button:hover {
    background-color: #000;
    color: #fff!important;
}

.cardImage {
    position: relative;
    height: 420px;            /* sənin kart hündürlüyün */
    overflow: hidden;         /* artıq hissəni gizlət */
    background: transparent;  /* ehtiyat üçün */
}

.cardImageBanquets {
    height: 540px;
}

.cardImage__image {
    position: absolute;
    inset: 0;                 /* top/right/bottom/left:0; */
    background: transparent;  /* qara fonu ləğv et */
}

.cardImage__image img {
    display: block;           /* (yenə vacibdir) */
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(70%);
    transition: transform .4s ease, filter .4s ease;
}

.cardImage:hover .cardImage__image img {
    transform: scale(1.05);
    filter: brightness(60%);
}

/* ✨ Yazı aşağıda */
.cardImage__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* əsas hissə — aşağıya yığır */
    text-align: left;
    padding: 25px 30px;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.75) 100%);
}

.cardImage__title {
    font-size: 18px !important;
    line-height: 1.6;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    margin: 0;
}

.cardImage__content span {
    font-size: 14px;
    opacity: 0.8;
}

/*Fitness */
.spa-section {
    padding: 80px 0;
}

.spa-gallery {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.spa-gallery .gallery-item {
    flex: 1;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.5s ease;
}

.spa-gallery img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Hover effekti */
.spa-gallery .gallery-item:hover {
    flex: 1.5; /* Hover olanda "kitab kimi" genişlənir */
}

.spa-gallery .gallery-item:hover img {
    transform: scale(1.08);
}

/* Sağ tərəfdə mətn */
.spa-text {
    padding-left: 40px;
}

.spa-title {
    font-size: 42px;
    font-weight: 600;
    color: #0B3D2E;
    margin-bottom: 20px;
}

.spa-desc {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    max-width: 400px;
}
