/* =====================================================
   INDEX PAGE SPECIFIC STYLES
   ===================================================== */

html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    margin-bottom: 0;
}

.navbar-brand img {
    max-width: 70px !important;
    width: auto !important;
    display: flex !important;
    align-items: center !important;
}

.navbar-brand-text-main {
    font-size: 1.25rem;
    color: #0f172a;
    letter-spacing: -0.5px;
    font-weight: 800;
    line-height: 1.2;
}

.navbar-brand-text-sub {
    font-size: 0.7rem;
    color: #d4a574;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Access Button - Circular Icon */
.access-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #d4a574;
    border-radius: 50%;
    color: #d4a574;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.access-btn:hover {
    background: #d4a574;
    color: #0f172a;
}

/* Mobile Menu */
.navbar-mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.navbar-mobile-menu .nav-link {
    color: #64748b;
    font-weight: 500;
    padding: 0.75rem 1rem;
}

.navbar-mobile-menu .access-btn-mobile {
    color: #2d5a8c;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin: 0.5rem 1rem;
    border: 1px solid #2d5a8c;
    width: calc(100% - 2rem);
    text-align: start;
    background: transparent;
}

.navbar-mobile-menu .access-btn-mobile:hover {
    background: #2d5a8c;
    color: white;
}

@media (min-width: 992px) {
    #navbarNav {
        display: none !important;
    }
}

/* Hero Section */
.hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    margin-bottom: 2rem;
}

/* News Carousel Section */
.news-carousel-section {
    width: 100%;
}

#newsCarousel {
    position: relative;
    overflow: visible;
    border: none;
}

#newsCarousel .carousel-control-prev,
#newsCarousel .carousel-control-next {
    background: none;
    border: none;
    opacity: 0.7;
    transition: opacity 0.3s;
    top: auto;
    bottom: -2.5rem;
    transform: none;
}

/* Move arrows outside the main slide area */
#newsCarousel .carousel-control-prev {
    left: 50%;
    transform: translateX(-150%);
}

#newsCarousel .carousel-control-next {
    right: 50%;
    transform: translateX(150%);
}

#newsCarousel .carousel-control-prev:hover,
#newsCarousel .carousel-control-next:hover {
    opacity: 1;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #d4a574 0%, #e8c4a0 100%);
    color: #0f172a;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 999;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #e8c4a0 0%, #d4a574 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 2rem;
    }
}
