/*
Theme Name: Marketing Without Filter
Theme URI: https://marketingwithoutfilter.com
Author: Marketing Without Filter
Author URI: https://marketingwithoutfilter.com
Description: Custom theme for Marketing Without Filter - Raw. Honest. Effective.
Version: 1.0.0
License: Private
Text Domain: mwf
*/

/* ===== RESET & VARIABLES ===== */
:root {
    --primary-red: #ce202a;
    --secondary-black: #040404;
    --accent-gray: #2d2d2d;
    --bg-soft: #fefcf5;
    --pure-white: #ffffff;
    --shadow-sm: 0 8px 20px rgba(4,4,4,0.06);
    --shadow-hover: 0 15px 30px rgba(206,32,42,0.1);
    --gradient-bg: linear-gradient(135deg, var(--secondary-black) 0%, #ce202a 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: var(--bg-soft);
    color: var(--secondary-black);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    color: var(--secondary-black);
    line-height: 1.2;
}

h1 { font-size: 3.2rem; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.8rem; font-weight: 600; }
h4 { font-size: 1.3rem; font-weight: 600; }

/* ===== BUTTONS ===== */
.btn-outline {
    border: 2px solid var(--primary-red);
    background: transparent;
    padding: 10px 26px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-red);
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-2px);
}

.btn-solid {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 6px 0 var(--secondary-black);
    transition: 0.2s;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-solid:hover {
    background: #b01b24;
    transform: translateY(-2px);
    box-shadow: 0 8px 0 var(--secondary-black);
}

.btn-service {
    background: transparent;
    border: 2px solid var(--primary-red);
    color: var(--secondary-black);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 20px;
    display: inline-block;
    text-decoration: none;
}

.btn-service:hover {
    background: var(--primary-red);
    color: white;
}

/* ===== HEADER STYLES ===== */
.site-header {
    background: var(--pure-white);
    border-bottom: 1px solid rgba(4,4,4,0.1);
    position: relative;
    width: 100%;
    z-index: 1000;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 15px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles */
.logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
}

.logo-icon {
    background: var(--primary-red);
    width: 42px;
    height: 42px;
    border-radius: 12px 4px 12px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 22px;
    transform: rotate(-2deg);
    box-shadow: 0 4px 0 var(--secondary-black);
    transition: transform 0.3s;
}

.logo-area:hover .logo-icon {
    transform: rotate(0deg);
}

.logo-text .top {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: var(--primary-red);
    text-transform: uppercase;
}

.logo-text .main {
    color: var(--secondary-black);
    font-weight: 800;
    font-size: 1.4rem;
    line-height: 1.2;
    text-decoration: none;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 32px;
}

.nav-menu li {
    position: relative;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--secondary-black);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 0;
    display: block;
    transition: color 0.2s;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a:focus,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
    color: var(--primary-red);
}

.nav-menu .current-menu-item > a:after,
.nav-menu .current_page_item > a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-red);
}

/* Dropdown Styles */
.nav-menu .menu-item-has-children {
    position: relative;
}

.nav-menu .menu-item-has-children > a {
    padding-right: 20px;
}

.nav-menu .menu-item-has-children > a:before {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    color: var(--primary-red);
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--secondary-black);
    min-width: 280px;
    padding: 0.5rem 0;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1001;
    list-style: none;
    margin: 0;
}

.nav-menu .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    width: 100%;
    margin: 0;
}

.sub-menu a {
    padding: 0.75rem 1.5rem;
    color: white !important;
    font-size: 0.95rem;
    white-space: nowrap;
    display: block;
}

.sub-menu a:hover {
    background: var(--primary-red);
    color: white !important;
}

.sub-menu a:after {
    display: none !important;
}

