/* ==============================
   GENERAL LAYOUT
   ============================== */
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    margin: 0;
    padding: 0;
}

h1, h2 {
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/*Table Detail*/
table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    text-align: left;          
    vertical-align: top;    
    padding: 12px;
}

table th {
    background-color: #f4f4f4;
}

table td:first-child,
table th:first-child {
    width: 80px;               
}

table img {
    display: block;
    max-width: 70px;
    height: auto;
    border-radius: 6px;
}





/* ==============================
   TABLES (Membership / Details) */

table {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    table-layout: auto;
}

table th, table td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
    vertical-align: top;
}

table th {
    background-color: #f0f0f0;
}

table tr:nth-child(even) td {
    background-color: #fafafa;
}

@media (max-width: 768px) {
    table, table th, table td {
        display: block;
        width: 95%;
        margin: 0 auto 15px auto;
    }
    table tr {
        margin-bottom: 15px;
        display: block;
        border-bottom: 2px solid #eee;
        padding-bottom: 10px;
    }
    table td[data-label]::before {
        content: attr(data-label) ": ";
        font-weight: bold;
        display: inline-block;
        width: 120px;
    }
    table th {
        display: none;
    }
}
  




/* ==============================
   FORM WRAPPER
   ============================== */
.form-wrap {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 10px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

/* ==============================
   FORM SECTIONS
   ============================== */
.form-section {
    border: 1px solid #ccc;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    background-color: #fdfdfd;
}

.form-section h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #333;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

/* ==============================
   FORM LABELS & INPUTS
   ============================== */
form label {
    display: flex;
    flex-direction: column; /* label on top, input below */
    margin-bottom: 15px;
    font-weight: 600;
}

form input[type="text"],
form textarea {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form textarea {
    min-height: 80px;
}

/* ==============================
   BUTTONS
   ============================== */
form button {
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 15px;
    background-color: #0066cc;
    color: #fff;
    border: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #004999;
}

/* ==============================
   BACK LINKS
   ============================== */
a.back-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: bold;
    color: #0066cc;
}

a.back-link:hover {
    text-decoration: underline;
}

/* ==============================
   LINKS IN TABLES
   ============================== */
table a {
    color: #0066cc;
}

table a:hover {
    text-decoration: underline;
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 768px) {
    .form-wrap, .form-section {
        width: 95%;
        padding: 10px;
    }
    form button {
        width: 100%;
    }
}
form label {
    display: flex;
    flex-direction: column; /* label on top, input below */
    margin-bottom: 15px;
}


/* Opening Hours formatting */
.Opening_Hours p {
    margin-bottom: 1em;
    line-height: 1.6;
}


/* Description formatting */
.description-content p {
    margin-bottom: 1em;
    line-height: 1.6;
}

.description-content img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
    border-radius: 6px;
}


/* Responsive YouTube video */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* NAVIGATION */
header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    background: rgba(0,0,0,0.6);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    color: #fff;
}

.logo {
    font-size: 1.4rem;
    font-weight: bold;
}

.menu {
    list-style: none;
    display: flex;
    gap: 25px;
}

.menu li {
    position: relative;
}

.menu a {
    color: #fff;
    text-decoration: none;
}

.menu a:hover {
    text-decoration: underline;
}

/* Dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 180px;
    top: 30px;
    left: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.dropdown-content li {
    padding: 10px;
}

.dropdown-content a {
    color: #333;
}

.dropdown:hover .dropdown-content {
    display: block;
}




/* SLIDESHOW */
.slideshow {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Hero Text */
.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #0066cc;
    color: #fff;
    border-radius: 5px;
}

.hero-btn:hover {
    background: #004999;
}


.mobile-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {

    .menu {
        display: none;
        flex-direction: column;
        background: rgba(0,0,0,0.9);
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        padding: 20px;
    }

    .menu.show {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .dropdown-content {
        position: static;
        background: none;
        box-shadow: none;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }
}

.record-navigation {
    width: 90%;
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
}

.nav-btn {
    padding: 8px 18px;
    background: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.nav-btn:hover {
    background: #004999;
}

.nav-btn.disabled {
    background: #ccc;
    cursor: not-allowed;
}

.thumbnail-img {
    width: 80px;
    height: auto;
    border-radius: 6px;
}

@media (max-width: 768px) {

    .thumb-col {
        width: 60px;
    }

    .thumb-img {
        width: 50px;
    }

    table th,
    table td {
        font-size: 14px;
        padding: 8px;
    }

}



