/* ========================================
   Global Page Header Styles - Apply to All Pages
======================================== */

/* Base Page Header Styles */
.page-header {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0;
    overflow: hidden;
    background: linear-gradient(135deg, #1c2539 0%, #2a3654 100%);
}

/* Background Image Container */
.page-header__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-header__bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.page-header__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

/* Inner Content Container */
.page-header__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 15px;
}

/* Decorative Images - Position Fixed */
.page-header__img-1 {
    position: absolute;
    left: 50px;
    bottom: 50px;
    z-index: 1;
    opacity: 0.3;
    max-width: 150px;
}

.page-header__img-1 img {
    max-width: 100%;
    height: auto;
}

.page-header__shape-1 {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0.3;
    max-width: 150px;
}

.page-header__shape-1 img {
    max-width: 100%;
    height: auto;
}

/* Page Title Styles */
.page-header h2,
.page-header h3 {
    font-family: 'Rubik', sans-serif;
    font-size: 56px;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -1px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin: 0 0 25px 0;
    animation: fadeInUp 0.8s ease;
    line-height: 1.2;
}

/* Breadcrumb Container */
.thm-breadcrumb__inner {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Breadcrumb Styles */
.thm-breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.thm-breadcrumb li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
}

.thm-breadcrumb li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.thm-breadcrumb li a:hover {
    color: #ff5e14;
}

.thm-breadcrumb li a::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff5e14;
    transition: width 0.3s ease;
}

.thm-breadcrumb li a:hover::after {
    width: 100%;
}

/* Breadcrumb Separator Icon */
.thm-breadcrumb .fas,
.thm-breadcrumb .fa {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin: 0 5px;
}

/* Animation for floating elements */
.float-bob-y {
    animation: floatBobY 3s ease infinite alternate;
}

@keyframes floatBobY {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(-50%) translateY(-20px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Responsive Design
======================================== */

/* Tablet Landscape */
@media (max-width: 991px) {
    .page-header {
        min-height: 350px;
        padding: 100px 0;
    }
    
    .page-header h2,
    .page-header h3 {
        font-size: 42px;
    }
    
    .page-header__img-1,
    .page-header__shape-1 {
        max-width: 120px;
    }
    
    .page-header__img-1 {
        left: 30px;
        bottom: 30px;
    }
    
    .page-header__shape-1 {
        right: 30px;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .page-header {
        min-height: 300px;
        padding: 80px 0;
    }
    
    .page-header h2,
    .page-header h3 {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .thm-breadcrumb {
        font-size: 14px;
        gap: 12px;
    }
    
    /* Hide decorative elements on smaller screens */
    .page-header__img-1,
    .page-header__shape-1 {
        display: none;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .page-header {
        min-height: 250px;
        padding: 60px 0;
    }
    
    .page-header h2,
    .page-header h3 {
        font-size: 24px;
        margin-bottom: 15px;
        letter-spacing: 0;
    }
    
    .thm-breadcrumb li {
        font-size: 13px;
    }
    
    .thm-breadcrumb {
        gap: 10px;
    }
    
    .thm-breadcrumb .fas,
    .thm-breadcrumb .fa {
        font-size: 10px;
    }
}

/* ========================================
   Page-Specific Overrides
======================================== */

/* Events Page */
.events-page .page-header h3 {
    /* Custom styles for events if needed */
}

/* About Page */
.about-page .page-header h2 {
    /* Custom styles for about if needed */
}

/* Contact Page */
.contact-page .page-header h2 {
    /* Custom styles for contact if needed */
}

/* Services Page */
.services-page .page-header h2 {
    /* Custom styles for services if needed */
}

/* ========================================
   Dark Theme Support (Optional)
======================================== */
.page-header.page-header--dark {
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 100%);
}

.page-header.page-header--light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.page-header.page-header--light h2,
.page-header.page-header--light h3 {
    color: #1c2539;
    text-shadow: none;
}

.page-header.page-header--light .thm-breadcrumb li,
.page-header.page-header--light .thm-breadcrumb li a {
    color: #6c757d;
}

.page-header.page-header--light .thm-breadcrumb li a:hover {
    color: #ff5e14;
}