/* Full page background */
body {
    margin: 0;
    min-height: 100vh;

    background: 
    linear-gradient(to bottom, rgba(0,0,0,0.85), rgba(0,0,0,0.60)),
        url("../images/movie\ theatre\ background.png");

    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

/* Optional: make text readable */
h1, h2, p, nav a, footer {
    color: white;
}

.schedule-box {
    background: rgba(255, 255, 255, 0.65);
    padding: 25px;
    margin: 20px auto;
    border-radius: 12px;
    width: 80%;
}

#scheduleTable {
    width: 100%;
    border-collapse: collapse;
}

#scheduleTable th,
#scheduleTable td {
    padding: 12px;
    border: 1px solid #ccc;
    color: black;
}

#scheduleTable th {
    background-color: #333;
    color: white;
}

.movie-hover {
    position: relative;
    display: inline-block;
    cursor: pointer;
    font-weight: bold;
}

.movie-popup {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    border-radius: 8px;
    width: 220px;
    text-align: center;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.movie-hover:hover .movie-popup {
    visibility: visible;
    opacity: 1;
}
/* Full page background */
body {
    margin: 0;
    min-height: 100vh;

    background: 
    linear-gradient(to bottom, rgba(0,0,0,0.85), rgba(0,0,0,0.60)),
        url("../images/movie\ theatre\ background.png");

    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

/* Optional: make text readable */
h1, h2, p, nav a, footer {
    color: white;
}

.schedule-box {
    background: rgba(255, 255, 255, 0.65);
    padding: 25px;
    margin: 20px auto;
    border-radius: 12px;
    width: 80%;
}

#scheduleTable {
    width: 100%;
    border-collapse: collapse;
}

#scheduleTable th,
#scheduleTable td {
    padding: 12px;
    border: 1px solid #ccc;
    color: black;
}

#scheduleTable th {
    background-color: #333;
    color: white;
}

.movie-hover {
    position: relative;
    display: inline-block;
    cursor: pointer;
    font-weight: bold;
}

.movie-popup {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    border-radius: 8px;
    width: 220px;
    text-align: center;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.movie-hover:hover .movie-popup {
    visibility: visible;
    opacity: 1;
}

/* Contact page text */
#contactInfo,
#contactInfo h3,
#contactInfo p {
    color: white;
}

#theatreSelect {
    padding: 8px;
    border-radius: 5px;
    margin-top: 10px;
}

hr {
    border: 1px solid rgba(255,255,255,0.4);
}
/* Contact page text visibility */
.schedule-box,
.schedule-box h2,
.schedule-box h3,
.schedule-box p,
.schedule-box label {
    color: rgb(15, 14, 14);
}

/* Dropdown text */
select {
    color: rgb(0, 0, 0);
}
/* General Styling for Cart Page */
body {
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.85), rgba(0,0,0,0.60)),
                url("../images/movie theatre background.png") center center / cover no-repeat fixed;
    font-family: Arial, sans-serif;
    color: white;
}

/* Header Styling */
header.page-header {
    text-align: center;
    margin-top: 20px;
}

header .logo {
    width: 120px;
    display: block;
    margin: 10px auto;
}

/* Cart Table */
#cartTable {
    width: 90%;
    border-collapse: collapse;
    margin: 20px auto;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
}

#cartTable th, #cartTable td {
    padding: 12px;
    border: 1px solid #ccc;
    text-align: center;
}

#cartTable th {
    background-color: #333;
    color: white;
}

#cartTable td {
    color: black;
}

/* Seat Input Styling */
#cartTable input[type="number"] {
    width: 60px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
}

#cartTable button {
    padding: 8px 15px;
    margin: 5px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background-color: #333;
    color: white;
    font-weight: bold;
}

#cartTable button:hover {
    background-color: #555;
}

/* Grand Total Section */
h2 {
    text-align: center;
    font-size: 1.5em;
    color: white;
}

#grandTotal {
    font-size: 2em;
    font-weight: bold;
    color: #f8c300;
}

/* Buttons Below Cart */
div > button {
    padding: 10px 20px;
    margin: 15px;
    border-radius: 6px;
    cursor: pointer;
    background-color: #333;
    color: white;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s;
}

div > button:hover {
    background-color: #555;
}

/* Footer Styling */
footer {
    text-align: center;
    margin-top: 40px;
    color: white;
}

footer ul {
    list-style-type: none;
    padding: 0;
}

footer ul li {
    margin-top: 5px;
}