/**
 * Les Robes Infidèles - Custom Additional Styles
 */

/* ===================================
   PAGE TRANSITIONS
   =================================== */

body {
    opacity: 1;
    transition: opacity 0.4s ease-in-out;
}

body.page-loaded {
    opacity: 1;
}

body.page-transition {
    opacity: 0;
}

/* ===================================
   HERO VIDEO
   =================================== */

.main-hero-video {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 80vh;
}

@media (max-width: 768px) {
    .main-hero-video {
        max-height: 60vh;
    }
}

/* ===================================
   AOS ANIMATION DURATIONS
   =================================== */

/* Małe elementy - szybko (300-400ms) */
[data-aos].btn,
[data-aos].icon,
[data-aos].badge,
[data-aos].small-element {
    transition-duration: 400ms !important;
}

/* Średnie elementy - normalnie (500-600ms) */
[data-aos].card,
[data-aos].info-box,
[data-aos].circle-image-wrapper,
[data-aos] img,
[data-aos].medium-element {
    transition-duration: 600ms !important;
}

/* Duże elementy - wolniej (700-800ms) */
[data-aos].hero-section,
[data-aos].section-title,
[data-aos].large-section,
[data-aos].large-element {
    transition-duration: 800ms !important;
}

/* Bardzo duże elementy - najwolniej (900-1000ms) */
[data-aos].hero-bg,
[data-aos].full-screen,
[data-aos].extra-large-element {
    transition-duration: 1000ms !important;
}

/* ===================================
   HEADER SCROLL EFFECT
   =================================== */

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* ===================================
   SWIPER CUSTOMIZATION
   =================================== */

.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper-pagination-bullet {
    background: var(--primary-color);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* ===================================
   CUSTOM SPACING
   =================================== */

.mt-6 { margin-top: 4rem; }
.mb-6 { margin-bottom: 4rem; }
.py-6 { padding-top: 4rem; padding-bottom: 4rem; }

/* ===================================
   HOVER EFFECTS
   =================================== */

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* ===================================
   IMAGE OVERLAY
   =================================== */

.image-overlay {
    position: relative;
    overflow: hidden;
}

.image-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.image-overlay:hover::before {
    opacity: 1;
}

.image-overlay img {
    transition: transform 0.5s ease;
}

.image-overlay:hover img {
    transform: scale(1.1);
}

/* ===================================
   CUSTOM DIVIDER
   =================================== */

.divider {
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 2rem auto;
}

/* ===================================
   LOADING ANIMATION
   =================================== */

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0,0,0,.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===================================
   CUSTOM ALERTS
   =================================== */

.alert {
    border-radius: 0;
    border: none;
    padding: 1rem 1.5rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

/* ===================================
   RESPONSIVE UTILITIES
   =================================== */

@media (max-width: 767px) {
    .mt-6 { margin-top: 2rem; }
    .mb-6 { margin-bottom: 2rem; }
    .py-6 { padding-top: 2rem; padding-bottom: 2rem; }
}

/* ===================================
   PRINT STYLES
   =================================== */

@media print {
    .site-header,
    .site-footer,
    .btn,
    .swiper-button-next,
    .swiper-button-prev,
    .swiper-pagination {
        display: none !important;
    }
}
