/* Base Styles */
.textile-banner-container {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 550px;
    overflow: hidden;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #0a1627;
    margin-top:100px;
}

/* Slide Styles */
.textile-slider {
    position: relative;
    height: 100%;
}

.textile-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.textile-slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform 10s cubic-bezier(0.25, 0.45, 0.45, 0.95);
    filter: brightness(0.85);
}

.textile-slide.active .slide-bg {
    transform: scale(1.05);
}

.gradient-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* Content Styles */
.slide-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 8%;
    color: #fff;
    max-width: 1200px;
    margin: 0 auto;
}

.textile-tagline {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.2s;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.588);
}

.elegant-underline {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.elegant-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4a6fa5, #ffffff);
    transition: width 1s ease 0.5s;
}

.textile-heading {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.05;
    margin: 0.6rem 0 1rem 0;
    color: #fff;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.4s;
    letter-spacing: -0.5px;
    text-rendering: optimizeLegibility;
}

.gradient-text {
    background: linear-gradient(90deg, #ffffff 10%, #c6ddff 60%, #8fb0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
}

.textile-description {
    font-size: 1.15rem;
    line-height: 1.65;
    margin-bottom: 1.6rem;
    color: rgba(255,255,255,0.92);
    max-width: 680px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.6s;
    font-weight: 400;
}

.textile-cta {
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.8s;
}

.luxury-button {
    display: inline-flex;
    align-items: center;
    padding: 0.9rem 2.2rem;
    background: transparent;
    color: #fff;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    box-shadow: 0 4px 18px rgba(10,22,39,0.45);
}

.luxury-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: all 0.6s ease;
}

.luxury-button:hover {
    border-color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.06);
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 8px 28px rgba(10,22,39,0.5);
}

.luxury-button:hover::before {
    left: 100%;
}

.luxury-button:hover .button-icon {
    transform: translateX(5px);
}

.button-icon {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

/* Navigation Styles */
.textile-nav {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    z-index: 10;
}

.nav-dots {
    display: flex;
    gap: 12px;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.4s ease;
}

.nav-dot.active {
    background: #fff;
    transform: scale(1.3);
}

.slide-counter {
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.current-slide {
    color: #fff;
    font-weight: 600;
}

.divider {
    margin: 0 5px;
}

/* Active Slide Animations */
.textile-slide.active .textile-tagline,
.textile-slide.active .textile-heading,
.textile-slide.active .textile-description,
.textile-slide.active .textile-cta {
    opacity: 1;
    transform: translateY(0);
}

.textile-slide.active .elegant-underline::after {
    width: 100%;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .textile-heading {
        font-size: 3.8rem;
    }
    
    .slide-content {
        padding: 0 6%;
    }
}

@media (max-width: 992px) {
    .textile-heading {
        font-size: 3.2rem;
    }
    
    .textile-description {
        font-size: 1.1rem;
        max-width: 500px;
    }
    
    .textile-nav {
        padding: 0 6%;
    }
}

@media (max-width: 768px) {
    .textile-banner-container {
        height: 80vh;
    }
    
    .textile-heading {
        font-size: 2.5rem;
    }
    
    .textile-tagline {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    
    .slide-content {
        padding: 0 5%;
    }
}

@media (max-width: 576px) {
    .textile-banner-container {
        height: 55vh;
        max-height: 820px;
        margin-top:40px;
    }
    .textile-heading {
        font-size: 2rem;
    }
    .textile-description {
        font-size: 1rem;
    }
    .luxury-button {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    .textile-nav {
        flex-direction: column;
        gap: 20px;
        bottom: 30px;
    }
    .slide-counter {
        order: -1;
        display:none;
    }
}

.hero-banner {
    font-family: var(--font-family);
}