/**
 * RevoSlider - Revolutionary WordPress Slider
 * Premium cinematic styling inspired by Slider Revolution
 */

:root {
    --revo-primary: #6366f1;
    --revo-primary-dark: #4f46e5;
    --revo-accent: #f43f5e;
    --revo-text: #ffffff;
    --revo-text-muted: rgba(255,255,255,0.75);
    --revo-bg-dark: #0f0f11;
    --revo-transition: cubic-bezier(0.23, 1, 0.32, 1);
}

/* Main Wrapper */
.revo-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 25px 60px -15px rgb(0 0 0 / 0.4),
                0 10px 20px -5px rgb(0 0 0 / 0.3);
    background: #000;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Slider Container */
.revo-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Slides Container */
.revo-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Individual Slide */
.revo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s var(--revo-transition), visibility 0.6s;
    z-index: 1;
}

.revo-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Background Image with Ken Burns Effect */
.revo-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transition: transform 8s var(--revo-transition);
    z-index: 1;
}

.revo-slide.active .revo-bg {
    transform: scale(1.15);
    animation: revo-kenburns 12s var(--revo-transition) forwards;
}

@keyframes revo-kenburns {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.22); }
}

/* Dark Overlay for readability */
.revo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.25) 0%,
        rgba(0,0,0,0.45) 35%,
        rgba(0,0,0,0.65) 100%
    );
    z-index: 2;
}

.revo-overlay-dark {
    background: linear-gradient(
        to bottom,
        rgba(15,15,17,0.55) 0%,
        rgba(15,15,17,0.75) 50%,
        rgba(15,15,17,0.9) 100%
    );
}

.revo-overlay-gradient {
    background: linear-gradient(
        135deg,
        rgba(15,15,17,0.7) 0%,
        rgba(99,102,241,0.15) 50%,
        rgba(15,15,17,0.85) 100%
    );
}

/* Layers Container */
.revo-layers {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

/* Individual Layer */
.revo-layer {
    position: absolute;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s var(--revo-transition);
    will-change: transform, opacity;
}

.revo-layer.active {
    opacity: 1;
    transform: translateY(0);
}

/* Animation Variants */
.revo-layer[data-animation="fadeInUp"].active {
    animation: revo-fadeInUp 0.8s var(--revo-transition) forwards;
}

.revo-layer[data-animation="fadeInLeft"].active {
    animation: revo-fadeInLeft 0.8s var(--revo-transition) forwards;
}

.revo-layer[data-animation="fadeIn"].active {
    animation: revo-fadeIn 0.6s var(--revo-transition) forwards;
}

.revo-layer[data-animation="zoomIn"].active {
    animation: revo-zoomIn 0.9s var(--revo-transition) forwards;
}

@keyframes revo-fadeInUp {
    from { opacity: 0; transform: translateY(60px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes revo-fadeInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes revo-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes revo-zoomIn {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

/* Typography - Revolutionary Style */
.revo-heading {
    font-size: clamp(3.2rem, 7vw, 5.8rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: var(--revo-text);
    margin: 0 0 0.3em 0;
    text-shadow: 0 4px 30px rgba(0,0,0,0.6);
}

.revo-subheading {
    font-size: clamp(1.1rem, 2.2vw, 1.45rem);
    font-weight: 400;
    line-height: 1.4;
    color: var(--revo-text-muted);
    margin: 0;
    max-width: 620px;
}

/* Buttons - Premium Feel */
.revo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    border-radius: 9999px;
    transition: all 0.3s var(--revo-transition);
    cursor: pointer;
    white-space: nowrap;
    border: 2px solid transparent;
    box-shadow: 0 10px 20px -5px rgb(0 0 0 / 0.3);
}

.revo-btn-primary {
    background: var(--revo-primary);
    color: white;
    border-color: var(--revo-primary);
}

.revo-btn-primary:hover {
    background: var(--revo-primary-dark);
    border-color: var(--revo-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -8px rgb(99 102 241 / 0.4);
}

.revo-btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(12px);
}

.revo-btn-secondary:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

.revo-btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
}

.revo-btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

/* Feature Pills */
.revo-feature-pill {
    pointer-events: auto;
}

.revo-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 500;
    color: white;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgb(0 0 0 / 0.2);
}

.revo-pill-icon {
    font-size: 1.1rem;
}

/* Badge */
.revo-badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: white;
    backdrop-filter: blur(10px);
}

/* Navigation Arrows */
.revo-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 9999px;
    color: white;
    cursor: pointer;
    transition: all 0.3s var(--revo-transition);
    backdrop-filter: blur(12px);
}

.revo-nav:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-50%) scale(1.05);
}

