@charset "utf-8";

/* Index HTML */
/* Basic structure */
html {
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

body {
    margin: 0 auto;
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Layout for header and footer */
header,
footer {
    width: 100%;
}

/* Time */
#datetime {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 10px;
    color: black;
}

/* Main layout structure */
aside {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 120px;
}

section#main {
    flex: 3 0 361px;
}

section#topics {
    display: flex;
    flex-flow: row wrap;
}

section#topics > article {
    flex: 1 1 200px;
}

/* Navigation layout */
nav.horizontal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav.horizontal li {
    flex: 1 1 100px;
}

.services-contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin: 40px auto;
    max-width: 1200px;
    padding: 20px;
}

/* End of Index HMTL */

/* Contact Page */
body.contact-page {
    background-color: #444;
    font-family: Indie, cursive;
    color: black;
}

header,
footer {
    width: 100%;
    background-color: #ffc0cb;
    color: #333;
    padding: 10px 0;
    text-align: center;
    font-family: Indie, cursive;
}

h1,
h2,
h3 {
    font-family: Indie, cursive;
    color: black;
    text-align: center;
}

/* Navigatgion */
nav ul.mainmenu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0;
    margin: 10px 0;
}

nav ul.mainmenu li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Main layout */
.contact-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    gap: 50px;
}

.booking-section form {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.booking-section {
    flex: 1 1 300px;
    max-width: 400px;
}

fieldset {
    border: 2px solid #ffb6c1;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
}

legend {
    font-weight: bold;
    color: black;
    font-family: Indie, cursive;
}

label,
input,
textarea {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    font-family: Indie, cursive;
}

input[type="submit"] {
    background-color: #d6336c;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* Table styling */
.booking-pricing-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.pricing-section {
    flex: 1 1 300px;
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-table-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.pricing-table th,
.pricing-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
    vertical-align: middle;
}

.pricing-table th {
    background-color: #ffc0cb;
    font-weight: bold;
}

.contact-info-aside {
    background-color: #f4f4f4;
    border: 2px solid #ffc0cb;
    padding: 15px;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    font-family: Indie, cursive;
    text-align: center;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-info-aside h3 {
    color: #d6336c;
    margin-bottom: 10px;
}


/* Images */
.image-gallery {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 20px;
}

.image-box {
    max-width: 200px;
    flex: 0 0 auto;
    text-align: center;
}

.caption {
    font-size: 0.9rem;
    color: black;
    margin-top: 5px;
    font-family: Indie, cursive;
}

/* Videos */
.video-gallery {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 20px;
}

.video-box {
    max-width: 200px;
    flex: 0 0 auto;
    text-align: center;
}

.video-box video,
.image-box img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.radio-group {
    margin: 20px 0;
    padding: 10px;
    background-color: #ffe6f0;
    /* light pink background */
    border: 2px solid #ff99cc;
    border-radius: 10px;
    max-width: 300px;
    font-family: Arial, sans-serif;
}

.radio-group p {
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.radio-group label {
    display: block;
    margin: 5px 0;
    font-size: 16px;
    cursor: pointer;
    color: #555;
}

.radio-group input[type="radio"] {
    margin-right: 8px;
}

/* Mobile first layout */
@media only screen and (max-width: 768px) {
    aside {
        order: 99;
    }

    nav.horizontal ul {
        display: flex;
        flex-direction: column;
        padding: 0;
        margin: 0;
        list-style: none;
        background-color: black;
    }

    nav.horizontal li {
        text-align: center;
        padding: 10px 0;
    }

    nav.horizontal a {
        display: block;
        color: white;
        text-decoration: none;
    }

    nav.horizontal a:hover {
        background-color: #444;
    }

    nav.horizontal ul {
        display: flex;
        flex-direction: row nowrap;
    }

    .contact-main {
        padding: 15px;
    }

    .image-box,
    .video-box {
        width: 100%;
        max-width: 200px;
    }

    .video-gallery {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .video-box {
        width: 100%;
        margin-bottom: 20px;
    }

    .image-gallery {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .img-box {
        width: 100%;
        margin-bottom: 20px;
    }
}