/* --- Algemene body & navbar --- */
body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    margin: 0;
    padding: 0;
    background: #fefae0;
    color: #333;
}

/* --- Navbar --- */
.navbar {
    background: #028090;
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between; /* h1 links, links rechts */
    align-items: center;
}

.navbar h1 {
    margin: 0;
    font-size: 22px;
}

.navbar .nav-links {
    display: flex;
    align-items: center;
}

.navbar .nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background 0.3s;
}

.navbar .nav-links a:hover {
    background: rgba(255,255,255,0.2);
}

/* --- Google Translate --- */
#google_translate_element {
    margin-left: 15px;
}

.goog-te-gadget-simple {
    background-color: #028090 !important;
    border: none !important;
    color: white !important;
    font-weight: bold;
    padding: 5px 10px !important;
    border-radius: 5px;
}

.goog-te-gadget-simple a {
    color: white !important;
    text-decoration: none !important;
}

.goog-te-gadget-simple select {
    background-color: #028090 !important;
    color: white !important;
    border: none !important;
    font-weight: bold;
    padding: 3px 6px !important;
}

/* --- Hero sectie --- */
.hero {
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(2,128,144,0.7), rgba(2,128,144,0.7)),
                url('https://source.unsplash.com/1600x600/?beach,resort') no-repeat center center;
    background-size: cover;
    color: white;
}

.hero h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.search-bar input {
    padding: 12px 20px;
    border-radius: 50px;
    border: none;
    width: 300px;
    max-width: 80%;
}

.search-bar button {
    background: #028090;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    margin-left: 10px;
    transition: background 0.3s;
}

.search-bar button:hover {
    background: #046e7a;
}

/* --- Hotel Cards --- */
.container {
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.card {
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    background: white;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h2 {
    margin: 0 0 10px 0;
    font-size: 20px;
    color: #028090;
}

.button {
    display: inline-block;
    padding: 10px 16px;
    background: #028090;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    margin-top: auto;
    font-weight: bold;
    transition: background 0.3s;
}

.button:hover {
    background: #046e7a;
}

/* --- Hotel Detail --- */
.container.hotel-detail {
    max-width: 1200px;
    margin: 40px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.image-gallery {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.image-gallery .image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.image-gallery .image:hover {
    transform: scale(1.02);
}

.content {
    flex: 1;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    min-width: 300px;
}

/* --- Form & Calendar --- */
form input, form select {
    width: 100%;
    padding: 12px 14px;
    margin: 8px 0;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 16px;
}

form input:focus, form select:focus {
    border-color: #028090;
    box-shadow: 0 0 6px rgba(2,128,144,0.3);
    outline: none;
}

form input[type="submit"] {
    background-color: #028090;
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    border-radius: 10px;
    padding: 12px 20px;
}

form input[type="submit"]:hover {
    background-color: #046e7a;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .container.hotel-detail {
        flex-direction: column;
        padding: 20px;
    }
    .image-gallery .image {
        height: 300px;
    }
}
/* --- Admin Calendar --- */
.admin-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-top: 10px;
}

.admin-day {
    padding: 12px 0;
    text-align: center;
    border-radius: 6px;
    background: #f1f5f9;
    cursor: pointer;
    transition: background 0.2s;
    border: 1px solid #ccc;  /* Zorgt dat cellen zichtbaar zijn */
    min-height: 40px;         /* Geeft hoogte aan de dagen */
}

.admin-day.booked {
    background: #f87171;
    color: white;
    cursor: not-allowed;
}

.admin-day.blocked {
    background: #028090;
    color: white;
}

.admin-day.selected {
    background: #facc15;
    color: #333;
}

.calendar-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.calendar-controls button {
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    background: #028090;
    color: white;
    cursor: pointer;
}

.calendar-controls button:hover {
    background: #046e7a;
}
