/* Unified Navigation Styles - Responsive Design */

/* Base Navigation Styles */
.navbar {
    background-color: #212529 !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffc107 !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand:hover {
    color: #ffcd39 !important;
    transform: translateY(-1px);
}

/* Navigation Links */
.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 600;
    padding: 0.7rem 1rem;
    margin: 0 0.2rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #ffc107 !important;
    background-color: rgba(255, 193, 7, 0.1);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    color: #ffc107 !important;
    background-color: rgba(255, 193, 7, 0.15);
}

/* Contact Button Styles */
.navbar .btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
    font-weight: 700;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.navbar .btn-warning:hover {
    background-color: #ffcd39;
    border-color: #ffcd39;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

/* Mobile Navigation Styles */
.navbar-toggler {
    border: none;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    background-color: rgba(255, 193, 7, 0.1);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 193, 7, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Desktop Navigation Styles */
@media (min-width: 992px) {
    .navbar-nav {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }
    
    .navbar-collapse {
        display: flex !important;
        justify-content: flex-end;
    }
}

/* Mobile Menu Collapse */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #212529;
        border-radius: 8px;
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
    
    .navbar-nav .nav-link {
        margin: 0.2rem 0;
        padding: 0.8rem 1rem;
        text-align: center;
    }
    
    .navbar .btn-warning {
        margin-top: 1rem;
        width: 100%;
        padding: 0.8rem 1.2rem;
    }
}

/* Hero Section with Slideshow and Shadow Overlay */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    overflow: hidden;
}

/* Hero Background Slideshow */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.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;
}

/* Default hero backgrounds for different pages */
.hero-slide.slide-1 {
    background-image: url('../../images/hero-bg-1.jpg');
}

.hero-slide.slide-2 {
    background-image: url('../../images/hero-bg-2.jpg');
}

.hero-slide.slide-3 {
    background-image: url('../../images/hero-bg-3.jpg');
}

/* Additional slideshow images for variety */
.hero-slide.slide-4 {
    background-image: url('../../images/hero-bg-4.jpg');
}

.hero-slide.slide-5 {
    background-image: url('../../images/hero-bg-5.jpg');
}

/* Shadow overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-cta {
    background-color: #ffc107;
    color: #212529;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    text-decoration: none;
    display: inline-block;
}

.hero-cta:hover {
    background-color: #ffcd39;
    color: #212529;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

/* Page Header Styles (for non-index pages) */
.page-header {
    background: linear-gradient(135deg, #212529 0%, #495057 100%);
    padding: 120px 0 60px;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-cta {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .page-header {
        padding: 100px 0 40px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-section {
        min-height: 60vh;
        padding: 80px 0 40px;
    }
    
    .page-header {
        padding: 90px 0 30px;
    }
}

/* Utility Classes */
.shadow-hero {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Animation for smooth transitions */
.navbar,
.hero-section,
.page-header {
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
