/**
 * Hero Slider Styles
 * 16:9 aspect ratio, responsive for mobile and desktop
 */

/* ==================== HERO SLIDER SECTION ==================== */
.hero-slider-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #1E293B;
    display: flex;
    align-items: center;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
}

/* Slides */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    z-index: 1;
}

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

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: kenburns 20s ease infinite;
}

@keyframes kenburns {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(71, 85, 105, 0.40) 0%, rgba(30, 41, 59, 0.50) 100%);
}

/* Slide Content */
.slide-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 20px;
    animation: slideInUp 0.8s ease;
}

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

.slide-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #FFFFFF;
    margin-bottom: 24px;
    animation: bounceIn 1s ease;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

.slide-title {
    font-size: 64px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 16px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideInRight 0.8s ease 0.2s both;
}

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

.slide-description {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 600px;
    animation: slideInRight 0.8s ease 0.4s both;
}

.slide-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    animation: slideInUp 0.8s ease 0.6s both;
}

.slide-features {
    display: none !important; /* REMOVED: 3 feature items per user request */
    gap: 40px;
    flex-wrap: wrap;
    animation: fadeIn 1s ease 0.8s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
}

.feature-item i {
    font-size: 20px;
    color: #00CC66;
}

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

/* Slider Controls - HIDDEN PER USER REQUEST */
.slider-controls {
    display: none !important; /* REMOVED: Navigation buttons */
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.slider-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Slider Dots - HIDDEN PER USER REQUEST */
.slider-dots {
    display: none !important; /* REMOVED: Navigation dots */
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 40px;
    border-radius: 6px;
    background: #FFFFFF;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* ==================== QUICK CONTACT SIDEBAR ==================== */
.quick-contact-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    width: 360px;
    max-height: 90vh;
    overflow-y: auto;
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.contact-form-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form-card h3 i {
    color: #0066CC;
}

.contact-form-card > p {
    font-size: 14px;
    color: #64748B;
    margin-bottom: 24px;
}

.quick-contact-form .form-group {
    margin-bottom: 16px;
}

.quick-contact-form .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}

.quick-contact-form .form-control:focus {
    outline: none;
    border-color: #0066CC;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.quick-contact-form select.form-control {
    cursor: pointer;
}

.quick-contact-form textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.form-footer {
    margin-top: 16px;
    text-align: center;
}

.form-footer p {
    font-size: 12px;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.form-footer i {
    color: #00CC66;
}

/* Offer Banner */
.offer-banner {
    background: linear-gradient(135deg, #FF6600 0%, #E55A00 100%);
    color: #FFFFFF;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(255, 102, 0, 0.3);
}

.offer-badge {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 16px;
}

.offer-banner h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.offer-banner p {
    font-size: 16px;
    margin-bottom: 12px;
}

.offer-code {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 14px;
    border: 2px dashed rgba(255, 255, 255, 0.5);
}

.offer-code strong {
    font-size: 18px;
    font-weight: 800;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1400px) {
    .quick-contact-sidebar {
        width: 320px;
        right: 15px;
    }
}

@media (max-width: 1200px) {
    .quick-contact-sidebar {
        position: static;
        transform: none;
        width: 100%;
        max-width: 500px;
        margin: -80px auto 0;
        padding: 0 20px;
    }
    
    .hero-slider-section {
        flex-direction: column;
    }
    
    .slider-container {
        height: 70vh;
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .slider-container {
        height: 100vw;
        min-height: unset;
        max-height: none;
    }
    
    .slide-title {
        font-size: 42px;
    }
    
    .slide-description {
        font-size: 18px;
    }
    
    .slide-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    
    .slide-actions {
        flex-direction: column;
    }
    
    .slide-features {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 80px; /* Space for dots below */
    }
    
    .feature-item {
        font-size: 14px;
    }
    
    .feature-item i {
        font-size: 16px;
    }
    
    .slider-controls {
        padding: 0 10px;
    }
    
    .slider-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    /* FIXED: Smaller dots on mobile, positioned lower */
    .slider-dots {
        bottom: 15px;
        gap: 8px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
        border: 1px solid rgba(255, 255, 255, 0.6);
    }
    
    .dot.active {
        width: 24px;
        border-radius: 4px;
    }
    
    .contact-form-card {
        padding: 24px;
    }
    
    .quick-contact-sidebar {
        margin-top: -60px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .slide-title {
        font-size: 26px;
        margin-bottom: 10px;
    }
    
    .slide-description {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    .slider-container {
        height: 100vw;
        min-height: unset;
        max-height: none;
    }
    
    .slide-content {
        padding: 40px 15px;
    }
    
    .slide-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .slide-features {
        gap: 10px;
        margin-bottom: 70px; /* More space for dots */
    }
    
    .feature-item {
        font-size: 13px;
    }
    
    .feature-item i {
        font-size: 14px;
    }
    
    /* Even smaller dots on very small screens */
    .slider-dots {
        bottom: 12px;
        gap: 6px;
    }
    
    .dot {
        width: 6px;
        height: 6px;
    }
    
    .dot.active {
        width: 18px;
        border-radius: 3px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .contact-form-card h3 {
        font-size: 20px;
    }
}

/* Print Styles */
@media print {
    .hero-slider-section,
    .quick-contact-sidebar,
    .slider-controls,
    .slider-dots {
        display: none;
    }
}
