/* Genel Stil */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #1a1a1a;
    color: #fff;
    overflow: hidden;
}

.screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    text-align: center;
    position: absolute;   /* kritik */
    top: 0;
    left: 0;
    width: 100%;
    background-color: #1a1a1a;
    z-index: 1;            /* ekranlar aynı seviyede olacak */
    pointer-events: auto; /* tıklanabilirlik açık */
}

.hidden {
    visibility: hidden;    /* görünmez yap */
    pointer-events: none;  /* tıklamayı tamamen engelle */
}


/* Açılış Ekranı */
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/arkaplanv2.png');
    background-size: cover;
    background-position: center;
    filter: blur(2px);
    z-index: -1;
    pointer-events: none;

}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    20% {
        transform: scale(1.05);
    }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
    
}

.content {
    z-index: 9;
    animation: fadeIn 2s ease-in-out;
    margin-top: 8rem;
    position: relative;
}
.background-image,
.overlay {
  pointer-events: none !important;
  z-index: 1;
}


.restaurant-name {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    margin-bottom: 80%;
    color: #f0f0e6;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slogan {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #f0f0e6;
    opacity: 0;
    margin-top: -70%;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: -20%;
    position: relative;   
     z-index: 10; /* Butonları üstte tut */
     pointer-events: auto;

}

.luxury-button {
    background-color: #0d2b1e;
    color: #f0f0e6;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
  }
  


.luxury-button:hover {
    background-color: #1a3f30;
    transform: translateY(-4px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
}

/* Şikayet ve Öneri, Rezervasyon Formları */
.luxury-form {
    display: flex;
    flex-direction: column;
    width: 80%;
    max-width: 400px;
    gap: 1.2rem;
    position: relative;
}

.luxury-form input,
.luxury-form textarea,
.luxury-form button {
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: background-color 0.3s;
}

.luxury-form input:focus,
.luxury-form textarea:focus {
    background-color: rgba(255, 255, 255, 0.2);
    outline: none;
}

.luxury-form button {
    background-color: #0d2b1e;
    color: #f0f0e6;
    cursor: pointer;
}

.luxury-form button:hover {
    background-color: rgb(25, 62, 47);
}

/* Menü Ekranı */
.kategori-container {
    display: flex;
    overflow-x: auto;
    padding: 15px;
    gap: 20px;
    white-space: nowrap;
}

.kategori {
    flex: 0 0 auto;
    cursor: pointer;
    text-align: center;
}

.kategori img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.kategori span {
    display: block;
    margin-top: 5px;
}

.kategori.aktif img,
.kategori:hover img {
    border-color: #f0f0e6;
}

.menu-items {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    width: 200px;
    text-align: center;
}

.item img {
    width: 100%;
    border-radius: 10px;
}

.item h3 {
    margin-top: 10px;
}

/* Geri Butonu */
.back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #f0f0e6;
    transition: color 0.3s;
}

.back-button:hover {
    color: #cccccc;
}

/* Tarih ve Saat */
.luxury-form input[type="date"],
.luxury-form input[type="time"] {
    -webkit-appearance: none;
    appearance: none;
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    padding: 1rem !important;
    font-size: 1rem !important;
    border-radius: 10px !important;
    border: none !important;
    text-align: center !important;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.luxury-form input[type="date"]::-webkit-calendar-picker-indicator,
.luxury-form input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.pseudo-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ccc;
    pointer-events: none;
    transition: 0.2s ease-out;
}

input[type="date"]:valid + .pseudo-placeholder,
input[type="time"]:valid + .pseudo-placeholder,
input[type="date"]:focus + .pseudo-placeholder,
input[type="time"]:focus + .pseudo-placeholder {
    opacity: 0;
    visibility: hidden;
}
