/*
Theme Name: MultiPro
Theme URI: https://yoursite.com/multipro
Author: Your Name
Author URI: https://yoursite.com
Description: Temă multi-purpose profesională cu suport Elementor și template-uri pentru diverse business-uri: frizerii, restaurante, magazine, magazine online și multe altele. Design modern, complet personalizabil.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: multipro
Tags: elementor, business, restaurant, barbershop, ecommerce, customizable, modern, responsive, multipurpose

MultiPro WordPress Theme, (C) 2024
MultiPro is distributed under the terms of the GNU GPL.
*/

/* =====================================================
   CSS VARIABLES / DESIGN TOKENS
   ===================================================== */

:root {
    /* Colors - se pot modifica din Customizer */
    --mp-primary: #6366f1;
    --mp-primary-dark: #4f46e5;
    --mp-secondary: #8b5cf6;
    --mp-accent: #06b6d4;
    --mp-success: #10b981;
    --mp-warning: #f59e0b;
    --mp-danger: #ef4444;
    
    /* Neutrals */
    --mp-white: #ffffff;
    --mp-gray-50: #f8fafc;
    --mp-gray-100: #f1f5f9;
    --mp-gray-200: #e2e8f0;
    --mp-gray-300: #cbd5e1;
    --mp-gray-400: #94a3b8;
    --mp-gray-500: #64748b;
    --mp-gray-600: #475569;
    --mp-gray-700: #334155;
    --mp-gray-800: #1e293b;
    --mp-gray-900: #0f172a;
    --mp-black: #000000;
    
    /* Typography */
    --mp-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --mp-font-heading: 'Poppins', var(--mp-font-primary);
    
    /* Font Sizes */
    --mp-text-xs: 0.75rem;
    --mp-text-sm: 0.875rem;
    --mp-text-base: 1rem;
    --mp-text-lg: 1.125rem;
    --mp-text-xl: 1.25rem;
    --mp-text-2xl: 1.5rem;
    --mp-text-3xl: 1.875rem;
    --mp-text-4xl: 2.25rem;
    --mp-text-5xl: 3rem;
    --mp-text-6xl: 3.75rem;
    
    /* Spacing */
    --mp-space-1: 0.25rem;
    --mp-space-2: 0.5rem;
    --mp-space-3: 0.75rem;
    --mp-space-4: 1rem;
    --mp-space-5: 1.25rem;
    --mp-space-6: 1.5rem;
    --mp-space-8: 2rem;
    --mp-space-10: 2.5rem;
    --mp-space-12: 3rem;
    --mp-space-16: 4rem;
    --mp-space-20: 5rem;
    --mp-space-24: 6rem;
    
    /* Border Radius */
    --mp-radius-sm: 0.375rem;
    --mp-radius-md: 0.5rem;
    --mp-radius-lg: 0.75rem;
    --mp-radius-xl: 1rem;
    --mp-radius-2xl: 1.5rem;
    --mp-radius-full: 9999px;
    
    /* Shadows */
    --mp-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --mp-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --mp-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --mp-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --mp-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Transitions */
    --mp-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --mp-transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --mp-container-max: 1280px;
    --mp-header-height: 80px;
}

/* =====================================================
   RESET & BASE STYLES
   ===================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--mp-font-primary);
    font-size: var(--mp-text-base);
    line-height: 1.6;
    color: var(--mp-gray-700);
    background-color: var(--mp-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--mp-primary);
    text-decoration: none;
    transition: var(--mp-transition-fast);
}

a:hover {
    color: var(--mp-primary-dark);
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--mp-font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--mp-gray-900);
    margin-bottom: var(--mp-space-4);
}

h1 { font-size: var(--mp-text-5xl); }
h2 { font-size: var(--mp-text-4xl); }
h3 { font-size: var(--mp-text-3xl); }
h4 { font-size: var(--mp-text-2xl); }
h5 { font-size: var(--mp-text-xl); }
h6 { font-size: var(--mp-text-lg); }

p {
    margin-bottom: var(--mp-space-4);
}

/* =====================================================
   CONTAINER & LAYOUT
   ===================================================== */

.mp-container {
    width: 100%;
    max-width: var(--mp-container-max);
    margin: 0 auto;
    padding: 0 var(--mp-space-6);
}

