/* ========================================
   BASE RESET
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    height: 100vh;
    color: #fff;
    overflow-x: hidden;
    overflow-y: auto;
}

/* ========================================
   ANIMATIONS / KEYFRAMES
   ======================================== */

@keyframes fadeIn {
    from { opacity: 0; transform: scale(1.02); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: scale(1); }
    to   { opacity: 0; transform: scale(1.02); }
}

@keyframes zoom {
    from { transform: scale(1); }
    to   { transform: scale(1.05); }
}

@keyframes shine {
    0%   { left: -50%; }
    100% { left: 100%; }
}

@keyframes logoZoom {
    0%   { opacity: 0; transform: scale(0.7); }
    50%  { opacity: 1; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes textFade {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes loaderFade {
    to { opacity: 0; visibility: hidden; }
}

@keyframes unlockAnim {
    0%   { transform: scale(1);   opacity: 1; }
    100% { transform: scale(1.2); opacity: 0; }
}

/* ========================================
   FADE HELPERS
   ======================================== */

.fade-in  { animation: fadeIn  1.2s ease; }
.fade-out { animation: fadeOut 0.5s ease forwards; }

/* ========================================
   BACKGROUND
   ======================================== */

.background {
    position: fixed;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.55)),
        url("images/zemin.png") center/cover no-repeat;
    z-index: -1;
    animation: zoom 30s infinite alternate;
}

.dashboard-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
        url("images/zemin.png") center/cover no-repeat;
    z-index: -1;
}

/* ========================================
   LOGIN CONTAINER
   ======================================== */

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

/* ========================================
   LOGO
   ======================================== */

.logo {
    width: 200px;
    margin-bottom: 10px;
    transition: 0.4s ease;
}

.logo:hover {
    transform: scale(1.1) translateY(-3px);
    filter: drop-shadow(0 0 10px rgba(255,215,0,0.6));
}

.logo-small {
    width: 120px;
    margin-bottom: 10px;
}

/* ========================================
   HOTEL TEXT
   ======================================== */

.hotel-name {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 2px;
}

.hotel-sub {
    font-size: 13px;
    font-weight: 300;
    opacity: 0.7;
    margin-bottom: 20px;
}

/* ========================================
   FORM BOX
   ======================================== */

.form-box {
    width: 90%;
    max-width: 600px;
    padding: 30px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,215,0,0.2);
}

.form-box h2 {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* ========================================
   FIELD LABEL
   ======================================== */

.field-label {
    display: block;
    font-size: 11px;
    letter-spacing: 1.5px;
    opacity: 0.5;
    text-align: left;
    text-transform: uppercase;
    margin-bottom: 6px;
    margin-top: 4px;
    padding-left: 4px;
}

/* ========================================
   ODA NUMARASI INPUT
   ======================================== */

.input-wrapper {
    position: relative;
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 15px;
    transition: border-color 0.3s, background 0.3s;
}

.input-wrapper:hover {
    background: rgba(255,255,255,0.08);
}

.input-wrapper:focus-within {
    border-color: rgba(255,215,0,0.5);
}

/* Gerçek input — görünür, şeffaf */
.input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    height: 100%;
}

/* Placeholder stili */
.input-wrapper input::placeholder {
    color: rgba(255,255,255,0.45);
}

/* Number input — ok butonlarını gizle */
.input-wrapper input::-webkit-outer-spin-button,
.input-wrapper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.input-icon {
    display: flex;
    align-items: center;
    opacity: 0.5;
    flex-shrink: 0;
}

/* ========================================
   DATE ROW
   ======================================== */

.date-row {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    height: 52px;
    padding: 0 15px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 15px;
    transition: border-color 0.3s;
}

.date-row:focus-within {
    border-color: rgba(255,215,0,0.5);
}

.date-row select {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    text-align: center;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.date-row select option {
    background: #1a1a1a;
    color: #fff;
}

.date-row .sep {
    opacity: 0.3;
    font-size: 16px;
    user-select: none;
    flex-shrink: 0;
}

.date-row .year-fixed {
    flex: 1;
    text-align: center;
    font-size: 14px;
    opacity: 0.6;
    letter-spacing: 1px;
}

/* ========================================
   BUTTON
   ======================================== */

button {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, #caa64b, #e6c873);
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    box-shadow: 0 0 15px rgba(255,215,0,0.6);
    transform: scale(1.02);
}

/* ========================================
   LINK
   ======================================== */

.home-link {
    display: block;
    margin-top: 15px;
    font-size: 13px;
    color: #7fffd4;
}

/* ========================================
   PAGE WRAPPERS
   ======================================== */

.login-page,
.dashboard-page {
    overflow: hidden;
}

/* ========================================
   DASHBOARD
   ======================================== */

.dashboard {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 60px;
    min-height: 100vh;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}

@media (min-width: 768px) {
    .dashboard  { max-width: 700px; }
    .services   { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1200px) {
    .dashboard { max-width: 900px; }
}

/* ========================================
   TOP BAR
   ======================================== */

.top-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    margin-bottom: 25px;
    padding: 5px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: 12px;
}

.top-bar i {
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.top-bar i:hover {
    transform: scale(1.2);
    color: #e6c873;
}

/* ========================================
   CENTER BUTTON
   ======================================== */

.center-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,215,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    cursor: pointer;
    transition: 0.3s;
}

.center-btn i { margin: 0; }

.center-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255,215,0,0.4);
}

