/**
 * Hero Slider Styles for Panditji.in
 * 
 * This file contains styles for the full-width hero slider with gallery images
 * 
 * @version 3.0
 * @date 2025-05-29
 */

/* Full-width and full-height hero container */
.hero-slider-container {
    position: relative;
    width: 100vw;
    height: calc(100vh - 138px); /* Subtract header height (top bar + sticky header) */
    max-height: calc(100vh - 138px);
    min-height: 400px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-top: 0; /* No space between header and hero section */
    margin-bottom: 0;
    box-sizing: border-box;
    z-index: 10;
}

/* Main hero slider */
.hero-slider-main {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

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

/* Individual slides */
.hero-slide {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Background images */
.hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Dark overlay for better text visibility */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 5;
}

/* Content positioning */
.hero-content {
    position: absolute;
    top: 45%; /* Moved slightly higher to ensure everything fits */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    z-index: 10;
    color: #fff;
    text-align: center;
    padding-bottom: 20px; /* Add padding to ensure content doesn't touch bottom edge */
}

/* Shape borders and highlights */
.hero-slider-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    z-index: 6;
    pointer-events: none;
}

/* Special effects for shapes */
.hero-slider-triangle::before,
.hero-slider-circle::before,
.hero-slider-diamond::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 7;
    pointer-events: none;
}

/* Hero badge */
.hero-badge {
    display: inline-block;
    background-color: rgba(220, 130, 43, 0.9); /* Orange with transparency */
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Hero title */
.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-family: 'Yatra One', 'Noto Sans Devanagari', cursive;
    line-height: 1.2;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero subtitle */
.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* CTA container */
.hero-cta-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 2rem;
}

/* Call to action buttons */
.hero-btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Primary CTA */
.primary-cta {
    background-color: #dc822b; /* Orange color */
    color: #fff;
}

.primary-cta:hover {
    background-color: #c26a1b;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    color: #fff;
}

/* Secondary CTA */
.secondary-cta {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 2px solid #fff;
}

.secondary-cta:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    color: #fff;
}

/* Social proof section */
.hero-social-proof {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.rating-stars {
    color: #ffc107; /* Gold star color */
}

.rating-text {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Site name watermark */
.site-watermark {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 20;
    opacity: 0.8;
    transform-origin: bottom right;
}

.site-watermark .diya-decoration {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin: 0;
    font-size: 2.2rem;
}

/* Slick slider customization */
.slick-dots {
    bottom: 20px;
    z-index: 30;
}

.slick-dots li button:before {
    color: #fff;
    opacity: 0.7;
    font-size: 12px;
}

.slick-dots li.slick-active button:before {
    color: #fff;
    opacity: 1;
}

.slick-dotted.slick-slider {
    margin-bottom: 0;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
        max-width: 700px;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
        max-width: 600px;
    }
}

@media (max-width: 992px) {
    .hero-slider-container {
        height: calc(100vh - 138px);
        max-height: calc(100vh - 138px);
    }
    
    .hero-title {
        font-size: 3rem;
        max-width: 600px;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        max-width: 550px;
    }
    
    .hero-badge {
        font-size: 0.85rem;
        padding: 7px 14px;
    }
    
    .hero-cta-container {
        gap: 15px;
    }
    
    .hero-btn {
        padding: 14px 25px;
    }
    
    .hero-social-proof {
        padding: 8px 16px;
    }
}

@media (max-width: 768px) {
    .hero-slider-container {
        height: calc(100vh - 138px);
        max-height: calc(100vh - 138px);
    }
    
    .hero-content {
        width: 95%;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
        margin-bottom: 1rem;
    }
    
    .hero-cta-container {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .hero-btn {
        padding: 12px 24px;
        font-size: 1rem;
        width: 80%;
        text-align: center;
    }
    
    .hero-social-proof {
        padding: 8px 15px;
        margin-top: 1rem;
    }
    
    .rating-text {
        font-size: 0.8rem;
    }
    
    .site-watermark {
        bottom: 15px;
        right: 15px;
    }
    
    .site-watermark .diya-decoration {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-slider-container {
        height: calc(100vh - 138px);
        max-height: calc(100vh - 138px);
        min-height: 350px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    
    .hero-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 90%;
    }
    
    .hero-social-proof {
        flex-direction: column;
        gap: 5px;
        padding: 8px 12px;
    }
    
    .site-watermark {
        transform: scale(0.6);
        bottom: 10px;
        right: 10px;
    }
}
