/**
 * Door Slider — Frontend Stylesheet
 * Responsive, Premium Aesthetics, Multi-Style Layouts
 */

.door-slider-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    background-color: #0b1120;
    box-sizing: border-box;
}

.door-slider-wrap *,
.door-slider-wrap *::before,
.door-slider-wrap *::after {
    box-sizing: border-box;
}

/* Track & Slide Items */
.door-slider-track {
    position: relative;
    width: 100%;
    height: 600px;
    min-height: 520px;
}

.door-slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

/* Active State */
.door-slide-item.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

/* Background Layer */
.door-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.04);
    transition: transform 7s cubic-bezier(0.25, 1, 0.5, 1);
}

.door-slide-item.is-active .door-slide-bg {
    transform: scale(1);
}

/* Overlays */
.door-slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.door-slide-bg.overlay-none::after { display: none; }
.door-slide-bg.overlay-light::after { background: rgba(11, 17, 32, 0.25); }
.door-slide-bg.overlay-medium::after { background: rgba(11, 17, 32, 0.48); }
.door-slide-bg.overlay-dark::after { background: rgba(11, 17, 32, 0.72); }
.door-slide-bg.overlay-gradient::after {
    background: linear-gradient(90deg, rgba(11, 17, 32, 0.85) 0%, rgba(11, 17, 32, 0.4) 60%, rgba(11, 17, 32, 0.1) 100%);
}

/* Slide Container & Content */
.door-slide-container {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    height: 100%;
    padding: 0 40px;
    display: flex;
    align-items: center;
    z-index: 3;
}

.door-slide-content {
    max-width: 650px;
}

/* Alignment */
.door-slide-item.align-center .door-slide-container {
    justify-content: center;
}
.door-slide-item.align-center .door-slide-content {
    text-align: center;
    margin: 0 auto;
}
.door-slide-item.align-center .door-slide-btns {
    justify-content: center;
}

.door-slide-item.align-right .door-slide-container {
    justify-content: flex-end;
}
.door-slide-item.align-right .door-slide-content {
    text-align: right;
    margin-left: auto;
}
.door-slide-item.align-right .door-slide-btns {
    justify-content: flex-end;
}

/* Color Scheme */
.door-slide-item.scheme-light .door-slide-title { color: #ffffff; }
.door-slide-item.scheme-light .door-slide-subheading { color: rgba(255, 255, 255, 0.85); }
.door-slide-item.scheme-dark .door-slide-title { color: #0f172a; }
.door-slide-item.scheme-dark .door-slide-subheading { color: #334155; }

/* Badge */
.door-slide-badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 99px;
    margin-bottom: 18px;
    background: rgba(255, 107, 0, 0.18);
    color: #ff8a3d;
    border: 1px solid rgba(255, 107, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

/* Title */
.door-slide-title {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease 0.35s, transform 0.6s ease 0.35s;
}

/* Subheading */
.door-slide-subheading {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 28px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
}

/* Active Entrance Animations */
.door-slide-item.is-active .door-slide-badge,
.door-slide-item.is-active .door-slide-title,
.door-slide-item.is-active .door-slide-subheading,
.door-slide-item.is-active .door-slide-btns {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons */
.door-slide-btns {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.65s, transform 0.6s ease 0.65s;
}

.door-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 99px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.door-btn-primary {
    background: #ff6b00;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.35);
}
.door-btn-primary:hover {
    background: #e05e00;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(255, 107, 0, 0.45);
}

.door-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
}
.door-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
}

/* Navigation Arrows */
.door-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.5);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
    padding: 0;
}

.door-slider-arrow:hover {
    background: #ff6b00;
    border-color: #ff6b00;
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
}

.door-slider-prev { left: 24px; }
.door-slider-next { right: 24px; }

/* Slider Footer (Dots & Progress) */
.door-slider-footer {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.door-slider-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.door-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.door-slider-dot.is-active {
    width: 32px;
    background: #ff6b00;
}

.door-slider-progress {
    width: 140px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.door-slider-progress-bar {
    width: 0%;
    height: 100%;
    background: #ff6b00;
    transition: width 0.1s linear;
}

/* ==========================================================================
   STYLE OPTIONS / VARIANTS
   ========================================================================== */

/* Style 2: Split Boxed Modern */
.dt-slider-style-split .door-slide-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.dt-slider-style-split .door-slide-content {
    background: rgba(15, 23, 42, 0.65);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.dt-slider-style-split .door-slide-visual-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dt-slider-style-split .door-split-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    height: 340px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.dt-slider-style-split .door-split-card-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.dt-slider-style-split .door-split-card-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: #ff6b00;
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

/* Style 3: Clean Minimalist */
.dt-slider-style-minimal {
    background-color: #f8fafc;
}
.dt-slider-style-minimal .door-slide-track {
    height: 540px;
}
.dt-slider-style-minimal .door-slide-title {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.3px;
}
.dt-slider-style-minimal .door-slide-btn {
    border-radius: 8px;
}
.dt-slider-style-minimal .door-slider-dot.is-active {
    background: #0f172a;
}
.dt-slider-style-minimal .door-slider-progress-bar {
    background: #0f172a;
}

/* Style 4: Dark Luxury / Charcoal Glow */
.dt-slider-style-luxury {
    background-color: #080c14;
}
.dt-slider-style-luxury .door-slide-badge {
    background: rgba(234, 88, 12, 0.15);
    color: #fb923c;
    border-color: rgba(234, 88, 12, 0.4);
    box-shadow: 0 0 15px rgba(234, 88, 12, 0.25);
}
.dt-slider-style-luxury .door-slide-title {
    background: linear-gradient(135deg, #ffffff 60%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.dt-slider-style-luxury .door-btn-primary {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    border: 1px solid rgba(251, 146, 60, 0.4);
    box-shadow: 0 8px 25px rgba(234, 88, 12, 0.45);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 991px) {
    .door-slider-track { height: 500px; min-height: 460px; }
    .door-slide-title { font-size: 34px; }
    .dt-slider-style-split .door-slide-container {
        grid-template-columns: 1fr;
    }
    .dt-slider-style-split .door-slide-visual-col {
        display: none;
    }
}

@media (max-width: 767px) {
    .door-slider-track { height: 460px; }
    .door-slide-container { padding: 0 20px; }
    .door-slide-title { font-size: 26px; line-height: 1.25; margin-bottom: 12px; }
    .door-slide-subheading { font-size: 14px; margin-bottom: 20px; }
    .door-slide-badge { font-size: 10px; padding: 4px 10px; margin-bottom: 12px; }
    .door-slide-btn { padding: 10px 20px; font-size: 13px; }
    .door-slider-arrow { width: 36px; height: 36px; }
    .door-slider-prev { left: 10px; }
    .door-slider-next { right: 10px; }
    .door-slider-footer { bottom: 14px; }
}
