/*
====================================================
 DARK BLUE LUXURY – CLEAN FINAL CSS
====================================================
Primary Dark: #0A1F44
Royal Blue:  #102A5E
Accent Gold: #C9A24D
Light Text:  #EAF0FF
====================================================
*/

/* ---------------- GLOBAL ---------------- */
body {
    margin: 0;
    font-family: "Times New Roman", Times, serif;
    line-height: 1.7;
    background: #0A1F44 url("bg.jpg") repeat-y center top;
    color: #1c1c1c;
}

/* ---------------- HEADER ---------------- */
.header {
    position: relative;
    background: url("hbg.jpg") center / cover no-repeat;
    color: #ffffff;
    padding: 25px 0;
    text-align: center;
}

.header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 31, 68, 0.88);
}

.header * {
    position: relative;
    z-index: 1;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-logo-img {
    max-height: 140px;
    width: auto;
}

/* ---------------- NAVIGATION ---------------- */
.main-nav {
    margin-top: 15px;
}

.main-nav a {
    display: inline-block;
    margin: 0 8px;
    padding: 10px 22px;
    text-decoration: none;
    font-weight: 600;
    color: #C9A24D;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    border: 1px solid rgba(201, 162, 77, 0.4);
    transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: #C9A24D;
    color: #0A1F44;
}

/* ---------------- MOBILE MENU BUTTON ---------------- */
.menu-toggle {
    display: none;
    margin-top: 15px;
    background: none;
    border: 2px solid #C9A24D;
    color: #C9A24D;
    font-size: 26px;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
}

/* ---------------- LAYOUT ---------------- */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding: 40px 0;
}

.section {
    background: #ffffff;
    padding: 45px;
    margin-bottom: 35px;
    border-radius: 14px;
    border-top: 6px solid #C9A24D;
    box-shadow: 0 20px 45px rgba(10, 31, 68, 0.25);
}

/* ---------------- TYPOGRAPHY ---------------- */
h2 {
    color: #0A1F44;
    border-bottom: 2px solid #C9A24D;
    padding-bottom: 14px;
    margin-top: 0;
}

h3 {
    color: #102A5E;
}

/* ---------------- BUTTONS ---------------- */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #102A5E, #0A1F44);
    color: #C9A24D;
    padding: 14px 34px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #C9A24D;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #C9A24D;
    color: #0A1F44;
}

/* ---------------- SLIDESHOW ---------------- */
.slideshow-container {
    max-width: 1500px;
    margin: 0 auto 30px;
    position: relative;
    overflow: hidden;
}

.mySlides {
    display: none;
    min-height: 550px;
    background-size: cover;
    background-position: center;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    padding: 12px;
    font-size: 22px;
    color: #ffffff;
    cursor: pointer;
    user-select: none;
    transform: translateY(-50%);
}

.next {
    right: 0;
}

/* Dots */
.dot {
    height: 12px;
    width: 12px;
    margin: 0 3px;
    background: #ddd;
    border-radius: 50%;
    display: inline-block;
}

.dot:hover,
.dot.active {
    background: #666;
}

/* Fade animation */
.fade {
    animation: fade 1.2s;
}

@keyframes fade {
    from { opacity: 0.4; }
    to   { opacity: 1; }
}

/* ---------------- TEAM ---------------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
}

.member {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid #C9A24D;
    object-fit: cover;
}

/* ---------------- FOOTER ---------------- */
.footer {
    position: relative;
    background: url("images/footer-bg.jpg") center / cover no-repeat;
    color: #EAF0FF;
    text-align: center;
    padding: 30px 0;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 31, 68, 0.9);
}

.footer * {
    position: relative;
    z-index: 1;
}

/* ---------------- MOBILE ---------------- */
@media (max-width: 800px) {

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        width: 100%;
        text-align: center;
        margin-top: 15px;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav a {
        display: block;
        width: 90%;
        margin: 8px auto;
    }
}
