/* WGA Headerslider Styles */
.wga-headerslider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.wga-headerslider-swiper {
    width: 100%;
    height: 100%;
}

.wga-headerslider swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    position: relative;
}

.slide-content-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    border: 2px solid #D4AF37;
    border-radius: 8px;
    background: white;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 400px;
}

/* Header Section (Logo & Slogan) */
.slide-header {
    text-align: center;
    margin-bottom: 30px;
}

.slide-logo img {
    max-height: 80px;
    width: auto;
    margin-bottom: 10px;
}

.slide-slogan {
    font-size: 16px;
    color: #D4AF37;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Main Content Layout */
.slide-main-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 40px;
    flex: 1;
}

/* Graphics */
.slide-graphic-left,
.slide-graphic-right {
    flex: 0 0 auto;
    max-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-graphic-left img,
.slide-graphic-right img {
    max-width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
}

/* Text Content */
.slide-text-content {
    flex: 1;
    text-align: center;
    max-width: 600px;
}

.slide-title h1,
.slide-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #D4AF37;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-title h1 {
    margin-bottom: 5px;
}

.slide-title h2 {
    margin-bottom: 20px;
}

.slide-description p {
    font-size: 1.1rem;
    color: #333;
    margin: 0 0 30px 0;
    line-height: 1.4;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.slide-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.slide-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #D4AF37;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border: 2px solid transparent;
    border-radius: 4px;
}

.slide-button:hover {
    color: #B8941F;
    border-color: #D4AF37;
    background-color: rgba(212, 175, 55, 0.1);
}

.button-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.slide-button:hover .button-arrow {
    transform: translateX(3px);
}

/* Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: #D4AF37;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    border: 2px solid #D4AF37;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #D4AF37;
    color: white;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: 700;
}

/* Pagination */
.swiper-pagination {
    bottom: 20px;
}

.swiper-pagination-bullet {
    background: #D4AF37;
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #D4AF37;
}

/* Responsive Design */
@media (max-width: 768px) {
    .slide-content-wrapper {
        padding: 20px 15px;
        min-height: 300px;
    }
    
    .slide-main-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .slide-graphic-left,
    .slide-graphic-right {
        max-width: 150px;
        order: 2;
    }
    
    .slide-text-content {
        order: 1;
    }
    
    .slide-title h1,
    .slide-title h2 {
        font-size: 1.8rem;
    }
    
    .slide-description p {
        font-size: 1rem;
    }
    
    .slide-buttons {
        gap: 15px;
    }
    
    .slide-button {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .slide-content-wrapper {
        padding: 15px 10px;
    }
    
    .slide-title h1,
    .slide-title h2 {
        font-size: 1.5rem;
    }
    
    .slide-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .slide-button {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}

/* Preview Mode (Backend) */
.wga-headerslider-preview {
    border: 2px dashed #ccc;
    padding: 20px;
    background: #f9f9f9;
}

.slide-preview {
    margin-bottom: 20px;
}

.slide-preview:last-child {
    margin-bottom: 0;
}

/* Animation for smooth transitions */
.wga-headerslider-swiper {
    transition: all 0.3s ease;
}

/* Focus states for accessibility */
.slide-button:focus {
    outline: 2px solid #D4AF37;
    outline-offset: 2px;
}

.swiper-button-next:focus,
.swiper-button-prev:focus {
    outline: 2px solid #D4AF37;
    outline-offset: 2px;
}
