/*
Theme Name: Makinfanz Modern Theme
Description: A modern, responsive WordPress theme designed for Allsmilz | Makinfanz streaming devices. Features dark theme with gradient accents, fully compatible with Elementor Pro for easy customization.
Author: Makinfanz Team
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: makinfanz-theme
Tags: streaming, modern, dark-theme, elementor, responsive, business
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    min-height: 100vh;
}

/* WordPress Core Styles */
.wp-block-group {
    margin-bottom: 2rem;
}

.wp-block-heading {
    margin-bottom: 1rem;
    font-weight: 700;
}

.wp-block-paragraph {
    margin-bottom: 1rem;
}

.wp-block-image {
    margin-bottom: 1.5rem;
}

.wp-block-button {
    margin-bottom: 1rem;
}

/* Elementor Compatibility */
.elementor-section {
    position: relative;
}

.elementor-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.elementor-row {
    display: flex;
    flex-wrap: wrap;
}

.elementor-column {
    flex: 1;
    padding: 0 15px;
}

.elementor-widget {
    margin-bottom: 20px;
}

/* Brand Colors */
:root {
    --brand-blue: #00d4ff;
    --brand-orange: #ff6b35;
    --dark-primary: #1a1a2e;
    --dark-secondary: #16213e;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    color: #ffffff;
}

h2 {
    font-size: 2.5rem;
    color: #ffffff;
}

h3 {
    font-size: 2rem;
    color: #ffffff;
}

h4 {
    font-size: 1.5rem;
    color: #ffffff;
}

p {
    margin-bottom: 1rem;
    color: var(--slate-300);
}

a {
    color: var(--brand-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--brand-orange);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-orange) 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0ea5e9 0%, #ea580c 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
    border: 2px solid var(--slate-600);
    color: var(--slate-300);
    background: transparent;
}

.btn-secondary:hover {
    background: var(--slate-700);
    color: white;
}

/* Cards */
.card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--slate-700);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.card:hover {
    background: rgba(51, 65, 85, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Navigation */
.main-navigation {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--slate-700);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-orange) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.site-tagline {
    font-size: 0.75rem;
    color: var(--slate-400);
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-menu a {
    color: var(--slate-300);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: white;
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--slate-800);
    color: var(--slate-300);
    border: 1px solid var(--slate-600);
    border-radius: 50px;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--slate-300);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--slate-700);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(51, 65, 85, 0.5);
    transform: translateY(-5px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon.blue {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.feature-icon.orange {
    background: linear-gradient(135deg, var(--brand-orange) 0%, #ea580c 100%);
}

.feature-icon.green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Footer */
.site-footer {
    background: var(--slate-900);
    border-top: 1px solid var(--slate-700);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--slate-400);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--slate-700);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--slate-400);
    font-size: 0.875rem;
    margin: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* WordPress Admin Bar Compatibility */
.admin-bar .main-navigation {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .main-navigation {
        top: 46px;
    }
}

/* Elementor Overrides */
.elementor-widget-heading .elementor-heading-title {
    color: inherit;
}

.elementor-widget-text-editor {
    color: var(--slate-300);
}

.elementor-widget-button .elementor-button {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-orange) 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.elementor-widget-button .elementor-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

/* Custom Elementor Sections */
.elementor-section.dark-section {
    background: rgba(30, 41, 59, 0.5);
}

.elementor-section.gradient-section {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 2rem; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 4rem 0;
}

.section-sm {
    padding: 2rem 0;
}

.section-lg {
    padding: 6rem 0;
}

