@font-face {
    font-family: 'AttenNew';
    src: url('../fonts/atten-new/AttenNewBook.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'AttenNew';
    src: url('../fonts/atten-new/AttenNewMedium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'LumiosMarker';
    src: url('../fonts/Lumios Marker/Lumios Marker.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html, body {
    font-family: 'AttenNew', sans-serif;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #ffffff;
}
h3 { padding-top: 25px; }
img { max-width: 100%; }

/* Loader */
.loader {
    display: none;
    position: relative;
    width: 100%;
    height: 100vh;
    color: #ffffff;
    background: #260C18;
    z-index: 9999999;
}
.loader-logo {
    animation: loaderFade 1.8s ease-in-out infinite;
    filter: brightness(0) invert(1);
    margin-bottom: 32px;
}
.loader-bar-track {
    width: 120px;
    height: 2px;
    background: rgba(255,255,255,0.15);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 16px;
}
.loader-bar-fill {
    width: 30%;
    height: 100%;
    background: #913341;
    border-radius: 100px;
    animation: loaderSlide 1.2s ease-in-out infinite;
}
.loader-text {
    font-family: 'AttenNew', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}
@keyframes loaderFade {
    0%, 100% { opacity: 0.4; }
    50%      { opacity: 1; }
}
@keyframes loaderSlide {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(400%); }
}

/* ─── Menu Container ─── */
.menu-container {
    position: fixed;
    left: 30px;
    bottom: 20px;
    z-index: 10001;
}

/* Ana buton */
.main-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    z-index: 2;
    background: #5E162B;
    border: 1px solid rgba(145,51,65,0.3);
    box-shadow: 0 4px 20px rgba(94,22,43,0.25);
    transition: width 0.4s cubic-bezier(.22,.61,.36,1), height 0.4s cubic-bezier(.22,.61,.36,1), box-shadow 0.4s;
}
.menu-container.menu-open .main-button {
    width: 64px;
    height: 64px;
    box-shadow: 0 6px 28px rgba(94,22,43,0.35);
}
.main-button:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(94,22,43,0.18), 0 0 0 4px rgba(145,51,65,0.1);
    border-color: rgba(145,51,65,0.5);
}
.main-button img {
    width: 34px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: width 0.4s cubic-bezier(.22,.61,.36,1), opacity 0.3s;
    opacity: 0.8;
}
.menu-container.menu-open .main-button img {
    width: 44px;
    opacity: 1;
}
.main-button svg.intro-logo-svg {
    width: 34px;
    height: auto;
    flex-shrink: 0;
    transition: width 0.4s cubic-bezier(.22,.61,.36,1), opacity 0.3s;
    opacity: 0.8;
}
.menu-container.menu-open .main-button svg.intro-logo-svg {
    width: 44px;
    opacity: 1;
}

/* Menü öğeleri */
.menu-items {
    position: absolute;
    left: 0;
    bottom: 0;
    pointer-events: none;
}

.menu-item {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(94,22,43,0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(145,51,65,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    opacity: 0;
    pointer-events: none;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}

.menu-item a {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    color: #E3E3D4;
    position: relative;
}
.menu-item svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #E3E3D4;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.25s;
}

/* Hover efekti */
.menu-item:hover {
    background: #E3E3D4;
    border-color: #E3E3D4;
    box-shadow: 0 6px 24px rgba(94,22,43,0.3);
    transform: scale(1.12);
    z-index: 99999;
}
.menu-item:hover svg { stroke: #5E162B; }

/* Tooltip */
.menu-item a::after {
    content: attr(data-tip);
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(-6px);
    z-index: 99999;
    background: rgba(38,12,24,0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(145,51,65,0.18);
    color: rgba(255,255,255,0.9);
    font-family: 'AttenNew', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 6px 14px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.3s cubic-bezier(.22,.61,.36,1);
}
.menu-item:hover a::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}


/* Top menu — 5. öğenin sağına hizalı */
.top-menu {
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    gap: 6px;
    z-index: 10001;
    opacity: 0;
    pointer-events: none;
}
.top-item {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: transform 0.35s cubic-bezier(0.935, 0, 0.34, 1.33);
    cursor: pointer;
}
.menu-open-top .top-item { transform: scale(1); }
.top-item a {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: rgba(94,22,43,0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(145,51,65,0.3);
    text-decoration: none;
    transition: background 0.3s, border-color 0.3s;
    box-shadow: 0 4px 14px rgba(94,22,43,0.25);
}
.top-item a:hover {
    background: #E3E3D4;
    border-color: #E3E3D4;
}
.top-item img { width: 18px; height: 18px; filter: brightness(0) invert(1); opacity: 0.8; }
.top-item a:hover img { filter: none; opacity: 1; }
.top-item svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #E3E3D4;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.8;
}
.top-item a:hover svg { stroke: #5E162B; opacity: 1; }

/* Arrows */
.arrows-menu {
    position: absolute;
    bottom: 32px;
    right: 28px;
    z-index: 2;
    display: flex;
    gap: 6px;
}
.arrows-trigger { display: none; }
.arrows-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(94,22,43,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: none;
    color: #E3E3D4;
    text-decoration: none;
    transition: background 0.3s, color 0.3s, transform 0.3s;
    box-shadow: 0 3px 12px rgba(94,22,43,0.2);
}
.arrows-menu a:hover {
    background: #E3E3D4;
    color: #5E162B;
    transform: scale(1.1);
}
.arrows-menu a svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    stroke: none;
}

/* Popup */
.popup {
    display: none;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    text-align: center;
    background: rgba(38,12,24,0.6);
    z-index: 9999;
}
#main-content {
    width: 100%; height: 100%;
    background: #ffffff;
}
.page {
    width: 100%; height: 100%;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    overflow: hidden;
}

/* Swiper gallery */
.galeriSlider {
    width: 100%; height: 100%;
}
.galeriSlider .swiper-slide {
    height: 100%; width: 100%;
}
.galeriSlider .swiper-slide .slide-bg {
    width: 100%; height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.carousel-control-next, .carousel-control-prev {
    width: 50px; height: 50px;
    bottom: 15px; top: auto;
    background: rgba(38,12,24,0.8);
    border-radius: 50px;
}
.carousel-control-prev { left: 90%; margin-left: -55px; }
.carousel-control-next { right: 10%; margin-right: -55px; }

/* Map POI styles */
@keyframes pulse {
    0% { transform: scale(.6); opacity: .7; }
    100% { transform: scale(2.4); opacity: 0; }
}
[data-poi] { transition: transform .4s cubic-bezier(.22,.61,.36,1), opacity .4s; }
[data-poi][data-dim] { opacity: .45; transform: scale(.8); }
[data-poi][data-on] { transform: scale(1.12); }
[data-poi][data-sel] { transform: scale(1.5); }
[data-poi]:hover { opacity: 1; transform: scale(1.15); }

/* Map zoom controls */
.map-controls {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.map-controls button {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid rgba(41,35,31,0.15);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #29231F;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.map-controls button:hover {
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
