/* Your custom CSS here */
/* ===============================
   NAVBAR SEARCH – BASE
================================ */
.navbar-search-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===============================
   FORM CONTAINER
================================ */
.navbar-search-form {
    display: flex;
    align-items: center;
    position: relative;
    background: #ffffff;
    border-radius: 999px;
    padding: 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

/* Hover elevation */
.navbar-search-form:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

/* ===============================
   SEARCH ICON
================================ */
.navbar-search-form .search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    padding: 0 10px;
}

/* ===============================
   INPUT FIELD
================================ */
.navbar-search-input {
    border: none;
    outline: none;
    width: 260px;
    font-size: 14px;
    padding: 8px 6px;
    color: #212529;
    background: transparent;
}

.navbar-search-input::placeholder {
    color: #adb5bd;
}

/* Focus effect */
.navbar-search-input:focus {
    color: #000;
}

/* ===============================
   SEARCH BUTTON
================================ */
.navbar-search-btn {
    border: none;
    outline: none;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    background: linear-gradient(135deg, #0d6efd, #084298);
    color: #fff;
    cursor: pointer;
    transition: all 0.25s ease;
}

/* Button hover */
.navbar-search-btn:hover {
    background: linear-gradient(135deg, #0b5ed7, #052c65);
    transform: scale(1.03);
}

/* Button active */
.navbar-search-btn:active {
    transform: scale(0.97);
}

/* ===============================
   DARK MODE SUPPORT
================================ */
[data-bs-theme="dark"] .navbar-search-form {
    background: #1f2933;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

[data-bs-theme="dark"] .navbar-search-input {
    color: #e9ecef;
}

[data-bs-theme="dark"] .navbar-search-input::placeholder {
    color: #868e96;
}

[data-bs-theme="dark"] .search-icon {
    color: #adb5bd;
}

/* ===============================
   RESPONSIVE (TABLET)
================================ */
@media (max-width: 1200px) {
    .navbar-search-input {
        width: 220px;
    }
}

/* ===============================
   RESPONSIVE (MOBILE)
================================ */
@media (max-width: 768px) {
    .navbar-search-wrapper {
        width: 100%;
        padding: 8px 0;
    }

    .navbar-search-form {
        width: 100%;
    }

    .navbar-search-input {
        width: 100%;
    }

    .navbar-search-btn {
        padding: 8px 14px;
        font-size: 12px;
    }
}
/* ===============================
   NAVBAR SEARCH – BASE
================================ */
.navbar-search-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===============================
   FORM CONTAINER
================================ */
.navbar-search-form {
    display: flex;
    align-items: center;
    position: relative;
    background: #ffffff;
    border-radius: 999px;
    padding: 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

/* Hover elevation */
.navbar-search-form:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

/* ===============================
   SEARCH ICON
================================ */
.navbar-search-form .search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    padding: 0 10px;
}

/* ===============================
   INPUT FIELD
================================ */
.navbar-search-input {
    border: none;
    outline: none;
    width: 260px;
    font-size: 14px;
    padding: 8px 6px;
    color: #212529;
    background: transparent;
}

.navbar-search-input::placeholder {
    color: #adb5bd;
}

/* Focus effect */
.navbar-search-input:focus {
    color: #000;
}

/* ===============================
   SEARCH BUTTON
================================ */
.navbar-search-btn {
    border: none;
    outline: none;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    background: #0d9488;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.25s ease;
}


/* Button hover */
.navbar-search-btn:hover {
    background: #0f766e;
    transform: translateY(-1px);
}

.navbar-search-input:focus {
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.25);
    border-radius: 999px;
}


/* Button active */
.navbar-search-btn:active {
    transform: scale(0.97);
}

/* ===============================
   DARK MODE SUPPORT
================================ */
[data-bs-theme="dark"] .navbar-search-form {
    background: #1f2933;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

[data-bs-theme="dark"] .navbar-search-input {
    color: #e9ecef;
}

[data-bs-theme="dark"] .navbar-search-input::placeholder {
    color: #868e96;
}

[data-bs-theme="dark"] .search-icon {
    color: #adb5bd;
}

/* ===============================
   RESPONSIVE (TABLET)
================================ */
@media (max-width: 1200px) {
    .navbar-search-input {
        width: 220px;
    }
}

/* ===============================
   RESPONSIVE (MOBILE)
================================ */
@media (max-width: 768px) {
    .navbar-search-wrapper {
        width: 100%;
        padding: 8px 0;
    }

    .navbar-search-form {
        width: 100%;
    }

    .navbar-search-input {
        width: 100%;
    }

    .navbar-search-btn {
        padding: 8px 14px;
        font-size: 12px;
    }
}

/* ===============================
   HOME CAROUSEL (NO CROP)
================================ */

/* Use aspect-ratio instead of height */
.carousel-inner {
    width: 100%;
    margin-bottom: -200px;
    aspect-ratio: 16 / 6;      /* desktop default */
    background: transparent;          /* letterbox background */
}


/* NEVER crop images */
.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: contain;       /* 🔥 key rule */
    object-position: center;
    display: block;
}

.carousel-indicators{
    display: none;
}

/* ===============================
   TABLET
================================ */
@media (max-width: 992px) {
    .carousel-inner {
        aspect-ratio: 16 / 8;
    }
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 576px) {
    .carousel-inner {
        aspect-ratio: 4 / 3;
    }

    /* Optional UX cleanup */
    .carousel-control-prev,
    .carousel-control-next,
    .carousel-indicators {
        display: none !important;
    }
}
