/*--- General Styles --- */

body {
    background-color: #ffffff;
    font-family: "Saira", sans-serif;
    padding: 20px;
    position: relative;
    min-height: 100vh;    display: flex;
    flex-direction: column;
}

.top-left-container {
    position: absolute;
    top: 20px;
    left: 20px;
}

.logo {
    max-width: 500px; 
    width:100%;
    height: auto; 
}

/* --- Header: Centered & Spaced --- */
header {
    text-align: center;
    margin-top: 150px; /* Space to clear logo */
    margin-bottom: 50px;
}

h1 {
    font-family: "Shojumaru", system-ui;
    color: green;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

h2, h3, h4, h5 {
    font-family: "Shojumaru", system-ui;
    color: #333;
    font-weight: 400;
    font-size: 1.1rem;
    margin-bottom: 80px;
}

/* Paragraph Style: Same font as H2 with side margins */
.description p {
    font-family: "Shojumaru", system-ui; /* Same font as h2 */
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 100px;
    /* Margins on either side */
    margin-left: 15%; 
    margin-right: 15%;
    text-align: center; 
}
/* --- all Images: Horizontal & Fitted --- */
.image-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 100px; /*space to clear paragraph*/
}

.image-gallery img {
    width: 300px; /* Increase width to fit better */
    height: 100px; /* Reduced height */
    object-fit: contain;
    border: 3px solid transparent; 
    cursor: pointer;
    transition: all 0.25s ease;
}

/*show border on hover*/ .image-gallery img:hover {
    border-color: greenyellow;
    box-shadow: 0 0 10px rgba(0, 128, 0, 0.6);
}
/* Show border when the image/link is Selected (Active) */
.image-gallery img.active, .image-gallery a.active img {
    border-color: greenyellow;
    box-shadow: 0 0 10px rgba(0, 128, 0, 0.6);
}

/* --- Featured Images (dark Side Specific) --- */
.visual-gallery {
    display: flex;
    justify-content: center;    gap: 20px;
    margin: 40px 0;
}

