/* General Page Styling */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #ffffff;
    text-align: center;
}

/* Page Wrapper for Main Content */
.page-wrapper {
    flex: 1;
}

/* Header Styling */
header {
    background-color: #000;
    height: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

header img {
    max-height: 100%;
    width: auto;
    margin: 0;
    padding: 0;
}

/* Footer Styling */
footer {
    background-color: #111;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
}

footer p {
    margin: 0;
    font-size: 0.9em;
}

/* Paragraph Styling */
p {
    margin: 10px 0;
    line-height: 1.6;
}

/* Navigation Bar Styling */
nav {
    background-color: #111;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Style individual nav links */
nav a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 20px;
    font-size: 1.2em;
    padding: 5px 10px;
    border-radius: 5px;
    transition: color 0.3s ease, background-color 0.3s ease;
    display: inline-block;
    font-family: Arial, sans-serif;
}

/* Hover effect for nav links */
nav a:hover {
    color: #00c400;
    background-color: #484848;
}

/* Active menu item styling */
nav a.active {
    color: #00c400;
    border-bottom: 3px solid #00c400;
}

/* Page Content Styling */
.page-content {
    background-color: #000;
    margin: 0;
    padding: 0;
    width: 100%;
    height: calc(100vh - 198px);
    position: relative;
    overflow: hidden;
    min-height: 0;
}

/* Centering and Styling for Page Titles */
.page-content h1 {
    font-size: 2em;
    margin: 10px 0;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    nav {
        flex-direction: column;
        padding: 10px;
    }
    nav a {
        margin: 10px 0;
    }
    .page-content {
        padding: 0;
        height: auto;
    }
    .page-content video {
        height: auto;
        max-height: calc(100vh - 150px);
    }
}

/* Contact Form Styling */
.contact-form {
    max-width: 600px;
    margin: 20px auto;
    text-align: left;
}

/* Form Group Styling */
.form-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.form-group label {
    width: 100px;
    text-align: right;
    margin-right: 15px;
    padding-top: 5px;
    color: #ffffff;
}

.form-group input,
.form-group textarea {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #555;
    color: #ffffff;
    font-family: Arial, sans-serif;
}

.form-group input {
    height: 30px;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Grid Container for Images */
.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    height: 100%;
}

.container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Grid for Smaller Screens */
@media (max-width: 600px) {
    .container {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .container img {
        height: auto;
        max-height: 300px;
    }
}

@media (max-width: 600px) and (orientation: portrait) {
    .page-content {
        height: auto;
    }
    .page-content video {
        width: 100%;
        height: auto;
        max-height: calc(100vh - 150px);
    }
}

@media (max-width: 600px) and (orientation: landscape) {
    .page-content {
        height: auto;
    }
    .page-content video {
        width: auto;
        height: 100%;
        max-width: 100vw;
        max-height: calc(100vh - 120px);
    }
}

@media (max-width: 600px) {
    .page-content video {
        max-width: 100vw; /* Ensure full viewport width on mobile */
        max-height: 100vh; /* Ensure full viewport height without overflow */
    }
}

/* Responsive Iframes */
.page-content iframe {
    width: 100%;
    max-width: 780px;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
    margin: 0 auto;
}

.page-content video {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures the video scales without clipping */
}

/* Send Button Styling */
.contact-form button {
    display: block;
    margin: 20px auto 0;
    padding: 10px 20px;
    background-color: #00c400;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.contact-form button:disabled {
    background-color: #a5a8aa;
    cursor: not-allowed;
}

.contact-form button:hover:not(:disabled) {
    background-color: #00c400;
}

/* Reset default ul styles and left-align within page-content */
.page-content ul {
    text-align: left !important;
    margin: 10px 0;
    padding-left: 20px;
    list-style-type: disc;
}

/* Ensure nested lists are also left-aligned */
.page-content ul ul {
    text-align: left !important;
    margin: 5px 0;
    padding-left: 20px;
    list-style-type: circle;
}

/* Style links within page-content */
.page-content a {
    color: #00c400;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-content a:hover {
    color: #00c400;
}
