/* ============================================================
   ARTISH GURU — HEADER + NAV + MENU + ARROWS
   ============================================================ */

/* ============================================================
   HEADER (MODERN, CLEAN, NON-CONFLICTING)
   ============================================================ */

#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 54px;
    background: rgb(248,249,250);
    box-shadow: 0 0 5px #0003;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 15px;
}

.header-left {
    flex: 1;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ============================================================
   TOP NAV (Always visible)
   ============================================================ */
#nav-dots {
    position: absolute;
    right: 0;
    top: 54px;
    display: none;
    width: 200px;
    background: rgb(248,249,250);
    box-shadow: 0 0 5px #0003;
    text-align: right;
    padding: 10px 0;
    flex-direction: column; /* ⭐ forces vertical stacking */
}

#nav-dots-top {
    display: flex;
    gap: 20px;
}

#nav-dots-top span {
    font-size: 16px;
    padding: 0 8px;
    cursor: pointer;
    opacity: 0.6;
}

#nav-dots-top span.current {
    opacity: 1;
    font-weight: 700;
}

/* ============================================================
   HAMBURGER BUTTON
   ============================================================ */

.menu_toggle {
    background: none;
    border: none;
    padding: 0;
    font-size: 24px;
    cursor: pointer;
    color: #444;
}

/* ============================================================
   DROPDOWN NAV (Mobile Menu)
   ============================================================ */

.dropdown-nav {
    position: absolute;
    top: 54px;
    right: 0;
    width: 200px;

    background: rgb(248,249,250);
    box-shadow: 0 0 5px #0003;

    display: none;
    text-align: right;
    padding: 10px 0;
}

.dropdown-nav span {
    display: block;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    opacity: 0.8;
}

.dropdown-nav span.nav-dot-current {
    opacity: 1;
    font-weight: 700;
}
.swiper-slide.bg-4 {
    overflow: visible !important;
    touch-action: auto !important;
}

/* ============================================================
   CUSTOM ARROWS — FINAL ALIGNED VERSION
   ============================================================ */

.swiper-button-next,
.swiper-button-prev {
    display: none !important;
}

.swiper-pagination {
    display: none !important;
}

#nav-arrows {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    z-index: 9999;
}

#nav-arrows span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 90px;
    height: 110px;

    background-color: rgba(255, 255, 255, 0.18);
    background-image: url("../images/nav-arrow-exact-transparent.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 65%;

    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;

    filter: drop-shadow(0 6px 10px rgba(0,0,0,0.85));

    cursor: pointer;
    transition: all 0.2s ease;
}

#nav-arrows .nav-arrow-prev {
    left: 24px;
    transform: translateY(-50%) scaleX(-1);
}

#nav-arrows .nav-arrow-next {
    right: 24px;
}

#nav-arrows .nav-arrow-prev:hover {
    background-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-50%) scaleX(-1) scale(1.08);
}

#nav-arrows .nav-arrow-next:hover {
    background-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-50%) scale(1.08);
}

/* ============================================================
   NAV DOTS (Bottom)
   ============================================================ */

.nav-dots {
    display: flex;
    gap: 20px;
    font-size: 14px;
    cursor: pointer;
}
#nav-dots span {
    display: block;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    opacity: 0.8;
}
#nav-dots {
    background: transparent !important;
    box-shadow: none !important;
}
#nav-dots span {
    color: orange !important;
}

.nav-dots span {
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.nav-dots span.nav-dot-current {
    opacity: 1;
    font-weight: bold;
}
.menu_toggle {
    background: none;
    color: #444;
    font-size: 24px;
    border-radius: 5px;
    border: 1px solid rgb(0 0 0 / 20%);
    padding: 2px 12px;
    margin-left: 10px;
    cursor: pointer;
}

/* Desktop */
#nav-dots-top {
    display: flex; /* horizontal menu visible */
}

.menu_toggle {
    display: none; /* hide hamburger */
}

#nav-dots {
    display: none; /* hide dropdown */
}
/* Mobile + Tablet */
@media (max-width: 1200px) {
    #nav-dots-top {
        display: none;
    }

    .menu_toggle {
        display: block;
    }

    #nav-dots {
        display: none;
        position: absolute;
        top: 54px;
        right: 15px;
        background: #fff;
        padding: 10px;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        z-index: 999;
    }

    #nav-dots.show {
        display: block;
    }
}
/* ============================================================
   HOME SLIDE — IMAGE BUCKET SYSTEM
   These rules ensure ONLY the chosen bucket image is visible.
   All images start hidden (opacity: 0), and the JS adds .active
   to the correct one based on screen width.
============================================================ */
.bg-1 img {
    /* Position each bucket image on top of each other */
    position: absolute;
    top: 0;
    left: 0;

    /* Make each image fill the entire slide */
    width: 100%;
    height: 100%;
    object-fit: cover;

    /* Hide all images by default */
    opacity: 0;

    /* Smooth fade-in when switching buckets */
    transition: opacity 0.4s ease;
}

/* ============================================================
   ACTIVE BUCKET IMAGE
   The JS applies .active to the correct image.
   This one becomes visible (opacity: 1).
============================================================ */
.bg-1 img.active {
    opacity: 1;
}
.bg-1 {
    position: relative;
    width: 100%;
    aspect-ratio: 2.922; /* your real slide ratio */
    overflow: hidden;
}
/* Desktop buckets: no cropping */
.bg-1 img.web {
    object-fit: contain;
    background-color: #000; /* optional, prevents gaps */
}
/* Mobile & tablet buckets: fill the screen */
.bg-1 img.mob,
.bg-1 img.mob_740,
.bg-1 img.mob_640,
.bg-1 img.mob_480,
.bg-1 img.mob_360,
.bg-1 img.mob_320,
.bg-1 img.tab {
    object-fit: cover;
}
