/**
 * FreeSlotz Footers - Hero Section Styles
 * 
 * @package FreeSlotzFooters
 * @version 1.0.0
 */

/* ========== CSS VARIABLES ========== */
:root {
    --freeslotzfooters-juice-orange: #FF6B35;
    --freeslotzfooters-juice-orange-dark: #E55A2B;
    --freeslotzfooters-juice-orange-light: #FF8A65;
    --freeslotzfooters-juice-cream: #FFF8E1;
    --freeslotzfooters-juice-green: #2E7D32;
}

/* ========== HERO WRAPPER ========== */
.freeslotzfooters-hero-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 380px;
    padding: 40px 20px 60px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    border-radius: 0 0 30px 30px;
}

/* Override Elementor containers for full width */
.elementor-widget-freeslotzfooters-hero {
    width: 100% !important;
    max-width: 100% !important;
}

.elementor-widget-freeslotzfooters-hero .elementor-widget-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ========== GRADIENT OVERLAYS ========== */
.freeslotzfooters-gradient-overlay {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 70%
    );
    pointer-events: none;
}

.freeslotzfooters-overlay-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -150px;
}

.freeslotzfooters-overlay-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    right: -100px;
}

/* ========== MAIN CONTAINER ========== */
.freeslotzfooters-hero-container {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* ========== LEFT SIDE - TEXT & SEARCH ========== */
.freeslotzfooters-hero-left {
    padding-right: 20px;
}

.freeslotzfooters-hero-subtitle {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 8px 0;
    padding: 0;
}

.freeslotzfooters-hero-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--freeslotzfooters-juice-cream);
    line-height: 1.2;
    margin: 0 0 18px 0;
    padding: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.freeslotzfooters-hero-description {
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 25px 0;
    padding: 0;
    max-width: 550px;
}

/* ========== SEARCH BAR ========== */
.freeslotzfooters-search-container {
    position: relative;
    max-width: 580px;
}

.freeslotzfooters-search-form {
    position: relative;
    width: 100%;
}

.freeslotzfooters-search-input {
    width: 100%;
    padding: 16px 140px 16px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.freeslotzfooters-search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.freeslotzfooters-search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.freeslotzfooters-search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px 28px;
    background: var(--freeslotzfooters-juice-green);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.freeslotzfooters-search-btn:hover {
    background: #246325;
    transform: translateY(-50%) scale(1.05);
}

.freeslotzfooters-search-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* ========== RIGHT SIDE - CATEGORY CARDS ========== */
.freeslotzfooters-hero-right {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.freeslotzfooters-category-card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    padding: 22px 18px;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-decoration: none;
    display: block;
}

.freeslotzfooters-category-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* Card Icon Badge */
.freeslotzfooters-card-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px auto;
    font-size: 22px;
}

