/**
 * EatNTreat Premium Design System
 * Modern, Elegant, and SEO-friendly
 */

:root {
    --primary-color: #8B0000; /* Deep Burgundy */
    --accent-color: #D4AF37;  /* Metallic Gold */
    --text-color: #2C2C2C;
    --light-bg: #FAFAFA;
    --white: #FFFFFF;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Typography Enhancement */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.seo-h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Elementor Container Responsiveness Fixes */
@media (max-width: 1024px) {
    /* Target Elementor Containers */
    .e-con, .e-con-inner {
        flex-direction: column !important;
        width: 100% !important;
        flex-wrap: wrap !important;
    }
    
    .e-con > .e-con-inner {
        width: 100% !important;
    }

    /* Fix horizontal overflow */
    html, body {
        overflow-x: hidden;
        position: relative;
    }
    
    .elementor {
        overflow: hidden;
    }
}

/* Premium Button Styling */
.elementor-button, .btn-premium {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    border-radius: 8px !important;
    padding: 14px 28px !important;
    font-weight: 600 !important;
    transition: var(--transition) !important;
    box-shadow: var(--shadow) !important;
    border: none !important;
}

.elementor-button:hover, .btn-premium:hover {
    background-color: #A52A2A !important;
    box-shadow: var(--shadow-hover) !important;
    transform: translateY(-3px);
}

/* Glassmorphism Cards */
.elementor-widget-image-box, .elementor-widget-icon-box {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.elementor-widget-image-box:hover, .elementor-widget-icon-box:hover {
    background: rgba(255, 255, 255, 1) !important;
    box-shadow: var(--shadow-hover);
    transform: translateY(-10px);
}

/* Image Hover Zoom */
.elementor-image img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.elementor-image:hover img {
    transform: scale(1.08);
}

/* Mobile Menu Button */
.ast-mobile-menu-buttons .menu-toggle {
    background-color: var(--primary-color) !important;
    border-radius: 8px;
}
