body {
    font-family: Arial, sans-serif;
    margin: 0;
}

header {
    background: #1d3557;
    color: white;
    padding: 20px;
    text-align: center;
}

nav a {
    color: white;
    margin-right: 15px;
    text-decoration: none;
}

.hero {
    text-align: center;
    padding: 80px 20px;
    background: #f1f5f9;
}

.hero-content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 30px auto 0;
}

.hero-image-link,
.hero-map {
    flex: 1 1 320px;
    max-width: 560px;
}

.hero-image {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.hero-map iframe {
    width: 100%;
    min-height: 450px;
    border-radius: 12px;
    border: 0;
    display: block;
}

.gallery-hero {
    text-align: center;
    padding: 60px 20px;
    background: #f8fafc;
}

.gallery-hero h2 {
    margin-bottom: 10px;
}

.gallery-hero p {
    margin: 0 auto;
    max-width: 700px;
    color: #4a5568;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 30px auto 40px;
    padding: 0 20px;
}

.gallery-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,.08);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.gallery-item-content {
    padding: 18px;
}

.gallery-item-content h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
}

.gallery-item-content p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

footer {
    text-align: center;
    padding: 20px 0;
    background: #f1f5f9;
    color: #333;
}

.rules-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}

.rules-container section {
    margin-top: 30px;
}

.rules-container section ul {
    display: inline-block;
    text-align: left;
    margin: 0 auto;
}

.booking-form {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,.1);
}

.booking-form h2,
.booking-form p {
    text-align: center;
}

.booking-form label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: 600;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.95rem;
}

.checkbox-container input {
    width: auto;
    margin-top: 3px;
}

.checkbox-container a {
    color: #1d3557;
    text-decoration: underline;
}

.checkbox-container a:hover {
    opacity: .85;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row > div {
    flex: 1;
}

.booking-form button {
    width: 100%;
    margin-top: 25px;
    padding: 14px;
    border: none;
    border-radius: 6px;
    background: #1d3557;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.booking-form button:hover {
    opacity: .9;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Coming Soon page styles */
.coming-soon .container {
    min-height: calc(100vh - 160px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

.coming-soon h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.coming-soon p {
    color: #4a5568;
    margin: 0.5rem 0;
}

.btn {
    display: inline-block;
    background: #2a9d8f;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 12px;
    box-shadow: 0 4px 12px rgba(42,157,143,0.18);
    transition: background 150ms ease, transform 80ms ease;
}

.btn:hover {
    background: #238a7a;
    transform: translateY(-1px);
}

/* Required field asterisk */
.required {
    color: #e63946;
    font-size: 1.25em;
    font-weight: 700;
    margin-left: 4px;
    vertical-align: middle;
}

/* Outline empty required fields in red */
.booking-form input:required:invalid,
.booking-form select:required:invalid,
.booking-form textarea:required:invalid {
    border: 2px solid #e63946;
    box-shadow: 0 0 0 4px rgba(230,57,70,0.06);
}

/* Highlight checkbox label when unchecked */
.checkbox-container input:required:invalid + label {
    color: #e63946;
    font-weight: 700;
}

/* Make invalid fields stand out a bit more on focus */
.booking-form input:required:focus:invalid,
.booking-form select:required:focus:invalid,
.booking-form textarea:required:focus:invalid {
    outline: none;
    box-shadow: 0 0 0 6px rgba(230,57,70,0.08);
}

/* Inline form error */
.form-error {
    color: #e63946;
    background: rgba(230,57,70,0.04);
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 10px;
    font-size: 0.95rem;
}

.checkbox-container input.invalid + label {
    color: #e63946;
    font-weight: 700;
}

/* Pricing Page */

.pricing-page {
    padding: 60px 20px;
    background: #f8fafc;
}

.pricing-page .container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.pricing-page h2 {
    margin-bottom: 40px;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px rgba(0,0,0,.08);
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: #1d3557;
}

.price span {
    font-size: 1rem;
    font-weight: normal;
    color: #666;
}

.pricing-notes {
    margin-top: 40px;
    text-align: left;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0,0,0,.08);
}

.pricing-notes ul {
    margin: 0;
    padding-left: 20px;
}

/* Booking Calendar */

.booking-calendar-container {
    margin-bottom: 30px;
    text-align: center;
}

.booking-calendar-container h3 {
    margin-bottom: 10px;
}

.booking-calendar-container p {
    margin-bottom: 20px;
    color: #555;
}

.flatpickr-calendar {
    margin: 0 auto;
    box-shadow: 0 3px 15px rgba(0,0,0,.08);
}

.booked-day {
    background: #e74c3c !important;
    border-color: #e74c3c !important;
    color: white !important;
    border-radius: 50%;
}

.booked-day:hover {
    background: #c0392b !important;
}
.pending-day {
    background: #7f8c8d !important;
    border-color: #7f8c8d !important;
    color: white !important;
    border-radius: 50%;
}

.pending-day:hover {
    background: #6c7a7d !important;
}

.unavailable-day {
    background: #f39c12 !important;
    border-color: #f39c12 !important;
    color: white !important;
    border-radius: 50%;
}

.unavailable-day:hover {
    background: #d68910 !important;
}

.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.inRange {
    background: #1d3557 !important;
    border-color: #1d3557 !important;
    color: white !important;
}
#bookingCalendar {
    display: none;
}
.readonly-date {
    background: #f5f5f5;
    cursor: default;
}

/* Visitor Guide */

.guide-hero {
    text-align: center;
    padding: 60px 20px;
    background: #f8fafc;
}

.guide-hero p {
    max-width: 800px;
    margin: 0 auto;
    color: #555;
    line-height: 1.7;
}

.guide-category {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.guide-category h2 {
    margin-bottom: 20px;
    color: #1d3557;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.guide-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0,0,0,.08);
    transition: transform 0.2s ease;
}

.guide-card:hover {
    transform: translateY(-3px);
}

.guide-card h3 {
    margin-top: 0;
    color: #1d3557;
}

.guide-card p {
    margin: 8px 0;
    color: #555;
    line-height: 1.5;
}

.guide-card a {
    display: inline-block;
    margin-top: 12px;
    text-decoration: none;
    background: #1d3557;
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
}

.guide-card a:hover {
    opacity: .9;
}

@media (max-width: 768px) {
    .guide-grid {
        grid-template-columns: 1fr;
    }
}


/* Gallery Lightbox */

/* Gallery Lightbox */

.gallery-item img {
    cursor: pointer;
    transition: transform .2s ease;
}

.gallery-item img:hover {
    transform: scale(1.03);
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    padding: 20px;
    cursor: pointer;
}

.lightbox img {
    max-width: 95vw;
    max-height: 95vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,.5);
    cursor: default;
}

.contact-notice {
    background: #eef6ff;
    border: 1px solid #b8d4f1;
    color: #1d3557;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.5;
}

.contact-notice a {
    color: #1d3557;
    font-weight: bold;
    text-decoration: none;
}

.contact-notice a:hover {
    text-decoration: underline;
}