/* ===================================
   ציפי לידים - שיווק און ליין
   Style.css - Modern & Clean Design
   =================================== */

/* === Variables === */
:root {
    /* Colors */
    --primary-color: #0066CC;
    --primary-dark: #004D99;
    --primary-light: #3385D6;
    --secondary-color: #FF6B35;
    --accent-color: #00C9A7;
    
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --text-light: #999999;
    
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gray: #f0f2f5;
    
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.15);
    
    /* Typography */
    --font-primary: 'Heebo', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.7;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px;
    --section-padding-mobile: 50px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* === Reset & Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: var(--line-height-base);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

/* === Container === */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* === WhatsApp Float Button === */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all var(--transition-base);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
    }
}

/* ===================================
   HEADER
   =================================== */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: all var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

/* Logo */
.logo img {
    height: 60px;
    width: auto;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    font-weight: 500;
    font-size: 16px;
    color: var(--text-dark);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-base);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition-base);
    border-radius: 2px;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 60px 0 0;
    margin-top: unset;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-desc {
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition-base);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Footer Links */
.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-right: 5px;
}

/* Footer Contact */
.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.8);
}

.footer-contact i {
    color: var(--accent-color);
    width: 20px;
}

.footer-contact a:hover {
    color: var(--accent-color);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-legal a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    transition: var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--accent-color);
}

.footer-legal span {
    color: rgba(255,255,255,0.3);
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 992px) {
    .main-nav {
        position: fixed;
        top: 85px;
        right: -100%;
        width: 300px;
        height: calc(100vh - 85px);
        background: white;
        flex-direction: column;
        padding: 30px;
        box-shadow: -2px 0 20px rgba(0,0,0,0.1);
        transition: right var(--transition-base);
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
    
    .main-nav a {
        font-size: 18px;
    }
    
    .main-nav .btn {
        width: 100%;
        margin-top: 20px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    /* Container padding */
    .container {
        padding: 0 15px;
    }
    
    /* Section padding */
    :root {
        --section-padding: 60px;
    }
}

@media (max-width: 768px) {
    /* Root variables */
    :root {
        --section-padding: 50px;
        --font-size-base: 15px;
    }
    
    /* Typography */
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    h3 {
        font-size: 20px;
    }
    
    /* WhatsApp Button */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        left: 20px;
    }
    
    /* Header */
    .logo img {
        height: 50px;
    }
    
    .header-content {
        padding: 12px 0;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    /* Page Header */
    .page-header {
        padding: 80px 0 50px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .page-subtitle {
        font-size: 16px;
    }
    
    /* Footer */
    .footer {
        padding: 50px 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    /* Legal Pages */
    .legal-wrapper {
        padding: 40px 25px;
    }
    
    .legal-section h2 {
        font-size: 22px;
    }
    
    .legal-section p,
    .legal-section li {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    /* Extra small devices */
    :root {
        --section-padding: 40px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Typography */
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    /* Buttons */
    .btn {
        width: 100%;
        padding: 14px 20px;
    }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    /* Social Links */
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    /* Trust Badges */
    .trust-badges {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .trust-badge {
        font-size: 14px;
    }
}

/* === Utility Classes === */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-40 {
    margin-top: 40px;
}

/* === Fade In Animation === */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   CTA SECTION
========================= */

.cta-section {
    position: relative;
    padding: 90px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    overflow: hidden;
}

/* Glow background shapes */
.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.cta-section::before {
    top: -150px;
    right: -150px;
}

.cta-section::after {
    bottom: -150px;
    left: -150px;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 60px 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    color: white;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 35px;
    line-height: 1.7;
}

/* CTA Button Enhancement */
.cta-content .btn-primary {
    font-size: 18px;
    padding: 18px 44px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.35);
    animation: cta-pulse 2.5s infinite;
}

.cta-content .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0,0,0,0.45);
}

/* Pulse animation */
@keyframes cta-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255,255,255,0.35);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(255,255,255,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255,255,255,0);
    }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
    .cta-section {
        padding: 70px 0;
    }

    .cta-content {
        padding: 45px 25px;
        border-radius: 24px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-content p {
        font-size: 16px;
    }

    .cta-content .btn-primary {
        width: 100%;
        padding: 16px 20px;
        font-size: 17px;
        animation: none; /* במובייל פחות רעש */
    }
}
