/* Elementor Compatibility Styles */

/* Reset Elementor default styles that might conflict */
.elementor-widget-container {
    box-sizing: border-box;
}

/* Ensure theme colors work with Elementor */
.elementor-section {
    --primary: #ff6b35;
    --secondary: #2c3e50;
    --accent: #f39c12;
    --text: #333;
    --text-light: #666;
    --background: #fff;
    --surface: #f8f9fa;
}

/* Elementor button compatibility */
.elementor-button {
    background: var(--primary) !important;
    color: white !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.elementor-button:hover {
    background: #e55a2b !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3) !important;
}

/* Elementor heading compatibility */
.elementor-heading-title {
    color: var(--text) !important;
    font-family: 'Poppins', sans-serif !important;
}

/* Elementor text editor compatibility */
.elementor-text-editor {
    color: var(--text-light) !important;
    line-height: 1.6 !important;
}

/* Elementor section padding adjustments */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1200px !important;
}

/* Hero section for Elementor */
.elementor-section.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%) !important;
    color: white !important;
    padding: 100px 0 !important;
    text-align: center !important;
}

.elementor-section.hero-section .elementor-heading-title {
    color: white !important;
    font-size: 3rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
}

.elementor-section.hero-section .elementor-text-editor {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.2rem !important;
    margin-bottom: 2rem !important;
}

/* Services section for Elementor */
.elementor-section.services-section {
    padding: 80px 0 !important;
    background: var(--surface) !important;
}

.elementor-section.services-section .elementor-heading-title {
    text-align: center !important;
    margin-bottom: 3rem !important;
    font-size: 2.5rem !important;
    color: var(--secondary) !important;
}

/* Service cards in Elementor */
.service-card-elementor {
    background: white !important;
    padding: 2rem !important;
    border-radius: 15px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
    text-align: center !important;
    transition: transform 0.3s ease !important;
    height: 100% !important;
}

.service-card-elementor:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

.service-card-elementor .elementor-icon {
    color: var(--primary) !important;
    font-size: 3rem !important;
    margin-bottom: 1rem !important;
}

.service-card-elementor .elementor-heading-title {
    color: var(--secondary) !important;
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
}

.service-card-elementor .elementor-text-editor {
    color: var(--text-light) !important;
    line-height: 1.6 !important;
}

/* Gallery section for Elementor */
.elementor-section.gallery-section {
    padding: 80px 0 !important;
}

.elementor-section.gallery-section .elementor-heading-title {
    text-align: center !important;
    margin-bottom: 3rem !important;
    font-size: 2.5rem !important;
    color: var(--secondary) !important;
}

/* Gallery grid in Elementor */
.gallery-grid-elementor {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 20px !important;
    margin-top: 2rem !important;
}

.gallery-item-elementor {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 15px !important;
    height: 200px !important;
    cursor: pointer !important;
}

.gallery-item-elementor img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

.gallery-item-elementor:hover img {
    transform: scale(1.1) !important;
}

.gallery-overlay-elementor {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.8), rgba(44, 62, 80, 0.8)) !important;
    color: white !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    text-align: center !important;
}

.gallery-item-elementor:hover .gallery-overlay-elementor {
    opacity: 1 !important;
}

/* Contact section for Elementor */
.elementor-section.contact-section {
    background: var(--secondary) !important;
    color: white !important;
    padding: 80px 0 !important;
    text-align: center !important;
}

.elementor-section.contact-section .elementor-heading-title {
    color: white !important;
    font-size: 2.5rem !important;
    margin-bottom: 1rem !important;
}

.elementor-section.contact-section .elementor-text-editor {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.2rem !important;
    margin-bottom: 2rem !important;
}

/* Contact buttons in Elementor */
.contact-buttons-elementor {
    display: flex !important;
    gap: 1rem !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}

.contact-buttons-elementor .elementor-button {
    background: var(--primary) !important;
    color: white !important;
    padding: 15px 30px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: all 0.3s ease !important;
}

.contact-buttons-elementor .elementor-button:hover {
    background: #e55a2b !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .elementor-section.hero-section .elementor-heading-title {
        font-size: 2rem !important;
    }
    
    .elementor-section.hero-section .elementor-text-editor {
        font-size: 1rem !important;
    }
    
    .gallery-grid-elementor {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    }
    
    .contact-buttons-elementor {
        flex-direction: column !important;
        align-items: center !important;
    }
}

/* WhatsApp float button compatibility */
.whatsapp-float-elementor {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    background: #25d366 !important;
    color: white !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
    transition: all 0.3s ease !important;
    z-index: 1000 !important;
}

.whatsapp-float-elementor:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4) !important;
}