/*
Theme Name:     Bomo Child
Theme URI: 		https://dtboom.wpengine.com/
Author: 		the DesignThemes team
Author URI: 	http://themeforest.net/user/designthemes
Description:    Child theme for the Bomo theme powered by DesignThemes
Template:       bomo
Version:        1.0
*/

/* ============================================
   AIRPLAYX CUSTOM STYLES - COMPLETE REDESIGN
   ============================================ */

/* ----------------
   CSS VARIABLES FOR SMOOTH COLOR TRANSITIONS
   ---------------- */

:root {
    /* Default Theme Colors */
    --primary-color: #FF6B35;
    --primary-light: #FC846B;
    --secondary-color: #8B5CF6;
    --secondary-light: #A855F7;
    --accent-color: #F7931E;
    --text-dark: #2D3748;
    --text-light: #4A5568;
    --bg-light: #F7FAFC;
    --bg-white: #FFFFFF;
    
    /* Smooth transition for ALL color changes */
    --transition-speed: 0.8s;
    --transition-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Targeted, subtle transitions (no global slowdowns) */
button, a, .elementor-button, .menu a, .site-header, .elementor-section,
input, select, textarea, .elementor-heading-title, p, li {
    transition: color .25s var(--transition-ease),
                background-color .25s var(--transition-ease),
                border-color .25s var(--transition-ease),
                box-shadow .25s var(--transition-ease),
                transform .2s var(--transition-ease);
}

/* ----------------
   TYPOGRAPHY IMPROVEMENTS
   ---------------- */

/* Import Better Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700;800;900&display=swap');

/* Base Typography - More Readable (calmer sizing) */
body {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.005em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text-dark);
}

/* Headings - Clear, Bold, and MASSIVE */
h1, h2, h3, h4, h5, h6,
.elementor-heading-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* Hero Headings - impactful but not oversized */
h1, .elementor-heading-title.elementor-size-default {
    font-size: clamp(1.75rem, 4vw, 2.75rem); /* ~28–44px */
    font-weight: 800;
    line-height: 1.15;
    text-transform: none;
}

h2, .elementor-heading-title.elementor-size-large {
    font-size: clamp(1.5rem, 3.5vw, 2rem); /* ~24–32px */
    font-weight: 700;
    line-height: 1.2;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem); /* ~20–24px */
    font-weight: 600;
}

h4 {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem); /* ~18–20px */
    font-weight: 600;
}

/* Paragraph Text - comfortable reading width */
p, .elementor-text-editor {
    font-size: clamp(1rem, 1.5vw, 1.0625rem); /* 16–17px */
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 1.2rem;
    color: var(--text-light);
}

/* Larger Text for Important Content */
.elementor-widget-text-editor.large-text p {
    font-size: clamp(1.0625rem, 2vw, 1.125rem); /* 17–18px */
    line-height: 1.7;
}

/* Button Typography */
.elementor-button,
a.elementor-button {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1rem, 2vw, 1.125rem); /* Responsive button text */
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: none;
}

/* ----------------
   TEXT CONTRAST IMPROVEMENTS
   ---------------- */

/* Ensure text is always readable on colored backgrounds */
.elementor-section[data-element-type="section"] {
    position: relative;
}

/* Automatic text contrast on gradient/colored backgrounds */
.elementor-section {
    --text-color: #ffffff;
}

/* Force white text on purple/gradient backgrounds */
.elementor-section[style*="background"],
.elementor-section[style*="gradient"] {
    color: var(--text-color);
}

.elementor-section[style*="background"] *,
.elementor-section[style*="gradient"] * {
    color: inherit;
}