/* Mobile Menu Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-red);
    cursor: pointer;
    padding: 5px;
}

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
}

/* ===== FOOTER STYLES ===== */
.site-footer {
    background: var(--secondary-black);
    color: white;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.site-footer:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(206,32,42,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 32px 0;
    position: relative;
    z-index: 2;
}

.footer-main {
    margin-bottom: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
}

/* Footer Logo */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    width: 42px;
    height: 42px;
    background: var(--primary-red);
    border-radius: 12px 4px 12px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 22px;
    transform: rotate(-2deg);
    box-shadow: 0 4px 0 var(--primary-red);
}

.footer-logo-text .top {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: var(--primary-red);
    text-transform: uppercase;
}

.footer-logo-text .main {
    color: white;
    font-weight: 800;
    font-size: 1.4rem;
    line-height: 1.2;
}

.footer-tagline {
    color: #999;
    line-height: 1.7;
    margin-bottom: 25px;
    max-width: 300px;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(206,32,42,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-size: 1.2rem;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-3px);
}

/* Footer Titles */
.footer-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-red);
}

/* Footer Menus */
.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95rem;
    position: relative;
    padding-left: 15px;
}

.footer-menu a:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    opacity: 0;
    transition: all 0.2s;
}

.footer-menu a:hover {
    color: white;
    padding-left: 20px;
}

.footer-menu a:hover:before {
    opacity: 1;
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: #999;
}

.footer-contact i {
    color: var(--primary-red);
    font-size: 1.2rem;
    margin-top: 4px;
    min-width: 20px;
}

.footer-contact a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
    display: block;
    line-height: 1.5;
}

.footer-contact a:hover {
    color: white;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
}

.footer-bottom-content {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 1024px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
}

@media screen and (max-width: 991px) {
    .header-container {
        padding: 15px 20px;
        flex-wrap: wrap;
    }

    .mobile-menu-toggle {
        display: block;
        order: 3;
    }

    .main-navigation {
        display: none;
        width: 100%;
        order: 4;
        margin-top: 20px;
    }

    .main-navigation.active {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        background: var(--secondary-black);
        border-radius: 12px;
        overflow: hidden;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        color: white;
        padding: 15px 20px;
    }

    .nav-menu a:hover {
        background: var(--primary-red);
        color: white;
    }

    .nav-menu .current-menu-item > a:after,
    .nav-menu .current_page_item > a:after {
        display: none;
    }

    .nav-menu .menu-item-has-children > a:before {
        right: 20px;
        color: white;
    }

    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0,0,0,0.3);
        padding: 0;
        min-width: 100%;
        border-radius: 0;
    }

    .sub-menu a {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .sub-menu a:hover {
        background: var(--primary-red);
    }

    .header-cta {
        margin-left: auto;
        margin-right: 15px;
    }

    .btn-outline {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    
    .container {
        padding: 0 20px;
    }
    
    .footer-container {
        padding: 40px 20px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-col:first-child {
        order: 1;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-tagline {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-title {
        text-align: center;
    }

    .footer-title:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-menu {
        text-align: center;
    }

    .footer-menu a {
        padding-left: 0;
    }

    .footer-menu a:before {
        display: none;
    }

    .footer-menu a:hover {
        padding-left: 0;
        color: var(--primary-red);
    }

    .footer-contact li {
        justify-content: center;
        text-align: center;
    }

    .footer-contact i {
        margin-top: 0;
    }

    .footer-bottom {
        margin-top: 20px;
    }
}

@media screen and (max-width: 480px) {
    .logo-text .top {
        font-size: 0.7rem;
    }

    .logo-text .main {
        font-size: 1.1rem;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .footer-social {
        flex-wrap: wrap;
    }
    
    .footer-contact li {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }
}

/* ===== UTILITY CLASSES ===== */
.hide-mobile {
    display: none;
}

@media screen and (min-width: 768px) {
    .hide-mobile {
        display: block;
    }
}

.show-mobile {
    display: block;
}

@media screen and (min-width: 768px) {
    .show-mobile {
        display: none;
    }
}

/* ===== TOUCH FRIENDLY ===== */
button, a, .feature-card, .pricing-card {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}