/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #F7DC6F, #FFFFFF);
    color: #333;
}

header {
    background: linear-gradient(to right, #FF6B6B, #4ECDC4);
    padding: 20px;
    text-align: center;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

h1 {
    margin: 0;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

nav {
    margin-top: 15px;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 10px;
    background: linear-gradient(to right, #98D8C8, #B19CD9);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, background 0.3s;
    display: inline-block;
}

nav a:hover {
    transform: translateY(-2px);
    background: linear-gradient(to right, #FF69B4, #45B7D1);
}

main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    color: #FFA07A;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

h3 {
    color: #FF6B6B;
    margin-top: 30px;
}

p {
    color: #333;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 5px;
}

section {
    margin-bottom: 40px;
    padding: 20px;
    background: linear-gradient(to right, #FFFFFF, #F0F0F0);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Image Styles */
img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#image-container {
    position: relative;
    min-height: 400px; /* Adjust based on largest image height */
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

#image-container img {
    width: 580px; /* Increased for larger images */
    height: 400px; /* Fixed height for stability */
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    position: absolute;
    top: 0;
}

#image-container img:nth-child(odd) {
    left: 0; /* Left image */
}

#image-container img:nth-child(even) {
    right: 0; /* Right image */
}

#image-container img.active {
    opacity: 1;
}

#image-container img.fade-out {
    opacity: 0;
}

/* Footer Styles */
footer {
    background: linear-gradient(to right, #45B7D1, #FFA07A);
    color: white;
    text-align: center;
    padding: 15px;
    position: fixed;
    bottom: 0;
    width: 100%;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.3);
}