/**
 * Lift 'N Move Gallery - Theme Overrides
 * Version: 1.0.0
 *
 * This file uses !important to override WordPress theme styles
 * Load this after style.css to ensure plugin styles are applied
 */

/* ============================================
   CONTAINER OVERRIDES
   ============================================ */

.lnm-gallery-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    background-color: #010101 !important;
}

.lnm-gallery-container * {
    box-sizing: border-box !important;
}

.lnm-gallery-inner {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 80px 40px !important;
}

/* ============================================
   MAIN HEADER OVERRIDES
   ============================================ */

.lnm-gallery-container .lnm-main-header {
    max-width: 1400px !important;
    margin: 0 auto 60px auto !important;
    padding: 0 20px !important;
}

.lnm-gallery-container .lnm-header-label {
    display: inline-block !important;
    font-family: var(--font-body) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: var(--color-white) !important;
    border: 2px solid var(--color-white) !important;
    padding: 8px 20px !important;
    border-radius: 25px !important;
    margin-bottom: 30px !important;
}

.lnm-gallery-container .lnm-header-hero {
    font-family: var(--font-header) !important;
    font-size: 72px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    margin-bottom: 25px !important;
    text-transform: uppercase !important;
    letter-spacing: -2px !important;
}

.lnm-gallery-container .lnm-hero-line-white {
    display: block !important;
    color: var(--color-white) !important;
    font-style: italic !important;
}

.lnm-gallery-container .lnm-hero-line-red {
    display: block !important;
    color: var(--color-primary) !important;
    font-style: italic !important;
}

.lnm-gallery-container .lnm-header-description {
    font-family: var(--font-body) !important;
    font-size: 18px !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    max-width: 700px !important;
    margin-bottom: 0 !important;
}

/* ============================================
   GRID OVERRIDES
   ============================================ */

.lnm-gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    grid-template-rows: repeat(4, 250px) !important;
    gap: 20px !important;
}

.lnm-gallery-item {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    cursor: pointer !important;
}

.lnm-gallery-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ============================================
   MODAL OVERRIDES
   ============================================ */

.lnm-gallery-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 999999 !important;
}

.lnm-gallery-modal-overlay {
    background: rgba(1, 1, 1, 0.95) !important;
}

.lnm-gallery-modal-content {
    position: relative !important;
    z-index: 1000000 !important;
}

.lnm-gallery-modal-info h3 {
    color: #C62128 !important;
    font-weight: 800 !important;
}

.lnm-gallery-modal-info p {
    color: #fff !important;
}

/* ============================================
   RESPONSIVE OVERRIDES - TABLET
   ============================================ */

@media (max-width: 1024px) {
    .lnm-gallery-inner {
        padding: 60px 30px !important;
    }

    .lnm-gallery-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        grid-template-rows: repeat(6, 200px) !important;
        gap: 15px !important;
    }
}

/* ============================================
   RESPONSIVE OVERRIDES - MOBILE
   ============================================ */

@media (max-width: 768px) {
    .lnm-gallery-inner {
        padding: 40px 20px !important;
    }

    .lnm-gallery-container .lnm-main-header {
        margin-bottom: 40px !important;
    }

    .lnm-gallery-container .lnm-header-label {
        font-size: 10px !important;
        padding: 6px 16px !important;
    }

    .lnm-gallery-container .lnm-header-hero {
        font-size: 42px !important;
        letter-spacing: -1px !important;
    }

    .lnm-gallery-container .lnm-header-description {
        font-size: 16px !important;
    }

    .lnm-gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(8, 150px) !important;
        gap: 10px !important;
    }
}

@media (max-width: 480px) {
    .lnm-gallery-container .lnm-header-hero {
        font-size: 32px !important;
    }

    .lnm-gallery-container .lnm-header-description {
        font-size: 15px !important;
    }
}