.freeslotzfooters-badge-green { 
    background: linear-gradient(135deg, #2E7D32, #43A047); 
}
.freeslotzfooters-badge-blue { 
    background: linear-gradient(135deg, #1976D2, #42A5F5); 
}
.freeslotzfooters-badge-orange { 
    background: linear-gradient(135deg, #F57C00, #FF9800); 
}
.freeslotzfooters-badge-purple { 
    background: linear-gradient(135deg, #7B1FA2, #9C27B0); 
}
.freeslotzfooters-badge-yellow { 
    background: linear-gradient(135deg, #F9A825, #FDD835); 
}
.freeslotzfooters-badge-red { 
    background: linear-gradient(135deg, #D32F2F, #F44336); 
}

/* Card Arrow */
.freeslotzfooters-card-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.freeslotzfooters-category-card:hover .freeslotzfooters-card-arrow {
    color: rgba(255, 255, 255, 0.9);
    transform: translateX(3px);
}

/* Card Title */
.freeslotzfooters-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
    padding: 0;
    line-height: 1.3;
    text-align: center;
}

/* Card Description */
.freeslotzfooters-card-description {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.45;
    text-align: center;
    margin: 0;
    padding: 0;
}

/* Card Badge Text */
.freeslotzfooters-card-badge-text {
    position: absolute;
    top: 14px;
    left: 20px;
    background: var(--freeslotzfooters-juice-green);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.freeslotzfooters-badge-hot { 
    background: #F44336; 
}
.freeslotzfooters-badge-new { 
    background: #FF9800; 
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablet Large (1199px) */
@media (max-width: 1199px) {
    .freeslotzfooters-hero-wrapper {
        padding: 35px 20px 55px;
        min-height: 380px;
    }

    .freeslotzfooters-hero-container {
        gap: 50px;
    }

    .freeslotzfooters-hero-subtitle,
    .freeslotzfooters-hero-title {
        font-size: 38px;
    }

    .freeslotzfooters-hero-description {
        font-size: 14px;
    }

    .freeslotzfooters-hero-right {
        gap: 15px;
    }

    .freeslotzfooters-category-card {
        padding: 20px 16px;
    }

    .freeslotzfooters-card-icon-badge {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }

    .freeslotzfooters-card-title {
        font-size: 16px;
    }

    .freeslotzfooters-card-description {
        font-size: 12px;
    }
}

/* Tablet Small (1023px) */
@media (max-width: 1023px) {
    .freeslotzfooters-hero-wrapper {
        padding: 30px 18px 50px;
    }

    .freeslotzfooters-hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .freeslotzfooters-hero-left {
        padding-right: 0;
        text-align: center;
        max-width: 100%;
    }

    .freeslotzfooters-hero-subtitle,
    .freeslotzfooters-hero-title {
        font-size: 34px;
    }

    .freeslotzfooters-hero-description {
        font-size: 14px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 22px;
    }

    .freeslotzfooters-search-container {
        margin: 0 auto;
    }

    .freeslotzfooters-hero-right {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }

    .freeslotzfooters-category-card {
        padding: 18px 14px;
    }

    .freeslotzfooters-card-icon-badge {
        width: 40px;
        height: 40px;
        font-size: 19px;
        margin: 0 auto 12px auto;
    }

    .freeslotzfooters-card-title {
        font-size: 15px;
    }

    .freeslotzfooters-card-description {
        font-size: 12px;
    }
}

/* Mobile (767px) - Full Width Edge-to-Edge */
@media (max-width: 767px) {
    .freeslotzfooters-hero-wrapper {
        padding: 25px 15px 45px;
        min-height: auto;
        border-radius: 30px;
        /* Full-width mobile layout using calc technique */
        width: 100vw !important;
        max-width: none !important;
        margin-left: calc(-50vw + 50%) !important;
        position: relative;
    }

    /* Override Elementor on mobile */
    .elementor-element .freeslotzfooters-hero-wrapper {
        width: 100vw !important;
        max-width: none !important;
        margin-left: calc(-50vw + 50%) !important;
    }

    .freeslotzfooters-hero-container {
        gap: 30px;
    }

    .freeslotzfooters-hero-subtitle,
    .freeslotzfooters-hero-title {
        font-size: 30px;
    }

    .freeslotzfooters-hero-description {
        font-size: 13px;
        margin-bottom: 22px;
    }

    .freeslotzfooters-search-input {
        padding: 14px 130px 14px 16px;
        font-size: 14px;
    }

    .freeslotzfooters-search-btn {
        padding: 9px 22px;
        font-size: 13px;
    }

    .freeslotzfooters-hero-right {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .freeslotzfooters-category-card {
        padding: 18px 14px;
    }

    .freeslotzfooters-card-icon-badge {
        width: 38px;
        height: 38px;
        font-size: 18px;
        margin: 0 auto 10px auto;
    }

    .freeslotzfooters-card-title {
        font-size: 15px;
    }

    .freeslotzfooters-card-description {
        font-size: 12px;
    }

    .freeslotzfooters-card-arrow {
        width: 20px;
        height: 20px;
    }
}

/* Small Mobile (479px) */
@media (max-width: 479px) {
    .freeslotzfooters-hero-wrapper {
        padding: 20px 12px 40px;
        border-radius: 25px;
    }

    .freeslotzfooters-hero-container {
        gap: 25px;
    }

    .freeslotzfooters-hero-subtitle,
    .freeslotzfooters-hero-title {
        font-size: 26px;
    }

    .freeslotzfooters-hero-description {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .freeslotzfooters-search-input {
        padding: 12px 120px 12px 14px;
        font-size: 13px;
        border-radius: 10px;
    }

    .freeslotzfooters-search-btn {
        padding: 8px 18px;
        font-size: 12px;
    }

    .freeslotzfooters-hero-right {
        gap: 10px;
    }

    .freeslotzfooters-category-card {
        padding: 16px 12px;
    }

    .freeslotzfooters-card-icon-badge {
        width: 34px;
        height: 34px;
        font-size: 16px;
        margin: 0 auto 8px auto;
    }

    .freeslotzfooters-card-title {
        font-size: 14px;
    }

    .freeslotzfooters-card-description {
        font-size: 11px;
    }
}

/* ========== LARGE DISPLAYS (32" and above) ========== */
@media (min-width: 1920px) {
    .freeslotzfooters-hero-container {
        max-width: 100%;
        padding: 0 5%;
    }
}

/* ========== ELEMENTOR EDITOR PREVIEW FIX ========== */
.elementor-editor-active .freeslotzfooters-hero-wrapper {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 400px !important;
}

.elementor-editor-active .elementor-widget-freeslotzfooters-hero {
    min-height: 400px !important;
    display: block !important;
    visibility: visible !important;
}

.elementor-editor-active .elementor-widget-freeslotzfooters-hero .elementor-widget-container {
    min-height: 400px !important;
    display: block !important;
}

