/* Arka plan karartması */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Daha koyu arka plan */
    z-index: 999;
}

/* Menü kapsayıcısı (tam ortalama) */
.menu-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #121212; /* Daha koyu arka plan */
    color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 6px 12px rgba(255, 255, 255, 0.3);
    z-index: 1000;
    max-width: 80%;
    max-height: 80%;
    overflow-y: auto;
    text-align: center;
    animation: fadeInScale 0.3s ease-in-out forwards;
}

/* Açılış animasyonu */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}
/* Menü başlığı */
/* Menü başlığı animasyonu */
.menu-header {
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Georgia', serif; /* Zarif serif font */
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: glowText 1.8s ease-in-out infinite alternate;
}

@keyframes glowText {
    0% {
        text-shadow: 
            0 0 5px rgba(255, 255, 255, 0.2), 
            0 0 10px rgba(0, 255, 0, 0.3), 
            0 0 20px rgba(0, 255, 0, 0.2);
    }
    50% {
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.4), 
            0 0 15px rgba(247, 255, 247, 0.5), 
            0 0 25px rgba(245, 245, 245, 0.3);
    }
    100% {
        text-shadow: 
            0 0 15px rgba(255, 255, 255, 0.6), 
            0 0 25px rgba(255, 255, 255, 0.6), 
            0 0 35px rgba(255, 255, 255, 0.4);
    }
}




/* 1 Gün - 500₺ için font */
.one-day {
    font-family: 'Righteous', sans-serif;
    font-size: 20px;
    color: white;
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.8); /* Beyaz parlaklık efekti */
}

@font-face {
    font-family: 'MadeTomyBold';
    src: url('fonts/MADE-TOMMY-Bold.woff2') format('woff2'),
         url('fonts/MADE-TOMMY-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'MadeTomyRegular';
    src: url('fonts/MADE-TOMMY-Regular.woff2') format('woff2'),
         url('fonts/MADE-TOMMY-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.rental-duration {
    font-family: 'MadeTomyBold', sans-serif;
    font-weight: bold;
    color: white;
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.8); /* Beyaz parlaklık efekti */
}

/* Sınırsız - 10000₺ için font */
.unlimited {
    font-family: 'Righteous', sans-serif;
    font-size: 24px;
    color: white;
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.8); /* Beyaz parlaklık efekti */
}

