/* General Styling */
body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0, 0, 0, 0.7)), url(PC-disabled-720x360-1.png);
    background-size: cover;
    background-attachment: fixed;
    color: white;
}

/* Header Logic (Same as Homepage) */
header {
    width: 95%;
    background-color: rgba(0, 0, 0, 0.85);
    border-radius: 50px;
    position: fixed;
    left: 2.5%; top: 20px;
    z-index: 1000;
    padding: 10px 20px;
    box-sizing: border-box;
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo-section { display: flex; align-items: center; gap: 10px; }
.logo-img { width: 35px; height: 35px; }
h4 { font-size: 13px; margin: 0; }
.nav-links { display: flex; align-items: center; gap: 15px; }
.nav-links h5 { color: white; margin: 0; font-size: 11px; cursor: pointer; }
.nav-links h5:hover { color: gold; }
.social-icons { display: flex; gap: 8px; margin-left: 10px; }
.social-icons img { width: 20px; height: 20px; }
.menu-toggle { display: none; cursor: pointer; }

/* Content Wrapper */
.content-wrapper {
    padding: 120px 5% 50px 5%;
    max-width: 1000px;
    margin: auto;
    text-align: center;
}

h1 { color: gold; font-size: clamp(24px, 5vw, 36px); border-bottom: 2px solid gold; display: inline-block; padding-bottom: 10px; margin-bottom: 40px; }
h2 { color: #fff; margin-top: 40px; font-size: 22px; }
p { line-height: 1.6; color: #ddd; font-size: 17px; margin: 20px 0; }
/* --- Optimized Smaller and Perfect Fit Slideshow --- */

.slideshow-container {
    position: relative;
    
    /* 1. FIXED SMALLER SIZE (This controls the visual space on desktop) */
    width: 90%;          /* Uses 90% of screen width... */
    max-width: 600px;     /* ...until it hits 600px wide (smaller max-width) */
    height: 400px;        /* FIXED HEIGHT ensures it is not "too big" */
    
    /* Center it and give it some clean margins */
    margin: 30px auto;
    overflow: hidden;
    
    /* Professional finish */
    border-radius: 12px;
    background-color: rgba(0, 0, 0, 0.9); /* Dark background shows around differently shaped images */
    border: 2px solid rgba(255, 215, 0, 0.4); /* Gold border looks clean */
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}

.slide {
    display: none;
    width: 100%;
    height: 100%; /* Important: slide fills the 400px container height */
}

.slide img {
    /* 2. FILL THE CONTAINER BOX */
    width: 100%;
    height: 100%;
    
    /* 3. CRITICAL CHANGE FOR PERFECT FIT WITHOUT CROPPING */
    object-fit: contain; /* The entire image MUST fit inside, scaled to the box. */
    
    display: block;
}

.slide.active {
    display: block;
}

/* Ensure buttons are clean and visible on the smaller container */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 12px;
    cursor: pointer;
    border-radius: 50%;
    font-weight: bold;
    font-size: 16px;
    transition: 0.3s;
    user-select: none;
    z-index: 10; /* Keep buttons above images */
}
.prev:hover, .next:hover { background: gold; color: black; }
.prev { left: 10px; }
.next { right: 10px; }


/* --- MOBILE ADAPTATIONS FOR SLIDESHOW --- */
@media (max-width: 600px) {
    .slideshow-container {
        /* On very small phones, shrink the fixed height slightly */
        height: 250px; 
    }
    
    .prev, .next {
        padding: 10px;
        font-size: 14px;
    }
}

/* Mobile Adaptations */
@media (max-width: 768px) {
    .menu-toggle { display: block; color: white; font-size: 22px; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 65px; left: 0; width: 100%;
        background: rgba(0,0,0,0.95);
        padding: 20px 0;
        border-radius: 15px;
    }
    .nav-links.active { display: flex; }
    .content-wrapper { padding-top: 100px; }
}