.mp-section {
    padding: var(--mp-space-24) 0;
}

.mp-section-sm {
    padding: var(--mp-space-16) 0;
}

.mp-section-lg {
    padding: var(--mp-space-24) 0;
}

/* =====================================================
   BUTTONS
   ===================================================== */

.mp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--mp-space-2);
    padding: var(--mp-space-3) var(--mp-space-6);
    font-family: var(--mp-font-primary);
    font-size: var(--mp-text-sm);
    font-weight: 600;
    border-radius: var(--mp-radius-lg);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--mp-transition);
    text-decoration: none;
}

.mp-btn-primary {
    background: linear-gradient(135deg, var(--mp-primary), var(--mp-secondary));
    color: var(--mp-white);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.mp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
    color: var(--mp-white);
}

.mp-btn-secondary {
    background: var(--mp-white);
    color: var(--mp-gray-700);
    border-color: var(--mp-gray-200);
}

.mp-btn-secondary:hover {
    border-color: var(--mp-primary);
    color: var(--mp-primary);
}

.mp-btn-outline {
    background: transparent;
    color: var(--mp-primary);
    border-color: var(--mp-primary);
}

.mp-btn-outline:hover {
    background: var(--mp-primary);
    color: var(--mp-white);
}

.mp-btn-lg {
    padding: var(--mp-space-4) var(--mp-space-8);
    font-size: var(--mp-text-base);
}

.mp-btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: var(--mp-radius-full);
}

/* =====================================================
   HEADER
   ===================================================== */

.mp-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--mp-header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--mp-gray-100);
    transition: var(--mp-transition);
}

.mp-header.scrolled {
    box-shadow: var(--mp-shadow-md);
}

.mp-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.mp-logo {
    display: flex;
    align-items: center;
    gap: var(--mp-space-3);
}

.mp-logo img {
    height: 40px;
    width: auto;
}

.mp-logo-text {
    font-family: var(--mp-font-heading);
    font-size: var(--mp-text-xl);
    font-weight: 700;
    color: var(--mp-gray-900);
}

.mp-nav {
    display: flex;
    align-items: center;
    gap: var(--mp-space-8);
}

.mp-nav-menu {
    display: flex;
    align-items: center;
    gap: var(--mp-space-1);
    list-style: none;
    margin: 0;
    padding: 0;
}

.mp-nav-menu li a {
    display: block;
    padding: var(--mp-space-2) var(--mp-space-4);
    color: var(--mp-gray-600);
    font-weight: 500;
    border-radius: var(--mp-radius-md);
    transition: var(--mp-transition-fast);
}

.mp-nav-menu li a:hover,
.mp-nav-menu li.current-menu-item a {
    color: var(--mp-primary);
    background: rgba(99, 102, 241, 0.1);
}

.mp-nav-cta {
    display: flex;
    align-items: center;
    gap: var(--mp-space-4);
}

.mp-mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
}

.mp-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--mp-gray-700);
    position: relative;
    transition: var(--mp-transition);
}

.mp-mobile-toggle span::before,
.mp-mobile-toggle span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    transition: inherit;
}

.mp-mobile-toggle span::before { top: -8px; }
.mp-mobile-toggle span::after { bottom: -8px; }

/* =====================================================
   HERO SECTION
   ===================================================== */

.mp-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--mp-header-height);
    background: linear-gradient(135deg, var(--mp-gray-50) 0%, var(--mp-white) 100%);
    position: relative;
    overflow: hidden;
}

.mp-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 50%;
    transform: rotate(-15deg);
}

.mp-hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.mp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--mp-space-2);
    padding: var(--mp-space-2) var(--mp-space-4);
    background: rgba(99, 102, 241, 0.1);
    color: var(--mp-primary);
    border-radius: var(--mp-radius-full);
    font-size: var(--mp-text-sm);
    font-weight: 600;
    margin-bottom: var(--mp-space-6);
}

.mp-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: var(--mp-space-6);
}