.featured-img {
    width: 280px;
    height: auto;
    border: 3px solid green;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    
}
.large-display-img {
   width: auto; /* increase size to wider*/
    height: auto;
    border: 3px solid green;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/*----Action Links---*/

.action-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.action-links a {
    text-decoration: none;    
    color: #000;
    font-family: "Saira", sans-serif;
    font-weight: bold;
    padding: 12px 30px;
    border: 2px solid transparent; /*Added to prevent shifting*/
    transition: all 0.3s ease;
    min-width: 140px;
    text-align: center;
}

/* Highlight only when hovered or class 'active' is added to the tag */
.action-links a:hover, 
.action-links a.active {
    background-color: green;
    color: #ffffff;
    border-bottom: 2px solid greenyellow;
}
/* --- Dark Side Page Specifics --- */
.darkside-body {
    background: url('Images/Invaderimage1.1.jpg') no-repeat center center fixed;
    background-size: cover;
}

/* --- Spacing for Paragraphs --- */
.description {
    margin-top: 80px;
    margin-bottom: 100px; 
}

.description p {
    font-family: "Shojumaru", system-ui;
    margin: 0 15% 30px 15%;
    line-height: 1.8;
    text-align: center;
}

/* --- New Image Styling & Gap --- */
.extra-visual {
    display: flex;
    justify-content: center;
    margin-bottom: 250px; 
}

/* --- Dark Side Specific Footer: Left Aligned & Lower --- */
footer {
    font-family: "Shojumaru", system-ui;
    color: #333;
    font-weight: 400;
    text-align: left;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    margin-top: 50px; /* Pushes footer to the bottom of the viewport */
    padding-bottom: 20px;
}

.featured-img {
    width: 280px; /* Sized nicely */
    height: auto;
    border: 3px solid green;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
/* --- Description text (Shojumaru font + margins) --- */
.description p {
    font-family: "Shojumaru", system-ui;
    margin: 20px 15%; /* Margins on either side */
    line-height: 1.6;
    text-align: center;
}

/* --- Text-based Footer --- */
.site-footer {
    text-align: left; /* Aligned left as requested before */
    border-top: 1px solid #ddd;
    padding: 20px;
    margin-top: 100px;
    background-color: rgba(255, 255, 255, 0.8); /* Slight white fade to make text readable */
}

.footer-nav {
    font-family: "Shojumaru", system-ui;
    font-size: 0.8rem;
    margin-top: 400px;
}

.footer-nav a {
    color: green;
    text-decoration: none;
}

.footer-nav a:hover {
    text-decoration: underline;
}
/* --- Dark Side Specific Footer --- */
.darkside-footer {
    text-align: left; /* Left aligned as requested */
    padding: 30px 40px;
    border-top: 1px solid #444;    margin-top: 60px;
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white to see background */
    width: 100%;
}

/* Text Navigation in Footer */
.footer-text-nav {
    font-family: "Shojumaru", system-ui; /* Same font as requested */
    font-size: 0.85rem;
    color: #333;
    margin-bottom: 10px;
}

.footer-text-nav a {
    text-decoration: none;
    color: green; /* Green links */
    padding: 0 5px;
    transition: color 0.3s ease;
}

.footer-text-nav a:hover {
    color: darkgreen;
    text-decoration: underline;
}

/* Highlight for the active link in the footer */
.footer-text-nav a.footer-active {
    font-weight: bold;
    color: #000;
    border-bottom: 2px solid green;
}

.footer-copyright {
    font-family: "Saira", sans-serif;
    font-size: 0.75rem;
    color: #777;
    margin-top: 5px;
}

body.darkside-body {
    display: flex;
    flex-direction: column;    min-height: 100vh;
}

/* ===== Extras Page ONLY ===== */

body.extras-page .extra-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 60px 0 20px;
}

body.extras-page .extra-heading img {
    width: 90px;
    height: 55px;

    border-radius: 12px;
    border: 2px solid rgba(0, 128, 0, 0.6);

    opacity: 0.85;
    transform: rotate(-6deg);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

body.extras-page .extra-heading h2,
body.extras-page .extra-heading h3,
body.extras-page .extra-heading h4,
body.extras-page .extra-heading h5 {
    text-align: center;
    margin: 0;
}
.extra-heading img:hover {
    opacity: 1;
    transform: rotate(-3deg) scale(1.05);
}

/* --- Contact Page Layout --- */
.contact {
    font-family: "Saira", sans-serif;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding-top: 120px; /* space for logo */
}

/* Logo top left */
.top-left-container {
    position: absolute;
    top: 20px;
    left: 20px;
}

.logo {
    max-width: 300px; /* decrease logo */
    width: 100%;
    height: auto;
}

/* Email above form */
.contact-email {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.contact-email img {
    width: 50px;
    height: 50px;
}

/* Contact Us title */
.contact-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 25px;
    font-family: "Saira", sans-serif;
}

/* A container to center the form and give it a max-width */
.simple-form-container {
    max-width: 500px; 
    margin: 30px auto;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: "Saira", sans-serif;
}
/* Each form field group (label + input) */
.form-group {
    margin-bottom: 15px;
}
/* Label styling */
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}
/* Input and Textarea styling */
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box; /* Important to include padding within the width */
}
.form-group textarea {
    height: 120px;
    resize: vertical; /* Allow vertical resizing */
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}
/* Center and control the form */
.contact-form {
    max-width: 100%;
    width: 450px;   
    margin: 0 auto;     /* centers form on page */
    text-align: center; /* fallback centering */
}

/* Center and size the image button */
.submit-button {
    display: block;
    margin: 0 auto;
    width: 180px;       /* adjust until it feels right */
    max-width: 100%;    /* responsive */
    height: auto;       /* keeps image ratio */
}
/* Submit button styling */

.submit-btn:hover {
    background-color: #0056b3;
}
.submit-button {
    display: block;
    margin: 0 auto;
    width: 180px;
    max-width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.submit-button:hover {
    transform: scale(1.05);
    opacity: 0.9;
}