
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #fffdf8;
}
header {
    display: flex;
    align-items: center;
    background-color: #f0efe9;
    padding: 10px 20px;
    position: relative;
}
.logo {
    height: 60px;
    margin-right: 15px;
}
.site-name {
    font-family: 'Great Vibes', cursive;
    font-size: 28px;
    flex-grow: 1;
}
.hamburger {
    font-size: 26px;
    cursor: pointer;
}
.sidebar {
    position: fixed;
    top: 0;
    right: -250px;
    width: 200px;
    height: 100%;
    background-color: #f4f4f4;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    transition: right 0.3s;
    padding-top: 60px;
}
.sidebar ul {
    list-style: none;
    padding: 0;
}
.sidebar li {
    padding: 15px 20px;
    cursor: pointer;
}
.sidebar li:hover {
    background-color: #ddd;
}
main {
    padding: 20px;
}
.page {
    display: none;
}
.page.active {
    display: block;
}
.home-img {
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 20px auto;
    border-radius: 10px;
}
.home-article {
    max-width: 700px;
    margin: 30px auto;
    padding: 0 20px;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}
.home-article h2, .home-article h3, .home-article h4 {
    text-align: center;
    color: #444;
}
.home-article ul {
    margin-left: 20px;
    padding-left: 0;
}
.home-article li {
    margin-bottom: 10px;
}

.intro-article {
    max-width: 700px;
    margin: 30px auto;
    padding: 0 20px;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}
.intro-article h4 {
    margin-top: 20px;
    color: #444;
}
.intro-article ul {
    margin-left: 20px;
}
.intro-article blockquote {
    font-style: italic;
    text-align: center;
    margin: 20px auto;
    color: #666;
}

.donation-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
    animation: fadeIn 1.2s ease-in-out;
}

.donation-text {
    flex: 1 1 400px;
    max-width: 600px;
}

.donation-image img {
    max-width: 350px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.donation-text ul {
    padding-left: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.gallery-title {
    text-align: center;
    margin-bottom: 25px;
    color: #444;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.gallery-grid img {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-grid img:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.booking-container {
    max-width: 800px;
    margin: 0 auto;
}

.booking-intro {
    text-align: center;
    margin-bottom: 20px;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 15px;
}

.booking-form textarea {
    min-height: 90px;
}

.booking-form button {
    margin-top: 15px;
    padding: 12px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

.booking-form button:hover {
    background-color: #555;
}

.booking-notes {
    margin-top: 30px;
    font-size: 14px;
}

.booking-notes ul {
    padding-left: 20px;
}

.booking-notes li {
    margin-bottom: 8px;
}

/* Booking section background */
.booking-bg {
    background: url('../assets/booking_bg.jpeg') center/cover no-repeat fixed;
    padding: 60px 20px;
    animation: bgFadeIn 1.2s ease-in-out;
}

/* Glassmorphism container */
.booking-bg .booking-container {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.25);
    padding: 30px;
    animation: floatIn 0.9s ease-out;
}

/* Motion */
@keyframes bgFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes floatIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Improve contrast on glass */
.booking-bg h2,
.booking-bg h3,
.booking-bg h4,
.booking-bg p,
.booking-bg label {
    color: #111;
}

.booking-bg .booking-form input,
.booking-bg .booking-form select,
.booking-bg .booking-form textarea {
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(0,0,0,0.15);
}

.booking-bg .booking-form button {
    background: linear-gradient(135deg, #111, #333);
}

/* Mobile optimization */
@media (max-width: 768px) {
    .booking-bg {
        background-attachment: scroll;
        padding: 40px 15px;
    }
}

.contact-section {
    text-align: center;
    padding: 60px 20px;
}

.contact-intro {
    margin-bottom: 30px;
    color: #444;
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-icons a img {
    width: 70px;
    height: 70px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border-radius: 16px;
}

.contact-icons a img:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 14px 30px rgba(0,0,0,0.25);
}

.testimonials-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.testimonials-section h2 {
    text-align: center;
}

.stars {
    text-align: center;
    font-size: 22px;
    margin-bottom: 30px;
}

.testimonial-list {
    display: grid;
    gap: 20px;
}

.testimonial {
    background: rgba(255,255,255,0.85);
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.testimonial.vip {
    font-style: italic;
    opacity: 0.7;
}

.review-form {
    margin-top: 40px;
}

.review-form h3 {
    text-align: center;
    margin-bottom: 15px;
}

.review-form form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-form input,
.review-form textarea {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.review-form textarea {
    min-height: 100px;
}

.review-form button {
    padding: 12px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.review-form button:hover {
    background: #333;
}

/* iOS non-zoomable, fixed layout optimization */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    touch-action: manipulation;
}

/* Prevent accidental zoom on inputs (iOS) */
input, select, textarea, button {
    font-size: 16px;
}

/* iPhone-first container sizing */
@media (max-width: 430px) {
    .booking-container,
    .home-article,
    .intro-article,
    .testimonials-section {
        padding: 20px 16px;
    }

    .contact-icons img {
        width: 60px;
        height: 60px;
    }
}


/* Ensure header & hamburger menu are always above glassmorphism */
header {
    position: sticky;
    top: 0;
    z-index: 9999;
}

.hamburger {
    position: relative;
    z-index: 10000;
}

/* Sidebar above all sections */
.sidebar {
    z-index: 10001;
}

/* Prevent booking glass from blocking interactions */
.booking-bg {
    position: relative;
    z-index: 1;
}

.booking-bg .booking-container {
    position: relative;
    z-index: 2;
}
