html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0D1F3C;
    color: #E6E6E6;
}

h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #E6E6E6;
}

/* Navigation */
.navbar {
    background-color: #0A1530;
    padding: 18px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 1px;
}

.logo-link {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo-link:hover {
    color: #3EC1E6;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 45px;
}

.nav-link {
    color: #E6E6E6;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
}

.nav-link:hover {
    color: #3EC1E6;
    border-bottom-color: #3EC1E6;
}

/* Buttons */
.cta-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3EC1E6;
    color: #0A1A2F;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.2s ease;
    font-size: 0.9rem;
    margin-top: 16px;
}

.cta-btn:hover {
    background-color: #5FD4F3;
}

/* Lightbox modal */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 60px rgba(62, 193, 230, 0.4);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background-color: rgba(62, 193, 230, 0.7);
    color: #fff;
    border: none;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background-color: rgba(62, 193, 230, 1);
}

#lightbox-img {
    user-select: none;
    -webkit-user-drag: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Mobile responsiveness (global) */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
        padding: 0 5%;
    }

    .logo {
        font-size: 1.4rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 95vh;
    }

    .lightbox-content img {
        max-height: 80vh;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        gap: 10px;
    }
}

/* Footer */
.site-footer {
    background-color: #071226;
    border-top: 1px solid rgba(255,255,255,0.04);
    color: #BFCFD8;
    padding: 28px 0;
}
.site-footer .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    text-align: center;
    font-size: 0.95rem;
}
.site-footer a { color: #8FD7F0; }

@media (min-width: 769px) {
    .site-footer .footer-inner { flex-direction: row; justify-content: space-between; }
}

/* Prevent Edge Visual Search overlay on large images.
   Tradeoff: disables pointer events on images with this class (no clicks on the img itself).
   We add this class automatically via Script.js for images >= 180px. */
.disable-visual-search { pointer-events: none; }

/* Lightbox navigation buttons */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(10,20,35,0.6);
    color: #fff;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.lightbox-nav:hover { background: rgba(10,20,35,0.85); }
.lightbox-nav.prev { left: 16px; }
.lightbox-nav.next { right: 16px; }

