/* Bollywood Spins Custom Theme - Modern Visual Design */

/* Color Variables for Bollywood Theme */
:root {
    /* Primary Colors - Deep Gold/Rich Orange */
    --bollywood-primary: #a935ff;
    --bollywood-primary-dark: #e52f74;
    --bollywood-primary-light: #ff8c5a;
    
    /* Secondary Colors - Deep Purple/Violet */
    --bollywood-secondary: #2d3e7b;
    --bollywood-secondary-dark: #5a1f53;
    --bollywood-secondary-light: #9d408a;
    
    /* Accent Colors - Bright Gold */
    --bollywood-accent: #ffd700;
    --bollywood-accent-light: #ffee93;
    
    /* Background Colors */
    --bollywood-bg-dark: #1a0e2e;
    --bollywood-bg-medium: #2d1b4e;
    --bollywood-bg-light: #f8f4ff;
    
    /* Text Colors */
    --bollywood-text-dark: #1a0e2e;
    --bollywood-text-light: #7a7979;
    --bollywood-text-medium: #4a4a4a;
    
    /* Modern Font Stack */
    --bollywood-font-primary: 'Inter', 'Segoe UI', 'Roboto', sans-serif;
    --bollywood-font-heading: 'Playfair Display', 'Georgia', serif;
    --bollywood-font-accent: 'Poppins', 'Roboto', sans-serif;
}

/* Base Typography Updates */
body {
    font-family: var(--bollywood-font-primary) !important;
    background-color: var(--bollywood-bg-light) !important;
    color: var(--bollywood-text-dark) !important;
    line-height: 1.6 !important;
}

/* Modern Heading Styles */
h1, h2, h3, h4, h5, h6,
.site-title,
.entry-title,
.elementor-heading-title {
    font-family: var(--bollywood-font-heading) !important;
    color: var(--bollywood-text-dark) !important;
    font-weight: 600 !important;
    margin-bottom: 1.5rem !important;
}

h1, .site-title {
    font-size: 2.5rem !important;
    color: var(--bollywood-primary) !important;
}

h2 {
    font-size: 2rem !important;
    color: var(--bollywood-secondary) !important;
}

/* Modern Button Styles */
.elementor-button,
.ast-button,
button,
input[type="button"],
input[type="submit"],
.wp-block-button {
    background: linear-gradient(135deg, var(--bollywood-primary), var(--bollywood-primary-dark)) !important;
    color: var(--bollywood-text-light) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    font-family: var(--bollywood-font-accent) !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.elementor-button:hover,
.ast-button:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
    background: linear-gradient(135deg, var(--bollywood-primary-dark), var(--bollywood-primary)) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4) !important;
}

/* Secondary Button Style */
.elementor-button.elementor-button-link {
    background: transparent !important;
    color: var(--bollywood-secondary) !important;
    border: 2px solid var(--bollywood-secondary) !important;
    box-shadow: none !important;
}

.elementor-button.elementor-button-link:hover {
    background: var(--bollywood-secondary) !important;
    color: var(--bollywood-text-light) !important;
    border-color: var(--bollywood-secondary) !important;
}

/* Header Styling */
.site-header,
header {
    background: linear-gradient(135deg, var(--bollywood-bg-dark), var(--bollywood-bg-medium)) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
}

.site-title a {
    color: var(--bollywood-accent) !important;
    font-family: var(--bollywood-font-heading) !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
}

/* Navigation Menu */
.main-navigation a,
.menu-item a {
    color: var(--bollywood-text-light) !important;
    font-family: var(--bollywood-font-accent) !important;
    font-weight: 500 !important;
    transition: color 0.3s ease !important;
}

.main-navigation a:hover,
.menu-item a:hover {
    color: var(--bollywood-accent) !important;
}

/* Hero Section Styling */
.elementor-section.elementor-section-hero {
    background: linear-gradient(135deg, var(--bollywood-bg-dark), var(--bollywood-bg-medium)) !important;
    color: var(--bollywood-text-light) !important;
    position: relative !important;
    overflow: hidden !important;
}

.elementor-section.elementor-section-hero::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,215,0,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,215,0,0.1)"/><circle cx="50" cy="10" r="1" fill="rgba(255,215,0,0.1)"/><circle cx="10" cy="60" r="1" fill="rgba(255,215,0,0.1)"/><circle cx="90" cy="40" r="1" fill="rgba(255,215,0,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') !important;
    opacity: 0.3 !important;
}

.elementor-section.elementor-section-hero h1,
.elementor-section.elementor-section-hero h2,
.elementor-section.elementor-section-hero .elementor-heading-title {
    color: var(--bollywood-text-light) !important;
}

