body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    background: #333;
    color: #fff;
    padding: 1rem;
    text-align: center;
}

header h1 {
    margin-top: 0;
}

.logo {
    scale: 1.25;
}

nav a {
    color: #fff;
    margin: 0 1rem;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

main {
    padding: 2rem;
    max-width: 800px;
    margin: auto;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.card {
    display: block;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;  /* crops image to fit without distortion */
    display: block;
}

.card h3 {
    margin: 1rem 1rem 0.5rem;
    font-size: 1.25rem;
}

.card p {
    margin: 0 1rem 1rem;
    font-size: 0.9rem;
    color: #555;
}

/* Card container (each expandable unit) */
.card-container {
    margin-bottom: 1rem;
}

/* Card styling (same as before, but remove shadow if you want only on container) */
.card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.card h3 {
    margin: 1rem 1rem 0.5rem;
    font-size: 1.25rem;
}

.card p {
    margin: 0 1rem 1rem;
    font-size: 0.9rem;
    color: #555;
}

/* Expandable content – hidden by default */
.expandable-content {
    max-height: 0;
    overflow: hidden;
    background: #f9f9f9;
    border-radius: 0 0 8px 8px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 1rem;
    margin-top: 0;
}

/* When the 'open' class is added, show the content */
.expandable-content.open {
    max-height: 200px;   /* adjust to fit your content */
    padding: 1rem;
    border-top: 1px solid #eee;
}

/* Booking page specific styles */
.booking-intro {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #444;
}

.booking-form {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

fieldset {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
}

legend {
    font-weight: bold;
    padding: 0 0.5rem;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 1rem;

}

.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #333;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

.form-group input,
.form-group textarea,
.select-trigger {
    box-sizing: border-box;
}

.hint {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
}

.submit-btn {
    background-color: #333;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-btn:hover {
    background-color: #555;
}

.form-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    display: none;
}

.form-message .success {
    background-color: #d4edda;
    color: #155724;
    padding: 0.75rem;
    border-radius: 4px;
}

.form-message .error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 0.75rem;
    border-radius: 4px;
}

.custom-select {
    position: relative;
    width: 100%;
}

.select-trigger {
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    font-size: 1rem;
}

.select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 240px; /* show about 8 items (each ~30px) */
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.select-options div {
    padding: 0.5rem;
    cursor: pointer;
}

.select-options div:hover {
    background-color: #f0f0f0;
}