/* Basic reset for consistent styling */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    /* Background image as requested */
    background-image: url('images/bg2.jpg');
    background-size: cover; /* Cover the entire viewport */
    background-position: center center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-attachment: fixed; /* Keep background fixed when scrolling */

    /* 90s-style font, bold white text with a subtle shadow */
    /* Updated font stack for better mobile compatibility */
    font-family: 'Comic Sans MS', 'Comic Sans', 'Courier', sans-serif;
    color: white; /* Bold white text as requested */
    font-weight: bold; /* Make the text bold */
    text-shadow: 1px 1px 2px black; /* Subtle black shadow for contrast/halo effect */
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align content to the top */
    padding: 20px;
    box-sizing: border-box; /* Include padding in element's total width and height */
    min-height: 100vh; /* Ensure body takes at least full viewport height */
}

/* Container for the main content to center it and provide a slight background */
.container {
    width: 90%;
    max-width: 800px; /* Limit max width for readability */
    background-color: rgba(0, 0, 0, 0.7); /* Slightly transparent black background */
    padding: 25px 35px; /* More padding for a spaced-out look */
    border: 3px dashed #FF00FF; /* Bright, playful border */
    border-radius: 15px; /* Slightly rounded corners */
    text-align: center;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5); /* White glow effect */
    margin: 40px auto; /* Center the container with margin */
}

/* Styling for the main title */
.main-title {
    color: #00FFFF; /* Cyan for a classic 90s highlight */
    font-size: 2.5em; /* Large, prominent title */
    margin-bottom: 25px;
    text-transform: uppercase; /* Make it uppercase for emphasis */
    /* Updated: Using 'em' units for text-shadow for better responsiveness on mobile */
    text-shadow: 0.05em 0.05em 0px #FF00FF, -0.05em -0.05em 0px #FFD700; /* Neon-like shadow scales with font size */
}

/* Navigation menu styling */
.nav-menu {
    margin-bottom: 30px;
    background-color: rgba(128, 0, 128, 0.6); /* Purple background for navigation */
    padding: 10px 0;
    border: 2px solid #FF00FF;
    border-radius: 10px;
}

.nav-menu a {
    color: #FFFF00; /* Yellow links */
    text-decoration: underline; /* Classic underline */
    font-size: 1.2em;
    padding: 0 10px;
    transition: color 0.3s ease; /* Smooth transition for hover effect */
    text-shadow: 1px 1px 2px black; /* Shadow for links too */
}

.nav-menu a:hover {
    color: #FF00FF; /* Pink on hover */
    text-decoration: none; /* Remove underline on hover */
}

.nav-menu a:visited {
    color: #ADFF2F; /* Green-yellow for visited links, classic 90s */
}

/* General paragraph styling */
p {
    line-height: 1.6;
    margin-bottom: 1em;
    font-size: 1.1em;
}

/* Specific styling for the welcome message */
.welcome-message {
    font-style: italic;
    color: #FFF; /* White text */
    margin-bottom: 30px;
    font-size: 1.3em;
}

/* New: Styling for the image gallery container */
.image-gallery {
    margin: 30px auto;
    border: 3px groove #00FFFF; /* Groovy border for the gallery */
    box-shadow: 0 0 10px #00FFFF; /* Cyan glow */
    display: inline-block; /* To make the border wrap around the image */
    border-radius: 8px; /* Slightly rounded corners */
    overflow: hidden; /* Ensure image doesn't spill out */
}

/* Styling for the rotating image itself */
.gallery-image {
    max-width: 100%; /* Ensure image is responsive */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove extra space below image */
    border-radius: 5px; /* Slight inner rounding */
}


/* Small text, like for the under construction message */
.small-text {
    font-size: 0.9em;
    color: #AAA;
}

/* Footer note styling */
.footer-note {
    margin-top: 40px;
    padding-top: 15px;
    border-top: 1px dashed #FF00FF; /* Dashed line separator */
    font-size: 0.9em;
    color: #CCC;
}

.footer-note a {
    color: #00FFFF; /* Cyan links in the footer */
    text-decoration: underline;
}

.footer-note a:hover {
    color: #FF00FF;
    text-decoration: none;
}

.visitor-count {
    color: #FFD700; /* Gold color for the visitor count */
    font-size: 1.1em;
}

/* Styles for specific section titles within pages */
.section-title {
    color: #FFD700; /* Gold for section titles */
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0px #800080; /* Purple shadow */
}

/* Link list styling for sub-pages */
.link-list {
    list-style-type: '⚡ '; /* Use a lightning bolt emoji for list items */
    padding-left: 20px;
    text-align: left;
    margin: 0 auto;
    width: fit-content;
}

.link-list li {
    margin-bottom: 10px;
}

.link-list a {
    color: #ADFF2F; /* Green-yellow for list links */
    text-decoration: underline;
    font-size: 1.1em;
}

.link-list a:hover {
    color: #FF00FF;
    text-decoration: none;
}

.link-list a:visited {
    color: #87CEEB; /* Sky blue for visited list links */
}

/* Specific contact page styling for the email link */
.contact-email a {
    color: #FFD700; /* Gold for email link */
    text-decoration: underline;
}

.contact-email a:hover {
    color: #00FFFF; /* Cyan on hover */
}

/* Style for external link with warning */
.external-link-warning {
    color: #FFA07A; /* Light salmon for warnings */
    font-style: italic;
    font-size: 0.9em;
    margin-top: 15px;
}
