/* style.css */
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 0; padding: 0; background-color: #f9f9f9; }

/* Navigation Bar */
.navbar { background-color: #fff; padding: 15px 30px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100; }
.logo { font-size: 24px; font-weight: bold; color: #333; text-decoration: none; }
.nav-links a { margin-left: 20px; text-decoration: none; color: #555; font-weight: 500; }
.btn-schedule { background-color: #ff5a5f; color: white !important; padding: 10px 20px; border-radius: 25px; }

/* Container */
.container { max-width: 1200px; margin: 30px auto; padding: 0 20px; }

/* Grid for Attractions */
.attraction-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }

/* Card Design */
.card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.2s; text-decoration: none; color: inherit; display: block; }
.card:hover { transform: translateY(-5px); }
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 20px; }
.card-title { margin: 0 0 10px 0; font-size: 18px; color: #333; }
.card-meta { color: #777; font-size: 14px; margin-bottom: 10px; display: flex; justify-content: space-between; }
.card-price { font-weight: bold; color: #333; font-size: 16px; }

/* Details Page */
.detail-view { display: flex; gap: 40px; background: white; padding: 40px; border-radius: 12px; }
.detail-img { width: 50%; border-radius: 12px; }
.detail-info { width: 50%; }
.btn-add { background-color: #2ecc71; color: white; border: none; padding: 15px 30px; font-size: 18px; cursor: pointer; border-radius: 8px; width: 100%; margin-top: 20px; }
.btn-add:hover { background-color: #27ae60; }

/* Table for Schedule */
.schedule-table { width: 100%; border-collapse: collapse; background: white; border-radius: 8px; overflow: hidden; }
.schedule-table th, .schedule-table td { padding: 15px; border-bottom: 1px solid #eee; text-align: left; }
.schedule-table th { background-color: #f1f1f1; }

/* --- Admin Specific Styles --- */
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.btn-new { background-color: #3498db; color: white; padding: 10px 20px; text-decoration: none; border-radius: 5px; font-weight: bold; }
.btn-edit { background-color: #f1c40f; color: #333; padding: 5px 10px; text-decoration: none; border-radius: 4px; font-size: 14px; margin-right: 5px; }
.btn-delete { background-color: #e74c3c; color: white; padding: 5px 10px; text-decoration: none; border-radius: 4px; font-size: 14px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: bold; color: #555; }
/* --- Modern Form Inputs --- */

/* 1. Base Style for all inputs */
input[type="text"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="password"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 12px 15px; /* Comfortable spacing */
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #dcdcdc; /* Subtle grey border */
    border-radius: 8px; /* Softer rounded corners */
    box-sizing: border-box; /* Ensures padding doesn't break width */
    font-family: inherit;
    font-size: 16px; /* Legible font size */
    color: #333;
    background-color: #fff;
    transition: all 0.3s ease; /* Smooth animation when clicking */
}

/* 2. Focus State (When user clicks inside) */
input:focus, 
select:focus, 
textarea:focus {
    border-color: #3498db; /* Blue border on focus */
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.2); /* Soft blue glow */
    outline: none; /* Remove default browser outline */
    background-color: #fafdff; /* Very slight blue tint */
}

/* 3. Hover State */
input:hover, 
select:hover {
    border-color: #b0b0b0; /* Slightly darker grey when hovering */
}

/* 4. Labels */
label {
    font-weight: 600;
    color: #444;
    font-size: 14px;
    margin-bottom: 5px;
    display: block; /* Ensures label sits above input */
}

/* 5. Placeholder Text */
::placeholder {
    color: #aaa;
    opacity: 1; 
}
.form-row { display: flex; gap: 20px; }
.form-row .form-group { flex: 1; }
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px; /* Space between links and form */
}

.nav-links form {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0; /* Remove default form margins */
}