.mp-hero-title span {
    background: linear-gradient(135deg, var(--mp-primary), var(--mp-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mp-hero-text {
    font-size: var(--mp-text-lg);
    color: var(--mp-gray-600);
    margin-bottom: var(--mp-space-8);
}

.mp-hero-buttons {
    display: flex;
    gap: var(--mp-space-4);
    flex-wrap: wrap;
}

.mp-hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    max-width: 700px;
}

/* =====================================================
   FEATURES SECTION
   ===================================================== */

.mp-features {
    background: var(--mp-white);
}

.mp-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--mp-space-16);
}

.mp-section-subtitle {
    display: inline-block;
    color: var(--mp-primary);
    font-weight: 600;
    font-size: var(--mp-text-sm);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--mp-space-4);
}

.mp-section-title {
    margin-bottom: var(--mp-space-4);
}

.mp-section-desc {
    color: var(--mp-gray-500);
    font-size: var(--mp-text-lg);
}

.mp-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--mp-space-8);
}

.mp-feature-card {
    padding: var(--mp-space-8);
    background: var(--mp-white);
    border-radius: var(--mp-radius-2xl);
    border: 1px solid var(--mp-gray-100);
    transition: var(--mp-transition);
}

.mp-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--mp-shadow-xl);
    border-color: transparent;
}

.mp-feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--mp-primary), var(--mp-secondary));
    border-radius: var(--mp-radius-xl);
    margin-bottom: var(--mp-space-6);
    color: var(--mp-white);
    font-size: 28px;
}

.mp-feature-title {
    font-size: var(--mp-text-xl);
    margin-bottom: var(--mp-space-3);
}

.mp-feature-desc {
    color: var(--mp-gray-500);
    margin-bottom: 0;
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */

.mp-services {
    background: var(--mp-gray-50);
}

.mp-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--mp-space-6);
}

.mp-service-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--mp-radius-2xl);
    aspect-ratio: 1;
    cursor: pointer;
}

.mp-service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--mp-transition);
}

.mp-service-card:hover img {
    transform: scale(1.1);
}

.mp-service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--mp-space-6);
    color: var(--mp-white);
}

.mp-service-title {
    color: var(--mp-white);
    font-size: var(--mp-text-xl);
    margin-bottom: var(--mp-space-2);
}

.mp-service-price {
    font-size: var(--mp-text-2xl);
    font-weight: 700;
    color: var(--mp-accent);
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */

.mp-testimonials {
    background: linear-gradient(135deg, var(--mp-gray-900) 0%, var(--mp-gray-800) 100%);
    color: var(--mp-white);
}

.mp-testimonials .mp-section-subtitle {
    color: var(--mp-accent);
}

.mp-testimonials .mp-section-title {
    color: var(--mp-white);
}

.mp-testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.mp-testimonial {
    text-align: center;
    padding: var(--mp-space-8);
}

.mp-testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--mp-radius-full);
    margin: 0 auto var(--mp-space-6);
    border: 4px solid var(--mp-primary);
    overflow: hidden;
}

.mp-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mp-testimonial-text {
    font-size: var(--mp-text-xl);
    font-style: italic;
    margin-bottom: var(--mp-space-6);
    line-height: 1.8;
}

.mp-testimonial-author {
    font-weight: 600;
    font-size: var(--mp-text-lg);
}

.mp-testimonial-role {
    color: var(--mp-gray-400);
    font-size: var(--mp-text-sm);
}

.mp-testimonial-stars {
    display: flex;
    justify-content: center;
    gap: var(--mp-space-1);
    margin-bottom: var(--mp-space-4);
    color: var(--mp-warning);
}

/* =====================================================
   CTA SECTION
   ===================================================== */

.mp-cta {
    background: linear-gradient(135deg, var(--mp-primary) 0%, var(--mp-secondary) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mp-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.mp-cta-inner {
    position: relative;
    z-index: 1;
}

.mp-cta .mp-section-title {
    color: var(--mp-white);
}

.mp-cta .mp-section-desc {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--mp-space-8);
}

.mp-cta .mp-btn-secondary {
    background: var(--mp-white);
    color: var(--mp-primary);
    border-color: var(--mp-white);
}

/* =====================================================
   FOOTER
   ===================================================== */

.mp-footer {
    background: var(--mp-gray-900);
    color: var(--mp-gray-400);
    padding: var(--mp-space-16) 0 var(--mp-space-8);
}

.mp-footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--mp-space-12);
    margin-bottom: var(--mp-space-12);
}

