/* Bootstrap Custom Integration CSS */

/* Ensure Bootstrap doesn't conflict with existing styles */
.container {
    max-width: 1200px;
}

/* Hero Background Slider */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(45, 45, 45, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Slider Navigation Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #d4af37;
    transform: scale(1.2);
}

/* Mobile slider adjustments */
@media (max-width: 768px) {
    .slider-dots {
        bottom: 20px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
}

/* Dark Hero Section Fixes */
@media (max-width: 768px) {
    section[style*="background: linear-gradient(135deg, #1a1a1a"] {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
        color: white !important;
    }
    
    section[style*="background: linear-gradient(135deg, #1a1a1a"] h1,
    section[style*="background: linear-gradient(135deg, #1a1a1a"] h2,
    section[style*="background: linear-gradient(135deg, #1a1a1a"] h3 {
        color: white !important;
    }
    
    section[style*="background: linear-gradient(135deg, #1a1a1a"] p {
        color: #cccccc !important;
    }
}

/* Mobile spacing for Bootstrap navbar */
@media (max-width: 991px) {
    body {
        padding-top: 70px;
    }
}

/* Ensure proper Bootstrap integration */
.container-fluid {
    max-width: 1200px;
    margin: 0 auto;
}

/* Fix for any conflicting styles */
.navbar {
    z-index: 1030;
}

/* Ensure buttons work properly */
.btn {
    text-decoration: none;
    display: inline-block;
}

/* Custom Bootstrap button colors */
.btn-warning {
    background: linear-gradient(45deg, #d4af37, #f4e4bc) !important;
    border-color: #d4af37 !important;
    color: #1a1a1a !important;
}

.btn-outline-warning {
    border-color: #d4af37 !important;
    color: #d4af37 !important;
}

.btn-outline-warning:hover {
    background-color: #d4af37 !important;
    border-color: #d4af37 !important;
    color: #1a1a1a !important;
}

/* Text colors */
.text-warning {
    color: #d4af37 !important;
}

.bg-warning {
    background-color: #d4af37 !important;
}

/* Form improvements */
.form-control:focus {
    border-color: #d4af37 !important;
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25) !important;
}

/* Input group improvements */
.input-group .form-control {
    border-right: none;
}

.input-group .btn {
    border-left: none;
}

/* Responsive text adjustments */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem !important;
    }
    
    .display-5 {
        font-size: 2rem !important;
    }
    
    .lead {
        font-size: 1rem !important;
    }
}

/* Ensure proper spacing */
.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

@media (max-width: 768px) {
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/* Fix for any existing theme conflicts */
#wrapper {
    overflow-x: hidden;
}

/* Ensure proper mobile menu behavior */
.navbar-collapse {
    background-color: rgba(33, 37, 41, 0.95);
    border-radius: 0.375rem;
    margin-top: 0.5rem;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 0.75rem 1rem !important;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Ensure proper button spacing in mobile menu */
.navbar-nav .btn {
    margin: 0.5rem 1rem;
}



/* Ensure all images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for any table layouts */
@media (max-width: 768px) {
    table {
        width: 100% !important;
        font-size: 12px;
    }
}

/* Ensure proper form layout */
@media (max-width: 768px) {
    form {
        width: 100% !important;
    }
}

/* Fix for any inline styles that might conflict */
@media (max-width: 768px) {
    [style*="width:"] {
        width: 100% !important;
        max-width: 100% !important;
    }
} 

/* Prevent hidden overlays from blocking clicks */
#side_menu_wrapper {
    pointer-events: none;
}
#side_menu_wrapper.open {
    pointer-events: auto;
}