@font-face {
    font-family: 'SimpleCreate';
    src: url('../assets/font/simple_create.otf') format('opentype');
}

body, html {
    height: 100%;
    font-family: sans-serif;
    color: white;
    /* overflow: hidden; */ /* Allow scrolling on pages that need it */
}

.main-container {
    flex: 1 0 auto; /* Allow main container to grow and shrink */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* This is fine */
    padding: 1rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/images/Background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.logo {
    max-width: 125%;
    height: auto;
    margin-bottom: 1rem;
}

h1 {
    font-family: 'SimpleCreate', sans-serif;
    font-size: 1.5rem;
    margin-top: 0;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}
.year {
    font-size: 3.0rem;
    color: #ffffff;
}


.social-links {
    margin: 2rem 0;
}

.btn {
    font-family: 'SimpleCreate', sans-serif;
    background-color: transparent;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin: 0 10px;
    transition: background-color 0.3s;
    border: 2px solid white;
}

.btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.sound-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.sneak-peek-container {
    margin-top: 2rem;
}

.sound-controls {
    position: absolute;
    top: 20px;
    right: 20px;
}

.sound-btn {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

footer {
    flex-shrink: 0; /* Prevent footer from shrinking */
    position: relative;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
}

footer a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
}

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

footer p {
    margin: 5px 0 0 0;
    font-size: 0.8rem;
}

/* Falling Leaves Animation */
#leaves-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.leaf {
    position: absolute;
    top: -50px;
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    animation: fall linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(105vh) rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .social-links {
        display: flex;
        flex-direction: column;
    }

    .btn {
        margin: 10px 0;
    }

    .logo {
        max-width: 85%;
    }

    h1 {
        font-size: 1.2rem;
    }

    .policy-content {
        font-size: 0.9rem;
    }
}

.policy-content {
    background-color: rgba(0,0,0,0.6);
    padding: 2rem;
    border-radius: 10px;
    max-width: 800px;
    text-align: left;
}

.policy-content ul {
    list-style-position: inside;
}

/* Form Styles */
.form-common,
.report-section {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Increased gap for better spacing */
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Space between label and input */
}

.styled-form label,
.styled-form legend {
    font-weight: bold;
    color: #f0f0f0;
    font-size: 0.9rem;
    text-align: left;
}

.styled-form input[type="text"],
.styled-form input[type="datetime-local"],
.styled-form input[type="email"],
.styled-form select,
.styled-form textarea {
    background-color: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    border: 1px solid #666;
    border-radius: 5px;
    padding: 12px;
    font-family: sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.styled-form input[type="text"]::placeholder,
.styled-form input[type="email"]::placeholder,
.styled-form textarea::placeholder {
    color: #aaa;
}

.styled-form input:focus,
.styled-form select:focus,
.styled-form textarea:focus {
    outline: none;
    border-color: #dcac7f;
    box-shadow: 0 0 5px rgba(220, 172, 127, 0.5);
}

.styled-form fieldset {
    border: 1px solid #666;
    border-radius: 5px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.report-section {
    display: none; /* Hidden by default, shown by JS */
    border-top: 2px solid #87563b;
    padding-top: 20px;
    margin-top: 20px;
}

#form-status {
    margin-top: 15px;
    font-weight: bold;
}

/* Sneak Peek Page Styles */
.sneak-peek-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    width: 100%;
    max-width: 900px;
    margin: 2rem 0;
}

.feature-card {
    display: flex;
    gap: 2rem;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.65);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #444;
}

.feature-card.alt {
    flex-direction: row-reverse;
}

.feature-image-placeholder {
    flex-shrink: 0;
    width: 300px;
    height: 220px;
    background-color: #2a2a2a;
    border: 2px dashed #555;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #777;
    font-family: 'SimpleCreate', sans-serif;
    font-size: 1.5rem;
}

.feature-image {
    flex-shrink: 0;
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #444;
    background-color: #2a2a2a; /* Fallback color if image is missing */
}

.feature-text h2 {
    font-family: 'SimpleCreate', sans-serif;
    color: #dcac7f;
    font-size: 2rem;
    margin-top: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.feature-text p, .feature-text li {
    font-family: sans-serif;
    line-height: 1.6;
    text-align: left;
}

@media (max-width: 768px) {
    .feature-card, .feature-card.alt {
        flex-direction: column;
    }
    .feature-image-placeholder {
        width: 100%;
    }
    .feature-image {
        width: 100%;
    }

    .main-container {
        height: auto; /* Allow container to grow on mobile */
        justify-content: flex-start;
    }
}

.main-container.scrollable-page {
    height: auto;
    min-height: calc(100vh - 10rem); /* Adjust based on padding */
    justify-content: flex-start;
    padding-top: 5rem;
}

/* FAQ Section Styles */
.faq-container {
    background-color: rgba(0, 0, 0, 0.65);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #444;
    text-align: center;
}

.unique-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
    text-align: left;
}

.feature-point h3 {
    font-family: 'SimpleCreate', sans-serif;
    color: #dcac7f;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.faq-title {
    margin-top: 3rem;
    font-family: 'SimpleCreate', sans-serif;
    font-size: 2rem;
    color: #dcac7f;
}

.faq-list {
    text-align: left;
    margin-top: 1.5rem;
}

.faq-item {
    margin-bottom: 1.5rem;
}

.faq-item h3 {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .unique-features {
        grid-template-columns: 1fr;
    }
}