.mp-footer-brand {
    max-width: 300px;
}

.mp-footer-logo {
    display: flex;
    align-items: center;
    gap: var(--mp-space-3);
    margin-bottom: var(--mp-space-4);
}

.mp-footer-logo img {
    height: 40px;
}

.mp-footer-logo-text {
    font-family: var(--mp-font-heading);
    font-size: var(--mp-text-xl);
    font-weight: 700;
    color: var(--mp-white);
}

.mp-footer-desc {
    margin-bottom: var(--mp-space-6);
    line-height: 1.8;
}

.mp-social-links {
    display: flex;
    gap: var(--mp-space-3);
}

.mp-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mp-gray-800);
    border-radius: var(--mp-radius-md);
    color: var(--mp-gray-400);
    transition: var(--mp-transition);
}

.mp-social-link:hover {
    background: var(--mp-primary);
    color: var(--mp-white);
}

.mp-footer-title {
    font-size: var(--mp-text-lg);
    font-weight: 600;
    color: var(--mp-white);
    margin-bottom: var(--mp-space-6);
}

.mp-footer-menu {
    list-style: none;
}

.mp-footer-menu li {
    margin-bottom: var(--mp-space-3);
}

.mp-footer-menu a {
    color: var(--mp-gray-400);
    transition: var(--mp-transition-fast);
}

.mp-footer-menu a:hover {
    color: var(--mp-white);
    padding-left: var(--mp-space-2);
}

.mp-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--mp-space-8);
    border-top: 1px solid var(--mp-gray-800);
}

.mp-copyright {
    font-size: var(--mp-text-sm);
}

.mp-footer-legal {
    display: flex;
    gap: var(--mp-space-6);
}

.mp-footer-legal a {
    color: var(--mp-gray-400);
    font-size: var(--mp-text-sm);
}

.mp-footer-legal a:hover {
    color: var(--mp-white);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

@media (max-width: 1024px) {
    .mp-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mp-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mp-hero-image {
        display: none;
    }
    
    .mp-hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .mp-hero-buttons {
        justify-content: center;
    }
    
    .mp-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --mp-header-height: 70px;
    }
    
    .mp-nav-menu,
    .mp-nav-cta {
        display: none;
    }
    
    .mp-mobile-toggle {
        display: flex;
    }
    
    .mp-features-grid,
    .mp-services-grid {
        grid-template-columns: 1fr;
    }
    
    .mp-footer-grid {
        grid-template-columns: 1fr;
        gap: var(--mp-space-8);
    }
    
    .mp-footer-bottom {
        flex-direction: column;
        gap: var(--mp-space-4);
        text-align: center;
    }
    
    h1 { font-size: var(--mp-text-4xl); }
    h2 { font-size: var(--mp-text-3xl); }
}

/* =====================================================
   ANIMATIONS
   ===================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mp-animate {
    animation: fadeInUp 0.6s ease forwards;
}

.mp-animate-delay-1 { animation-delay: 0.1s; }
.mp-animate-delay-2 { animation-delay: 0.2s; }
.mp-animate-delay-3 { animation-delay: 0.3s; }
.mp-animate-delay-4 { animation-delay: 0.4s; }

/* =====================================================
   DARK MODE SUPPORT
   ===================================================== */

@media (prefers-color-scheme: dark) {
    .mp-dark-auto {
        --mp-white: #0f172a;
        --mp-gray-50: #1e293b;
        --mp-gray-100: #334155;
        --mp-gray-200: #475569;
        --mp-gray-700: #cbd5e1;
        --mp-gray-900: #f8fafc;
    }
}

/* =====================================================
   ELEMENTOR COMPATIBILITY
   ===================================================== */

.elementor-page .mp-header {
    display: none;
}

.elementor-page .mp-footer {
    display: none;
}

/* Elementor widget overrides for consistency */
.elementor-widget-heading .elementor-heading-title {
    font-family: var(--mp-font-heading);
}

.elementor-widget-button .elementor-button {
    font-family: var(--mp-font-primary);
    border-radius: var(--mp-radius-lg);
}
