/* ============================================
   SWIPER ENHANCED STYLES
   Modern CSS improvements for slid-swiper.php
   ============================================ */

/* CSS Variables for consistent theming */
:root {
    --primary-color: #293e9c;
    --secondary-color: #fe5f16;
    --accent-color: #4caf50;
    --text-dark: #2a2a2a;
    --text-light: #797979;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
    --border-radius: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modern Banner Section Styles */
.banner-details-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.banner-details-section .auto-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Enhanced Page Title Section */
.page-title {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(41, 62, 156, 0.8) 0%, rgba(254, 95, 22, 0.6) 100%);
    z-index: 1;
}

.page-title .auto-container {
    position: relative;
    z-index: 2;
}

.page-title .content-box {
    text-align: center;
    color: white;
}

.page-title h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out;
}

.bread-crumb {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.bread-crumb li {
    position: relative;
    font-size: 16px;
    font-weight: 500;
}

.bread-crumb li:not(:last-child)::after {
    content: '/';
    margin-left: 15px;
    color: rgba(255,255,255,0.7);
}

.bread-crumb a {
    color: rgba(255,255,255,0.9);
    transition: var(--transition);
}

.bread-crumb a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Modern Swiper Container */
.swiper-container-modern {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin: 40px 0;
}

.swiper-slide-modern {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.swiper-slide-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
}

.swiper-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 40px;
    max-width: 600px;
}

.swiper-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 25px;
    animation: slideInLeft 0.8s ease-out;
    color: #ffff;
}

.swiper-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
    animation: slideInRight 0.8s ease-out 0.1s both;
    color: #ffff;
}

.swiper-content h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--text-light);
    animation: slideInLeft 0.8s ease-out 0.15s both;
    color: #ffff;
}

.swiper-content h4 {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--text-dark);
    animation: slideInRight 0.8s ease-out 0.2s both;
    color: #ffff;
}

.swiper-content h5 {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 10px;
    animation: slideInLeft 0.8s ease-out 0.3s both;
    color: #ffff;
}

.swiper-content h6 {
    font-size: 0.9rem;
    font-weight: 200;
    color: var(--text-light);
    margin-bottom: 15px;
    animation: slideInLeft 0.8s ease-out 0.25s both;
    color: #ffff;
}

.swiper-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

.swiper-button-modern {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.swiper-button-modern:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.swiper-button-prev-modern {
    left: 20px;
}

.swiper-button-next-modern {
    right: 20px;
}

/* Enhanced Content Layout */
.banner-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.banner-main-content {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-md);
    animation: fadeIn 0.8s ease-out;
}

.banner-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Modern Card Styles */
.info-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 10px;
}

.info-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.info-card:hover h3::after {
    width: 100px;
}

/* Enhanced Typography */
.banner-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
}

.banner-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(10px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    transform: rotate(360deg);
}

/* Modern Button Styles */
.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition);
}

.btn-modern:hover::before {
    left: 100%;
}

.btn-modern:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-modern {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-modern:hover {
    background: var(--primary-color);
    color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
    .banner-content-grid {
        grid-template-columns: 1fr;
    }
    
    .banner-main-content {
        padding: 30px;
    }
    
    .swiper-slide-modern {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .page-title {
        min-height: 300px;
    }
    
    .page-title h1 {
        font-size: 2rem;
    }
    
    .banner-features {
        grid-template-columns: 1fr;
    }
    
    .swiper-content {
        padding: 20px;
    }
    
    .swiper-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .banner-details-section {
        padding: 40px 0;
    }
    
    .banner-main-content {
        padding: 20px;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .swiper-button-modern {
        width: 40px;
        height: 40px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Loading States */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .page-title {
        background: none !important;
        color: black !important;
    }
    
    .page-title::before {
        display: none;
    }
    
    .swiper-container-modern {
        display: none;
    }
}