/* General Reset */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
    font-family: 'Georgia', serif;
    color: #fff;
    display: flex;
    flex-direction: column;
}

/* Footer */
footer {
    text-align: center;
    padding: 10px;
    background-color: #000;
    color: #fff;
    font-size: 0.9em;
    margin-top: auto; /* Ensures the footer sticks to the bottom */
    flex-shrink: 0;   /* Prevents shrinking */
}

/* Main Content */
main {
    flex: 1; /* Ensures the main content takes up available space */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Fullscreen Slideshow */
body {
    position: relative;
}

.slideshow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.slideshow-container img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slideshow-container img.active {
    opacity: 1;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    width: 100%; /* Ensure it spans the full width of the screen */
    position: relative; /* Makes it easier to adjust placement if needed */
    box-sizing: border-box; /* Ensures padding does not increase width */
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #2BA89A;
}

.updates-btn {
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid #2BA89A;
    color: #2BA89A;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.updates-btn:hover {
    background-color: #2BA89A;
    color: white;
}

/* Hero Section */
.hero-section {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.logo img {
    max-width: 96px; /* Adjust width as needed */
    height: auto; /* Maintain aspect ratio */
}

.terms-header {
    text-align: center;
    margin: 20px auto;
    color: #333;
    padding: 20px;
}

.terms-header h1 {
    font-size: 3rem;
    color: #2BA89A;
    font-weight: bold;
}

.terms-header h2 {
    font-size: 1.5rem;
    color: #555;
}

.terms-content {
    max-width: 800px;
    margin: 20px auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

.terms-content p,
.terms-content li {
    margin-bottom: 15px;
}

.terms-content ol {
    padding-left: 20px;
}

.logo-container {
    display: grid;           /* Use grid layout for more precise control */
    grid-template-columns: auto auto; /* Ensure two logos are side by side */
    justify-content: center; /* Center the grid horizontally */
    align-items: center;     /* Align logos vertically */
    gap: 20px;               /* Add space between logos */
    margin: 30px auto;       /* Center the container itself */
}

.logo-container img {
    max-width: 160px;       /* Set a consistent max width */
    height: auto;           /* Maintain aspect ratio */
    display: block;         /* Ensure the images are treated as block elements */
    margin: 0 auto;         /* Center each logo within its grid cell */
}

.text-content {
    flex: 1;
}

.text-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.text-content h2 {
    font-size: 1.8rem;
    font-weight: 500;
    margin: 0.5rem 0 1.5rem;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.description {
    max-width: 600px;
}

.description p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0 0 1rem;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.album {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.album:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.album-cover {
    position: relative;
    padding-bottom: 100%;
}

.album-cover img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.album-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    font-size: 1.2rem;
}

/* Modal */
.slideshow-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
}

.modal-content {
    position: relative;
    width: 80%;
    height: 80%;
    margin: 50px auto;
}

.modal-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.modal-content img.fade-out {
    opacity: 0;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 16px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.photo-albums {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 100%; /* Ensure it does not exceed the screen width */
    margin: 0 auto;
    position: relative;
    z-index: 2; /* Ensure it appears above any overlapping elements */
    opacity: 1; /* Ensure it is visible */
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 2rem auto;
    }

    .logo-container {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
    }

    .text-content h1 {
        font-size: 3rem;
    }

    .text-content h2 {
        font-size: 1.4rem;
    }

    .description p {
        font-size: 1.1rem;
    }

    .nav-btn {
        padding: 12px;
        font-size: 16px;
    }

    .main-nav {
        padding: 10px 20px;
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}
/*.terms-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    z-index: 1000;
}

.terms-banner a {
    color: #2BA89A;
    text-decoration: underline;
}

.terms-banner a:hover {
    color: #ffffff;
}
*/
