/* ===== BODY & BACKGROUND ===== */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    background:
        radial-gradient(circle at 20px 20px, rgba(0,0,0,0.02)
 2px, transparent 3px),
        radial-gradient(circle at 60px 60px, rgba(0,0,0,0.03) 2px, transparent 3px),
        linear-gradient(to bottom, #f9f7f2, #ece6d8);

    background-size: 80px 80px;
    color: #333;
}

/* ===== HEADER ===== */
header {
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-align: center;
    padding: 25px;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
}

/* ===== NAV BAR ===== */
nav {
    margin-top: 15px;
}

nav button {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 10px 18px;
    margin: 5px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    transition: 0.3s;
}

nav button:hover {
    background: white;
    color: #333;
}

/* ===== BOOK CONTAINER & PAGES ===== */
.book-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 15px;
}

.page {
    display: none; /* only active page shows */
    background-color: rgba(255,255,255,0.9);
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* ===== LINKS ===== */
a {
    color: #ff4500;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: 20px;
    background-color: rgba(0,0,0,0.5);
    color: white;
    margin-top: 50px;
}

/* ===== FORM STYLING ===== */
form label {
    display: block;
    margin-top: 20px;
    font-weight: bold;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-top: 5px;
    font-size: 1em;
}

form button {
    margin-top: 25px;
    background: #ff4500;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1em;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

form button:hover {
    background: #ffa500;
}

/* SPINNER */
.spinner {
    display: none;
    width: 35px;
    height: 35px;
    border: 4px solid #ccc;
    border-top: 4px solid #ff4500;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 15px auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.success-msg {
    display: none;
    color: green;
    font-weight: bold;
    margin-top: 15px;
    text-align: center;
}

/* MOBILE POLISH */
@media (max-width: 600px) {
    nav button {
        width: 100%;
        margin: 6px 0;
    }

    .page {
        padding: 20px;
    }
}

/* ===== ABOUT US SECTION ===== */
.about-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.about-text {
    flex: 1 1 300px; /* text takes space but won’t shrink too much */
}

.highlight-images {
    display: flex;
    flex-direction: column; /* stack images vertically beside text */
    gap: 15px;
    flex: 1 1 300px; /* images take space but limited */
}

.highlight-img {
    width: 100%;
    max-width: 300px; /* prevents them from being huge */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* ===== GALLERY OF PLACE IMAGES ===== */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.gallery img {
    flex: 1 1 250px;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}


/* ===== REQUEST SERVICES FORM STYLING ===== */
#serviceForm {
    background-color: rgba(255,255,255,0.95);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    max-width: 600px;
    margin: 0 auto;
}

#serviceForm label {
    font-weight: bold;
    margin-top: 15px;
    display: block;
}

#serviceForm select,
#serviceForm textarea,
#serviceForm input {
    margin-top: 8px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    width: 100%;
    font-size: 1em;
    box-sizing: border-box;
}

#boardingOptions select {
    margin-top: 5px;
}

/* Center submit button */
#serviceForm button {
    display: block;
    width: 100%;
    margin-top: 25px;
    background-color: #ff4500;
    color: white;
    border: none;
    padding: 12px 0;
    border-radius: 8px;
    font-size: 1em;
    cursor: pointer;
    transition: 0.3s;
}

#serviceForm button:hover {
    background-color: #ffa500;
}

/* Small screens adjustments */
@media (max-width: 480px) {
    #serviceForm {
        padding: 20px;
    }
}


/* ===== CLASS PLANS – OVAL DESIGN ===== */
.plans-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
    align-items: center;
}

.plan-oval {
    width: 100%;
    max-width: 700px;
    background: linear-gradient(to right, #fff7cc, #ffe08a);
    border-radius: 999px; /* THIS makes it oval */
    padding: 25px 40px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-oval h3 {
    margin: 0;
    font-size: 1.4em;
}

.plan-oval p {
    margin: 6px 0;
    font-size: 1.05em;
}

/* Hover effect */
.plan-oval:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* Mobile adjustment */
@media (max-width: 600px) {
    .plan-oval {
        border-radius: 25px; /* nicer on small screens */
        padding: 20px;
    }
}

h2 {
    text-align: center;
    font-size: 2.1em;
    margin-bottom: 25px;
    color: #3a2a00;
}

h3 {
    color: #5a3b00;
}

.page {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.price-section {
    margin-bottom: 35px;
}

.board-type {
    background: #fff8dc;
    border-radius: 14px;
    padding: 20px;
    margin-top: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.board-type h4 {
    margin-top: 0;
    color: #704800;
}

.board-type ul {
    padding-left: 20px;
}


.plans-container {
    gap: 25px;
}

.plan-oval {
    position: relative;
    overflow: hidden;
}

.plan-oval::before {
    content: "";
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 100%;
    background: rgba(255,255,255,0.3);
    transform: skewX(-20deg);
}

/* ===== MOBILE FIXES ===== */
@media (max-width: 768px) {

    body {
        font-size: 16px;
    }

    header h1 {
        font-size: 1.6rem;
        text-align: center;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    nav button {
        flex: 1 1 45%;
        font-size: 14px;
        padding: 10px;
    }

    .about-container {
        flex-direction: column;
    }

    .highlight-images {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .highlight-img {
        width: 90%;
        max-width: 350px;
    }

    .gallery {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .gallery img {
        width: 100%;
        height: auto;
    }

    .plans-container {
        flex-direction: column;
        align-items: center;
    }

    .plan-oval {
        width: 90%;
        margin-bottom: 20px;
    }

    iframe {
        width: 100%;
        height: 300px;
    }

    form {
        width: 100%;
    }

    textarea,
    select,
    button {
        width: 100%;
        font-size: 16px;
    }
}
