/* ============================================================
   Woodmart Child - custom.css
   IPTV Smarters Prime - Custom Header, Navbar, 404 Styles
   ============================================================ */

/* === CUSTOM HEADER === */
.maruan-custom-header {
    position: relative;
    z-index: 9999;
    width: 100%;
    background: #0a0a1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.maruan-custom-header.maruan-scrolled {
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(10, 10, 26, 0.95);
}

.maruan-header-top {
    width: 100%;
}

.maruan-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.maruan-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.maruan-logo-img {
    height: 40px;
    width: auto;
    transition: height 0.3s ease;
}

.maruan-scrolled .maruan-logo-img {
    height: 32px;
}

/* Navigation */
.maruan-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.maruan-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
}

.maruan-nav-item {
    position: relative;
}

.maruan-nav-link {
    display: block;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Montserrat', 'Lato', sans-serif;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.maruan-nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.maruan-nav-link.maruan-nav-active {
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
}

/* Header Actions */
.maruan-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.maruan-whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #25d366;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Montserrat', 'Lato', sans-serif;
    transition: all 0.2s ease;
}

.maruan-whatsapp-btn:hover {
    background: #20bd5a;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.maruan-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.maruan-cart-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Hamburger */
.maruan-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    gap: 5px;
}

.maruan-hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.maruan-hamburger-active .maruan-hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.maruan-hamburger-active .maruan-hamburger-line:nth-child(2) {
    opacity: 0;
}
.maruan-hamburger-active .maruan-hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.maruan-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9998;
    padding-top: 80px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.maruan-mobile-menu.maruan-mobile-menu-open {
    opacity: 1;
    visibility: visible;
}

.maruan-mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.maruan-mobile-nav-link {
    display: block;
    padding: 14px 20px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    font-family: 'Montserrat', 'Lato', sans-serif;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.maruan-mobile-nav-link:hover,
.maruan-mobile-nav-link.maruan-nav-active {
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
}

.maruan-body-locked {
    overflow: hidden;
}

/* === 404 PAGE === */
.maruan-404 {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    text-align: center;
}

.maruan-404-inner {
    max-width: 600px;
    margin: 0 auto;
}

.maruan-404-icon {
    margin-bottom: 24px;
    opacity: 0.8;
}

.maruan-404-title {
    font-size: 120px;
    font-weight: 900;
    color: #ff6b35;
    margin: 0 0 16px;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 0 40px rgba(255, 107, 53, 0.3);
}

.maruan-404-subtitle {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px;
    font-family: 'Montserrat', sans-serif;
}

.maruan-404-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 40px;
    line-height: 1.6;
    font-family: 'Lato', sans-serif;
}

.maruan-404-search {
    margin-bottom: 40px;
}

/* Style FiboSearch on 404 */
.maruan-404-search .dgwt-wcas-search-wrapp,
.maruan-404-search .search-form {
    max-width: 500px;
    margin: 0 auto;
}

.maruan-404-search input[type="search"],
.maruan-404-search input[type="text"] {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Lato', sans-serif;
    box-sizing: border-box;
}

.maruan-404-search input[type="search"]:focus,
.maruan-404-search input[type="text"]:focus {
    border-color: #ff6b35;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.2);
}

.maruan-404-search input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.maruan-404-search .search-submit,
.maruan-404-search button[type="submit"] {
    display: none;
}

/* 404 Action Buttons */
.maruan-404-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.maruan-404-btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.maruan-404-btn-primary {
    background: #ff6b35;
    color: #fff;
}

.maruan-404-btn-primary:hover {
    background: #e85d2c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.maruan-404-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.maruan-404-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.maruan-404-btn-outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.maruan-404-btn-outline:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .maruan-nav {
        display: none;
    }

    .maruan-hamburger {
        display: flex;
    }

    .maruan-mobile-menu {
        display: block;
    }

    .maruan-whatsapp-btn span {
        display: none;
    }

    .maruan-whatsapp-btn {
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .maruan-header-inner {
        padding: 10px 16px;
    }

    .maruan-logo-img {
        height: 32px;
    }

    .maruan-404-title {
        font-size: 80px;
    }

    .maruan-404-subtitle {
        font-size: 22px;
    }

    .maruan-404-actions {
        flex-direction: column;
        align-items: center;
    }

    .maruan-404-btn {
        width: 100%;
        max-width: 280px;
    }
}

/* === SCROLL TO TOP (optional) === */
.maruan-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: #ff6b35;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9990;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.maruan-scroll-top-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.maruan-scroll-top:hover {
    background: #e85d2c;
    transform: translateY(-3px);
}

/* Override Woodmart body padding when custom header is fixed */
body.maruan-header-active {
    padding-top: 0 !important;
}