/* Ensure headings are white on colored backgrounds */
.elementor-section[style*="background"] h1,
.elementor-section[style*="background"] h2,
.elementor-section[style*="background"] h3,
.elementor-section[style*="background"] h4,
.elementor-section[style*="background"] h5,
.elementor-section[style*="background"] h6,
.elementor-section[style*="background"] .elementor-heading-title,
.elementor-section[style*="gradient"] h1,
.elementor-section[style*="gradient"] h2,
.elementor-section[style*="gradient"] h3,
.elementor-section[style*="gradient"] h4,
.elementor-section[style*="gradient"] h5,
.elementor-section[style*="gradient"] h6,
.elementor-section[style*="gradient"] .elementor-heading-title {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Ensure paragraph text is white on colored backgrounds */
.elementor-section[style*="background"] p,
.elementor-section[style*="background"] .elementor-text-editor,
.elementor-section[style*="gradient"] p,
.elementor-section[style*="gradient"] .elementor-text-editor {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* List items on colored backgrounds */
.elementor-section[style*="background"] li,
.elementor-section[style*="gradient"] li {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Dark backgrounds - Light text */
.elementor-section.dark-bg,
.bg-dark {
    color: #ffffff;
}

.elementor-section.dark-bg h1,
.elementor-section.dark-bg h2,
.elementor-section.dark-bg h3,
.elementor-section.dark-bg h4,
.elementor-section.dark-bg p {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Light backgrounds - Dark text */
.elementor-section.light-bg h1,
.elementor-section.light-bg h2,
.elementor-section.light-bg h3,
.elementor-section.light-bg h4,
.elementor-section.light-bg p,
.bg-white h1,
.bg-white h2,
.bg-white h3,
.bg-white h4,
.bg-white p {
    color: #1a1a1a !important;
    text-shadow: none;
}

/* Gradient text styling */
.gradient-text {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ----------------
   BUTTON IMPROVEMENTS
   ---------------- */

/* Make buttons MUCH more prominent and touchable */
.elementor-button,
a.elementor-button {
    padding: clamp(12px, 2.4vw, 16px) clamp(24px, 5vw, 40px) !important;
    border-radius: 999px !important;
    font-size: clamp(0.95rem, 1.8vw, 1.0625rem) !important; /* ~15–17px */
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15) !important;
    transition: background-color .25s var(--transition-ease), color .25s var(--transition-ease), box-shadow .25s var(--transition-ease), transform .2s var(--transition-ease) !important;
    position: relative;
    overflow: hidden;
    border: none !important;
    display: inline-block;
    min-width: 160px;
    text-align: center;
}

/* Shine effect on hover */
.elementor-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.elementor-button:hover::before {
    left: 100%;
}

/* Hover effects */
.elementor-button:hover,
a.elementor-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18) !important;
}

.elementor-button:active {
    transform: translateY(-1px) scale(0.98) !important;
}

/* Primary button style */
.elementor-button-primary,
.elementor-button {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%) !important;
    color: #ffffff !important;
}

/* Secondary button style */
.elementor-button-secondary {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    color: #ffffff !important;
}

/* ----------------
   SPACING & LAYOUT IMPROVEMENTS
   ---------------- */

/* Better section spacing */
.elementor-section {
    padding: 72px 0; /* tighter vertical rhythm */
}

.elementor-section .elementor-container {
    max-width: 1120px; /* narrower for better readability */
    margin: 0 auto;
    padding: 0 20px;
}

/* Better column spacing */
.elementor-column-gap-default > .elementor-column > .elementor-element-populated {
    padding: 30px;
}

/* Icon list improvements - bigger and clearer */
.elementor-icon-list-item {
    padding: 15px 0;
    font-size: 1.25rem;
    line-height: 1.8;
}

.elementor-icon-list-icon {
    margin-right: 20px;
    font-size: 1.5rem;
}

.elementor-icon-list-text {
    font-weight: 500;
}

/* ----------------
   AIRPLAYX SPECIFIC IMPROVEMENTS
   ---------------- */

/* Header/Logo improvements */
.site-header {
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.05);
}

.site-logo img,
.elementor-widget-image img[src*="logo"] {
    max-height: 50px;
    width: auto;
}

/* Hero section - make it stunning */
.elementor-section:first-child,
.elementor-section.hero-section {
    min-height: 82vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Add subtle animation to hero content */
.elementor-section:first-child .elementor-heading-title {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Feature boxes - modern card style */
.feature-box,
.elementor-widget-icon-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.feature-box:hover,
.elementor-widget-icon-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.15);
}

/* Icon boxes styling */
.elementor-icon-box-icon {
    margin-bottom: 20px;
    font-size: 3rem !important;
}

.elementor-icon-box-title {
    font-size: 1.75rem !important;
    margin-bottom: 15px !important;
    font-weight: 700 !important;
}

.elementor-icon-box-description {
    font-size: 1.125rem !important;
    line-height: 1.7 !important;
    opacity: 0.95;
}

/* Call to action sections - centered and prominent */
.cta-section {
    text-align: center;
    padding: 80px 20px;
}

/* Images - add nice styling */
.elementor-widget-image img {
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease;
}

.elementor-widget-image:hover img {
    transform: scale(1.02);
}

/* Remove decorative section dividers for a cleaner look */

/* ----------------
   RESPONSIVE DESIGN
   ---------------- */

/* Tablet Landscape (1024px and below) */
@media (max-width: 1024px) {
    .elementor-section {
        padding: 80px 20px;
    }
    
    .elementor-button {
        min-width: 180px;
    }
    
    .elementor-column-gap-default > .elementor-column > .elementor-element-populated {
        padding: 25px;
    }
}

/* Tablet Portrait (768px and below) */
@media (max-width: 768px) {
    .elementor-section {
        padding: 60px 20px;
    }
    
    .elementor-section:first-child,
    .elementor-section.hero-section {
        min-height: 80vh;
    }
    
    .elementor-button {
        min-width: 160px;
    }
    
    .elementor-icon-box-icon {
        margin-bottom: 20px;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .elementor-section {
        padding: 40px 15px !important;
    }
    
    .elementor-section:first-child,
    .elementor-section.hero-section {
        min-height: 70vh;
    }
    
    .elementor-button {
        width: 100% !important;
        max-width: 100% !important;
        min-width: auto !important;
        margin: 10px 0 !important;
    }
    
    .site-logo img,
    .elementor-widget-image img[src*="logo"] {
        max-height: 40px;
    }
    
    .elementor-column-gap-default > .elementor-column > .elementor-element-populated {
        padding: 15px;
    }
    
    .elementor-icon-list-item {
        padding: 10px 0;
        font-size: 1rem;
    }
    
    .elementor-icon-box-title {
        font-size: 1.5rem !important;
    }
    
    .elementor-icon-box-description {
        font-size: 1rem !important;
    }
}

/* Extra Small Mobile (360px and below) */
@media (max-width: 360px) {
    .elementor-section {
        padding: 30px 10px !important;
    }
    
    .elementor-button {
        padding: 12px 24px !important;
        font-size: 0.95rem !important;
    }
    
    .elementor-icon-list-item {
        font-size: 1.125rem;
        padding: 12px 0;
    }
}