/* Card/Content Sections */
.elementor-section {
    background-color: var(--bollywood-bg-light) !important;
}

.elementor-section:nth-child(even) {
    background: linear-gradient(135deg, var(--bollywood-bg-light), rgba(255, 107, 53, 0.05)) !important;
}

/* Form Styling */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid rgba(255, 107, 53, 0.3) !important;
    border-radius: 6px !important;
    padding: 12px 16px !important;
    font-family: var(--bollywood-font-primary) !important;
    transition: border-color 0.3s ease !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    border-color: var(--bollywood-primary) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1) !important;
}

/* Tab Navigation */
.elementor-tabs-wrapper .elementor-tab-title {
    background: transparent !important;
    color: var(--bollywood-text-dark) !important;
    border: 2px solid var(--bollywood-secondary) !important;
    border-radius: 6px 6px 0 0 !important;
    font-family: var(--bollywood-font-accent) !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.elementor-tabs-wrapper .elementor-tab-title:hover,
.elementor-tabs-wrapper .elementor-tab-title.elementor-active {
    background: var(--bollywood-secondary) !important;
    color: var(--bollywood-text-light) !important;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, var(--bollywood-bg-dark), var(--bollywood-bg-medium)) !important;
    color: var(--bollywood-text-light) !important;
}

.site-footer a {
    color: var(--bollywood-accent) !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    h1, .site-title {
        font-size: 1.8rem !important;
    }
    
    .elementor-button {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
    
    .site-title a {
        font-size: 1.5rem !important;
    }
}

/* Animation Enhancements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
<｜tool▁calls▁end｜>]
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.elementor-section {
    animation: fadeInUp 0.6s ease-out;
}

/* Enhanced Link Styles */
a {
    color: var(--bollywood-primary) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

a:hover {
    color: var(--bollywood-primary-dark) !important;
    text-decoration: underline !important;
}

/* Loading and Entertaining Animations */
@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Special Bollywood Sparkle Effect */
.elementor-button:hover::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.4), transparent) !important;
    animation: shimmer 1.5s ease !important;
}

/* Enhanced Visual Effects */
.elementor-section:nth-child(3n) {
    position: relative !important;
}

.elementor-section:nth-child(3n)::after {
    content: '✨' !important;
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    font-size: 1.5rem !important;
    animation: sparkle 2s infinite !important;
    opacity: 0.7 !important;
}

/* Gaming Theme Enhancements */
.elementor-element[data-widget_type="heading.default"] h1 {
    position: relative !important;
    overflow: hidden !important;
}

.elementor-element[data-widget_type="heading.default"] h1::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 3px !important;
    background: linear-gradient(90deg, var(--bollywood-primary), var(--bollywood-accent)) !important;
    border-radius: 2px !important;
}

/* Card Hover Effects */
.elementor-column {
    transition: transform 0.3s ease !important;
}

.elementor-column:hover {
    transform: translateY(-5px) !important;
}

/* Modern Shadow Effects */
.elementor-section {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08) !important;
}

.elementor-section.elementor-section-hero {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15) !important;
}

/* Call-to-Action Enhancements */
.elementor-button.elementor-size-sm {
    padding: 14px 28px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-radius: 50px !important;
    position: relative !important;
    overflow: hidden !important;
}

.elementor-button.elementor-size-sm::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
    transition: left 0.5s ease !important;
}

.elementor-button.elementor-size-sm:hover::before {
    left: 100% !important;
}

/* Fix for Policy Pages Header - White Text on White Background */
.ast-separate-container .site-header,
.ast-two-container .site-header,
.ast-container .site-header {
    background: linear-gradient(135deg, var(--bollywood-bg-dark), var(--bollywood-bg-medium)) !important;
}

/* Ensure navigation text is visible on policy pages */
.ast-separate-container .main-navigation a,
.ast-separate-container .menu-item a,
.ast-two-container .main-navigation a,
.ast-two-container .menu-item a,
.ast-separate-container .site-title a,
.ast-two-container .site-title a {
    color: var(--bollywood-text-light) !important;
}

/* Policy pages navigation hover */
.ast-separate-container .main-navigation a:hover,
.ast-separate-container .menu-item a:hover,
.ast-two-container .main-navigation a:hover,
.ast-two-container .menu-item a:hover {
    color: var(--bollywood-accent) !important;
}

/* Ensure site name/title is visible on policy pages */
.ast-separate-container .site-title a,
.ast-two-container .site-title a {
    color: var(--bollywood-accent) !important;
}

