:root {
    --primary: #1a1a1a;
    --accent: #f17c0f;
    --white: #ffffff;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    color: var(--white);
    /* Static Background */
    background: url(BG.JPG) no-repeat center center fixed;
    background-size: cover;
    
}

/* Semi-transparent overlay to make text readable */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(6px);
    z-index: -1;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    position: relative;
}

/* Logo */
.logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

/* Right-aligned text container */
header > div {
    text-align: right;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

header p {
    margin: 0.5rem 0 0 0;
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.9;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
}

/* Slideshow Styles */
.slideshow-section {
    margin-bottom: 4rem;
}

.slideshow-container {
    max-width: 1200px;
    position: relative;
    margin: auto;
    border: 8px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

/* Loading Spinner */
.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
    display: none;
}

.loading-spinner.active {
    display: block;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.mySlides { 
    display: none;
}

img { 
    vertical-align: middle;
}

.fade {
    animation-name: fade;
    animation-duration: 2s;
}

@keyframes fade {
    from {opacity: .4} to {opacity: 1}
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(241, 124, 15, 0.8);
}

/* Dots/bullets/indicators */
.dots-container {
    text-align: center;
    padding: 20px 0;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.active, .dot:hover {
    background-color: var(--accent);
}

/* Downloads section */
.downloads {
    position: relative;
    margin-top: 4rem;
}

.downloads h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Download Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}

.download-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    text-decoration: none;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: 0.3s;
    border-radius: 4px;
}

.download-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.15);
}

.download-card h3 {
    margin-top: 0;
    font-size: 1.4rem;
    font-weight: 400;
}

.download-card p {
    opacity: 0.85;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.7rem 1.5rem;
    background: var(--accent);
    color: var(--primary);
    font-weight: bold;
    border-radius: 2px;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background: #d66d0c;
    transform: scale(1.05);
}

/* Dual buttons for images card */
.images-card {
    cursor: default;
}

.dual-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

footer {
    text-align: center;
    padding: 3rem 1rem;
    opacity: 0.7;
    font-size: 0.9rem;
}

footer p {
    margin: 0.5rem 0;
}

footer a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.3s;
}

footer a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    header::before {
        margin-bottom: 1rem;
    }
    
    header > div {
        text-align: center;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .downloads h2 {
        font-size: 2rem;
    }
}