.revo-nav-prev { left: 24px; }
.revo-nav-next { right: 24px; }

/* Bottom Navigation Bar */
.revo-bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
}

/* Dots */
.revo-dots {
    display: flex;
    gap: 10px;
}

.revo-dot {
    width: 12px;
    height: 12px;
    border-radius: 9999px;
    border: 2px solid rgba(255,255,255,0.4);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.revo-dot.active,
.revo-dot:hover {
    background: white;
    border-color: white;
    transform: scale(1.1);
}

/* Slide Counter */
.revo-counter {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.revo-divider {
    opacity: 0.5;
}

/* Play/Pause Button */
.revo-playpause {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 9999px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
}

.revo-playpause:hover {
    background: rgba(255,255,255,0.2);
}

.revo-playpause .icon-pause {
    display: none;
}

.revo-playpause.paused .icon-play {
    display: none;
}

.revo-playpause.paused .icon-pause {
    display: block;
}

/* Progress Bar */
.revo-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: rgba(255,255,255,0.15);
    z-index: 20;
    overflow: hidden;
}

.revo-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--revo-primary), #a5b4fc);
    transition: width linear;
}

/* Parallax Layers (subtle mouse movement) */
.revo-layer.parallax {
    transition: transform 0.1s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .revo-heading {
        font-size: 2.8rem;
        line-height: 1;
    }
    
    .revo-subheading {
        font-size: 1.05rem;
    }
    
    .revo-nav {
        width: 46px;
        height: 46px;
    }
    
    .revo-bottom-nav {
        padding: 16px 20px;
    }
    
    .revo-btn {
        padding: 14px 26px;
        font-size: 0.95rem;
    }
    
    .revo-feature-pill {
        display: none; /* Hide on mobile for cleaner look */
    }
}

/* Admin Page Styling */
.revo-admin-wrap {
    max-width: 1100px;
    margin: 40px auto;
}

.revo-admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.revo-logo-text {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: #111827;
}

.revo-logo-sub {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--revo-primary);
    margin-left: 4px;
}

.revo-admin-content h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111827;
}

.revo-lead {
    font-size: 1.15rem;
    color: #4b5563;
    max-width: 720px;
    margin-bottom: 40px;
}

.revo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.revo-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05);
}

.revo-card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    color: #111827;
}

.revo-code-block {
    background: #0f172a;
    color: #e0e7ff;
    padding: 16px 20px;
    border-radius: 10px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    margin: 16px 0;
    font-size: 0.95rem;
}

.revo-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.revo-features-list li {
    padding: 9px 0;
    font-size: 1.02rem;
    color: #374151;
}

.revo-next-steps {
    margin-top: 30px;
}

.revo-next-steps h2 {
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.revo-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.revo-step {
    background: #f8fafc;
    border-radius: 14px;
    padding: 28px 24px;
    border: 1px solid #e0e7ff;
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--revo-primary);
    color: white;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 16px;
}

.revo-footer-note {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
    color: #64748b;
    font-size: 0.95rem;
}

/* Accessibility */
.revo-slider:focus-within {
    outline: 2px solid var(--revo-primary);
    outline-offset: 4px;
}

.revo-dot:focus,
.revo-nav:focus,
.revo-playpause:focus {
    outline: 2px solid var(--revo-primary);
    outline-offset: 3px;
}