/* Oda seçenekleri (flex ile ortalanmış) */
.room-options {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

/* Oda kartları */
.room-card {
    background-color: #1e1e1e; /* Koyu gri arka plan */
    color: white;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    width: 220px;
    box-shadow: 0px 6px 12px rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.room-card:hover {
    transform: scale(1.1) rotateY(5deg); /* 3D dönüşüm */
    box-shadow: 0px 10px 20px rgba(0, 255, 0, 0.5); /* Daha belirgin yeşil gölge */
    opacity: 0.95; /* Hafif opaklık kaybı */
}

/* Seçilen odanın belirginleşmesi için */
.room-card.selected-room {
    border: 3px solid #00FF00; /* Yeşil kenarlık */
    transform: scale(1.1) rotate(5deg); /* Hafif döndürme animasyonu */
    animation: glowSelection 1.5s ease-in-out infinite alternate; /* Parlama efekti */
}

@keyframes glowSelection {
    0% {
        box-shadow: 0px 0px 10px rgba(0, 255, 0, 0.5);
    }
    100% {
        box-shadow: 0px 0px 20px rgba(0, 255, 0, 1);
    }
}


.cancel-container {
    position: absolute;
    top: 15px;
    right: 15px;
}

.cancel-contract-button {
    background: linear-gradient(135deg, #ff4c4c, #ff1a1a); /* Kırmızı gradient */
    color: white;
    padding: 8px 16px; /* Daha küçük buton */
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease-in-out;
    box-shadow: 0px 2px 6px rgba(255, 0, 0, 0.4); /* Hafif kırmızı parlama */
    position: relative;
    overflow: hidden;
}

/* Hover efekti */
.cancel-contract-button:hover {
    background: linear-gradient(135deg, #ff1a1a, #e60000);
    box-shadow: 0px 3px 10px rgba(255, 0, 0, 0.6); /* Hafif parlama */
    transform: scale(1.02); /* Çok hafif büyütme */
}

/* Aktif (Tıklandığında) efekti */
.cancel-contract-button:active {
    transform: scale(0.98); /* Hafif küçülme efekti */
}





/* Oda resimleri */
.room-image {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s;
}

.room-image:hover {
    transform: scale(1.05);
}

/* Para kısmı yeşil ve parlama efekti */
.price {
    font-family: 'MadeTomyRegular', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #00FF00; /* Yeşil renk */
    text-shadow: 0px 0px 10px rgba(0, 255, 0, 0.8); /* Yeşil parlaklık efekti */
}


/* Kirala butonu */
.rent-button {
    background-color: green;
    color: white;
    border: none;
    padding: 12px 25px;
    margin-top: 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    width: 100%;
    box-shadow: 0px 0px 15px rgba(0, 255, 0, 0.7); /* Yeşil parlaklık efekti */
}

.rent-button:hover {
    background-color: darkgreen;
    transform: scale(1.05);
    box-shadow: 0px 0px 25px rgba(0, 255, 0, 1); /* Daha yoğun parlaklık */
}

.selected-duration {
    background-color: rgba(0, 255, 0, 0.2); /* Hafif yeşil arka plan */
    border-radius: 5px;
    padding: 5px;
    font-weight: bold;
    text-shadow: 0px 0px 10px rgba(0, 255, 0, 1); /* Parlak efekt */
    transition: all 0.3s ease-in-out;
}

.selected-room {
    border: 3px solid #00ff00; /* Yeşil parlak çerçeve */
    box-shadow: 0px 0px 15px rgba(0, 255, 0, 0.7); /* Glow efekti */
    transition: all 0.3s ease-in-out;
}

/* INFO BUTONU */
.info-button {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #00ff00;
    color: #000;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0px 0px 10px rgba(0,255,0,0.6);
    transition: all 0.3s ease-in-out;
}
.info-button:hover {
    background-color: #00cc00;
    box-shadow: 0px 0px 15px rgba(0,255,0,0.9);
}

/* MODAL GENEL */
/* feature-page */
.feature-page {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #121212; /* Opak koyu renk */
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-height: 90%;
    overflow-y: hidden;
    z-index: 1001;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.4);
    animation: fadeInScale 0.3s ease-in-out forwards;
    text-align: center;
    opacity: 1;
    backdrop-filter: none;
    filter: none;
}


.feature-title {
    font-size: 28px;
    font-weight: bold;
    color: white;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(0,255,0,0.5);
}

.features-comparison {
    display: grid;
    grid-template-columns: 1.5fr 1px 1fr 1px 1fr 1px 1fr;
    gap: 10px;
    align-items: start;
    margin-top: 20px;
}


.column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: white;
    font-family: 'MadeTomyRegular', sans-serif;
}

.column .head {
    font-weight: bold;
    font-size: 18px;
    color: #00ff00;
    margin-bottom: 10px;
    text-shadow: 0px 0px 6px rgba(0,255,0,0.5);
}

.vertical-line {
    background-color: rgba(255, 255, 255, 0.2);
    width: 1px;
    height: 100%;
}

/* Geri butonu */
.back-button {
    position: absolute;
    top: 20px;
    left: 30px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    padding: 6px 12px;
    background-color: rgba(0, 255, 0, 0.2);
    border-radius: 6px;
    box-shadow: 0px 0px 8px rgba(0,255,0,0.4);
    transition: all 0.2s ease-in-out;
}

.back-button:hover {
    background-color: rgba(0, 255, 0, 0.4);
}

.feature-names {
    font-weight: bold;
    color: #00ff00;
}

.head {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    color: #00ff00;
}

.features-comparison .column div {
    text-align: center;
    color: white;
    font-size: 16px;
    line-height: 1.4;
    word-wrap: break-word;
}

.feature-names div {
    text-align: left !important;
}


/* Yeşil parlayan tik */
.features-comparison .column div:contains("✅") {
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00aa;
}

/* Kırmızı hafif parlayan çarpı */
.features-comparison .column div:contains("❌") {
    color: #ff4444;
    text-shadow: 0 0 3px #ff444488;
}

.feature-check {
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00aa;
    font-weight: bold;
}

.feature-cross {
    color: #ff4444;
    text-shadow: 0 0 3px #ff444488;
    font-weight: bold;
}