/* ========================================
   HEADER
   ======================================== */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.logo-block {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.logo-block h2 {
    font-size: 18px;
    font-weight: 500;
}

.logo-block span {
    font-size: 13px;
    opacity: 0.7;
}

.notif-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,215,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.notif-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255,215,0,0.4);
}

/* ========================================
   DOOR CARD
   ======================================== */

.door-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,215,0,0.2);
    cursor: pointer;
    transition: 0.3s;
}

.door-card:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(255,215,0,0.3);
}

.door-card i {
    font-size: 20px;
    color: #e6c873;
}

/* ========================================
   SERVICES
   ======================================== */

.services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.service {
    padding: 20px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,215,0,0.2);
    display: flex;
    flex-direction: column;
    gap: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.service:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(255,215,0,0.3);
}

.service i {
    font-size: 20px;
    color: #e6c873;
}

/* ========================================
   MENU ITEM
   ======================================== */

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
    gap: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.menu-item:hover {
    background: rgba(255,255,255,0.08);
    transform: scale(1.05);
}

.menu-item i {
    font-size: 18px;
    color: #e6c873;
}

.menu-item span {
    font-size: 11px;
    opacity: 0.8;
}

/* ========================================
   LOCK SCREEN
   ======================================== */

.lock-screen {
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.7)),
        url("images/havuz.png") center/cover no-repeat;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
}

.lock-screen.active {
    display: flex;
    animation: fadeIn 0.4s ease;
}

.lock-time {
    font-size: 60px;
    font-weight: 300;
    margin-bottom: 10px;
}

.lock-text {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 30px;
}

/* ========================================
   SLIDER
   ======================================== */

.slider {
    width: 260px;
    height: 50px;
    border-radius: 50px;
    background: rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.slider::before {
    content: "";
    position: absolute;
    left: -50%;
    top: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 2s infinite;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(90deg, #caa64b, #e6c873);
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
}

.unlock {
    animation: unlockAnim 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* ========================================
   ANNOUNCEMENTS
   ======================================== */

.announcements {
    margin-top: 25px;
}

.announcements h3 {
    margin-bottom: 15px;
    font-weight: 500;
    letter-spacing: 1px;
}

.announcement {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,215,0,0.15);
    transition: 0.3s;
    cursor: pointer;
}

.announcement:hover {
    transform: scale(1.02);
    box-shadow: 0 0 12px rgba(255,215,0,0.25);
}

.announcement i {
    font-size: 18px;
    color: #e6c873;
}

.announcement strong {
    display: block;
    font-weight: 600;
}

.announcement p {
    font-size: 12px;
    opacity: 0.7;
}

/* ========================================
   IOS NOTIFICATION
   ======================================== */

.ios-notification {
    position: fixed;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    color: white;
    padding: 15px 25px;
    border-radius: 14px;
    font-size: 14px;
    z-index: 99999;
    transition: 0.5s ease;
}

.ios-notification.show {
    top: 20px;
}

/* ========================================
   LOADER
   ======================================== */

.loader {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 130px;
    animation: logoZoom 1.5s ease forwards;
}

.loader-text {
    margin-top: 15px;
    font-size: 20px;
    letter-spacing: 3px;
    opacity: 0;
    animation: textFade 1s ease forwards;
    animation-delay: 0.5s;
}

.loader-sub {
    font-size: 12px;
    opacity: 0;
    margin-top: 5px;
    animation: textFade 1s ease forwards;
    animation-delay: 0.8s;
}

.loader.hide {
    animation: loaderFade 0.6s ease forwards;
}
/* ========================================
   iOS INSTALL POPUP
   ======================================== */

.ios-install-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ios-box {
    width: 85%;
    max-width: 320px;
    background: #111;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    color: #fff;
}

.ios-box h3 {
    margin-bottom: 10px;
}

.ios-box p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 15px;
}

.ios-box button {
    width: 100%;
    height: 45px;
    border: none;
    border-radius: 8px;
    background: #caa64b;
    color: #000;
    font-weight: 600;
}