/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('images/deep_cosmos_background.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #e0e0e0;
    line-height: 1.6;
    backdrop-filter: brightness(0.9) blur(1px);
}

/* Overlay to enhance readability */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.8);
    z-index: -1;
}

/* Header Styling */
header {
    background-color: rgba(15, 15, 15, 0.95);
    color: #00c3ff;
    padding: 2rem 1rem;
    text-align: center;
    border-bottom: 3px solid #00c3ff;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.2rem;
    color: #cccccc;
}

/* Main Content */
main {
    padding: 2rem;
    max-width: 1100px;
    margin: auto;
}

h2 {
    color: #00c3ff;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

ul li {
    margin-bottom: 0.5rem;
}

/* Sections */
section {
    margin-bottom: 3rem;
    padding: 1.5rem;
    background-color: rgba(30, 30, 30, 0.85);
    border-left: 5px solid #00c3ff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 195, 255, 0.2);
}

/* Image Grid */
.image-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.image-grid img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #555;
    box-shadow: 0 2px 10px rgba(0, 195, 255, 0.3);
    transition: transform 0.3s ease;
}

.image-grid img:hover {
    transform: scale(1.05);
}

.slideshow-container {
    position: relative;
    max-width: 600px;
    margin: 1rem auto;
}

.slideshow {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 195, 255, 0.2);
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 10px;
    margin-top: -22px;
    color: #00c3ff;
    font-weight: bold;
    font-size: 28px;
    transition: 0.3s;
    user-select: none;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
}

.prev:hover, .next:hover {
    background: rgba(0, 195, 255, 0.4);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Footer */
footer {
    background-color: rgba(20, 20, 20, 0.95);
    color: #aaaaaa;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    border-top: 1px solid #333;
}