/* Override any background color that might be interfering */
.page-id-30376 .site-header,
.page-id-30378 .site-header {
    background: linear-gradient(135deg, var(--bollywood-bg-dark), var(--bollywood-bg-medium)) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Ensure mobile menu is also properly styled */
.ast-separate-container .ast-mobile-header-wrap,
.ast-two-container .ast-mobile-header-wrap {
    background: linear-gradient(135deg, var(--bollywood-bg-dark), var(--bollywood-bg-medium)) !important;
}

/* Force visibility of all header elements on policy pages */
body[class*="page-id-30376"] .main-navigation a,
body[class*="page-id-30378"] .main-navigation a,
body[class*="ast-separate-container"] .main-navigation a,
body[class*="ast-two-container"] .main-navigation a {
    color: var(--bollywood-text-light) !important;
    text-shadow: none !important;
}

/* Additional CSS for Policy Pages Header Visibility */
.wp-singular.page-template-default .site-header .main-header-menu a {
    color: var(--bollywood-text-light) !important;
    opacity: 1 !important;
}

.wp-singular.page-template-default .site-header .main-header-menu .current-menu-item a {
    color: var(--bollywood-accent) !important;
}

/* Force header background on all policy type pages */
.astra-4.11.8.ast-single-post .site-header,
.astra-4.11.8 .site-header {
    background: linear-gradient(135deg, var(--bollywood-bg-dark), var(--bollywood-bg-medium)) !important;
}

/* Ensure logo/title visibility */
.astra-4.11.8 .site-title a,
.astra-4.11.8 .custom-logo-link {
    color: var(--bollywood-accent) !important;
}

/* Mobile menu toggle button */
.astra-4.11.8 .ast-mobile-header-wrap .menu-toggle {
    color: var(--bollywood-text-light) !important;
}

/* FAQ Accordion Styling - Simplified */
.elementor-toggle-item {
    margin-bottom: 15px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.elementor-toggle-item:hover {
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.2) !important;
    transform: translateY(-2px) !important;
}

/* Toggle Title Styling */
.elementor-tab-title {
    background: linear-gradient(135deg, var(--bollywood-secondary), var(--bollywood-secondary-dark)) !important;
    color: var(--bollywood-text-light) !important;
    border: none !important;
    padding: 20px !important;
    font-family: var(--bollywood-font-accent) !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    text-align: left !important;
}

.elementor-tab-title:hover {
    background: linear-gradient(135deg, var(--bollywood-secondary-dark), var(--bollywood-secondary)) !important;
    color: var(--bollywood-accent) !important;
}

.elementor-tab-title.elementor-active {
    background: linear-gradient(135deg, var(--bollywood-primary), var(--bollywood-primary-dark)) !important;
    color: var(--bollywood-text-light) !important;
}

.elementor-toggle-title {
    color: inherit !important;
    text-decoration: none !important;
    flex: 1 !important;
}

.elementor-toggle-title:hover {
    color: inherit !important;
}

/* Toggle Icon Styling */
.elementor-toggle-icon {
    margin-right: 15px !important;
    font-size: 14px !important;
    color: var(--bollywood-accent) !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
}

.elementor-tab-title.elementor-active .elementor-toggle-icon {
    color: var(--bollywood-text-light) !important;
}

.elementor-toggle-icon i {
    font-size: 14px !important;
}

/* Icon States */
.elementor-toggle-icon-closed,
.elementor-toggle-icon-opened {
    display: inline-block !important;
    transition: opacity 0.3s ease !important;
}

.elementor-toggle-icon-closed {
    opacity: 1 !important;
}

.elementor-toggle-icon-opened {
    opacity: 0 !important;
}

.elementor-tab-title.elementor-active .elementor-toggle-icon-closed {
    opacity: 0 !important;
}

.elementor-tab-title.elementor-active .elementor-toggle-icon-opened {
    opacity: 1 !important;
}

/* Toggle Content Styling */
.elementor-tab-content {
    background: var(--bollywood-bg-light) !important;
    padding: 25px !important;
    border-top: 3px solid var(--bollywood-primary) !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
    display: none !important;
}

.elementor-tab-content p {
    color: var(--bollywood-text-dark) !important;
    font-family: var(--bollywood-font-primary) !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* Active content styling */
.elementor-tab-title.elementor-active + .elementor-tab-content {
    animation: slideDown 0.3s ease-out !important;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Accordion */
@media (max-width: 768px) {
    .elementor-tab-title {
        padding: 15px !important;
        font-size: 14px !important;
    }
    
    .elementor-tab-content {
        padding: 20px !important;
    }
    
    .elementor-toggle-icon {
        margin-right: 12px !important;
    }
}

/* Accessibility Improvements */
.elementor-tab-title:focus {
    outline: 3px solid var(--bollywood-accent) !important;
    outline-offset: 2px !important;
}

/* Smooth transitions */
.elementor-toggle-item,
.elementor-tab-title,
.elementor-tab-content {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
