/*
Theme Name: Memalef Theme
Theme URI: https://memalef.co.il
Author: MA Marketing
Author URI: https://memalef.co.il
Description: תבנית מותאמת אישית למ.א. שיווק הפצה וייצור - חריטה ממוחשבת, חותמות, מגיני הוקרה
Version: 1.0
Requires at least: 5.0
Tested up to: 6.5
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: memalef
Tags: rtl-language, right-to-left, business, hebrew
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #1a3a6b;
    --primary-dark: #0f2547;
    --primary-light: #2d5aa0;
    --accent: #c8a84b;
    --text-dark: #1a1a2e;
    --text-mid: #444466;
    --text-light: #6b6b8a;
    --bg-light: #f4f6fa;
    --bg-white: #ffffff;
    --bg-gray: #eef0f5;
    --border: #d0d5e8;
    --shadow: 0 4px 20px rgba(26,58,107,0.10);
    --shadow-hover: 0 8px 32px rgba(26,58,107,0.18);
    --radius: 10px;
    --radius-lg: 18px;
    --transition: 0.28s cubic-bezier(.4,0,.2,1);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    direction: rtl;
    text-align: right;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--primary-dark);
    color: #cdd8f0;
    font-size: 0.82rem;
    padding: 7px 0;
    border-bottom: 2px solid var(--accent);
}
.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.top-bar a { color: #cdd8f0; transition: color var(--transition); }
.top-bar a:hover { color: var(--accent); }
.top-bar-contact { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.top-bar-contact span { display: flex; align-items: center; gap: 6px; }
.top-bar-contact .icon { font-size: 0.9rem; }

/* ===== HEADER ===== */
.site-header {
    background: var(--bg-white);
    box-shadow: 0 2px 16px rgba(26,58,107,0.10);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.site-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -1px;
    box-shadow: 0 3px 14px rgba(26,58,107,0.3);
    flex-shrink: 0;
    border: 3px solid var(--accent);
}
.logo-text .company-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}
.logo-text .company-slogan {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 2px;
}

/* ===== NAVIGATION ===== */
.site-nav ul {
    display: flex;
    gap: 4px;
    align-items: center;
}
.site-nav ul li a {
    display: block;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-mid);
    transition: all var(--transition);
    white-space: nowrap;
}
.site-nav ul li a:hover,
.site-nav ul li.current-menu-item > a {
    background: var(--primary);
    color: white;
}
.mobile-menu-btn {
    display: none;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 9px 12px;
    cursor: pointer;
    font-size: 1.2rem;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f2547 0%, #1a3a6b 40%, #2d5aa0 100%);
}
.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(200,168,75,0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 40%),
        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.03'%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");
    pointer-events: none;
}
.hero-gears {
    position: absolute;
    left: -40px;
    top: -40px;
    width: 320px;
    height: 320px;
    opacity: 0.06;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='40' stroke='white' stroke-width='3' fill='none'/%3E%3Ccircle cx='50' cy='50' r='25' stroke='white' stroke-width='3' fill='none'/%3E%3Ccircle cx='50' cy='50' r='8' fill='white'/%3E%3C/svg%3E") center/cover;
    pointer-events: none;
}
.hero-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}
.hero-text h1 {
    font-size: 3.4rem;
    font-weight: 900;
    color: white;
    line-height: 1.2;
    margin-bottom: 18px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-text h1 span {
    color: var(--accent);
    display: block;
}
.hero-text .hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
    line-height: 1.8;
}
.hero-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.hero-badge {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(200,168,75,0.4);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}
.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 13px 28px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1rem;
    transition: all var(--transition);
    box-shadow: 0 4px 16px rgba(200,168,75,0.4);
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background: #e0b93d;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(200,168,75,0.5);
    color: var(--primary-dark);
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: white;
    padding: 13px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition);
    border: 2px solid rgba(255,255,255,0.4);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
    transform: translateY(-2px);
    color: white;
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.stat-card {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 20px 16px;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: all var(--transition);
}
.stat-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-3px);
}
.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

/* ===== SECTION WRAPPER ===== */
.section-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-title {
    text-align: center;
    margin-bottom: 48px;
}
.section-title h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 10px;
}
.section-title p {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 580px;
    margin: 0 auto;
}
.title-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    margin: 14px auto 0;
}

/* ===== CATEGORIES SECTION ===== */
.categories-section {
    padding: 72px 0;
    background: var(--bg-white);
}
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.category-card {
    background: var(--bg-light);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
    color: inherit;
}
.category-icon-wrap {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 32px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    min-height: 110px;
    position: relative;
    overflow: hidden;
}
.category-icon-wrap::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.category-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.category-body h3 {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--primary);
}
.category-body p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    flex: 1;
}
.category-arrow {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-top: 6px;
    transition: gap var(--transition);
}
.category-card:hover .category-arrow { gap: 10px; }

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 72px 0;
    background: var(--bg-gray);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.about-visual {
    position: relative;
}
.about-img-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-hover);
}
.about-img-icon {
    font-size: 5rem;
    opacity: 0.4;
}
.about-badge {
    position: absolute;
    bottom: -16px;
    left: 24px;
    background: var(--accent);
    color: var(--primary-dark);
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 4px 16px rgba(200,168,75,0.4);
}
.about-content h2 {
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.25;
}
.about-content p {
    color: var(--text-mid);
    margin-bottom: 16px;
    line-height: 1.8;
}
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 24px 0;
}
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--bg-white);
    padding: 12px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.feature-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 1px;
}
.feature-text strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}
.feature-text span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ===== WHY US SECTION ===== */
.why-section {
    padding: 72px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
}
.why-section::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='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.why-section .section-title h2 { color: white; }
.why-section .section-title p { color: rgba(255,255,255,0.75); }
.why-section .title-line { background: linear-gradient(90deg, var(--accent), white); }
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.why-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: all var(--transition);
}
.why-card:hover {
    background: rgba(255,255,255,0.14);
    transform: translateY(-5px);
}
.why-icon { font-size: 2.4rem; margin-bottom: 14px; }
.why-card h3 {
    font-size: 1rem;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
}
.why-card p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
}

/* ===== CONTACT SECTION / PAGE ===== */
.contact-section {
    padding: 72px 0;
    background: var(--bg-white);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
}
.contact-info h2 {
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 10px;
}
.contact-info p {
    color: var(--text-mid);
    margin-bottom: 28px;
    line-height: 1.8;
}
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 18px;
    transition: all var(--transition);
}
.contact-item:hover { border-color: var(--primary-light); box-shadow: var(--shadow); }
.contact-item-icon {
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-item-text strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 3px;
}
.contact-item-text a, .contact-item-text span {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--primary);
}
.contact-item-text a:hover { color: var(--primary-light); }

/* ===== CONTACT FORM ===== */
.contact-form-wrap {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1.5px solid var(--border);
}
.contact-form-wrap h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 24px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-mid);
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--bg-white);
    color: var(--text-dark);
    direction: rtl;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,58,107,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
    margin-top: 6px;
}
.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* ===== MAP SECTION ===== */
.map-section {
    background: var(--bg-gray);
    padding: 48px 0;
}
.map-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 2px solid var(--border);
}
.map-embed iframe {
    display: block;
    width: 100%;
    height: 380px;
    border: none;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 56px 0 0;
    border-top: 3px solid var(--accent);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-logo-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.95rem;
    font-weight: 800;
    border: 2px solid var(--accent);
}
.footer-logo-text strong {
    display: block;
    color: white;
    font-size: 0.98rem;
    font-weight: 800;
}
.footer-logo-text span {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
}
.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.65);
}
.footer-col h4 {
    font-size: 0.98rem;
    font-weight: 800;
    color: white;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(200,168,75,0.4);
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 7px;
}
.footer-links a:hover { color: var(--accent); }
.footer-links a::before { content: '←'; font-size: 0.7rem; opacity: 0.6; }
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
}
.footer-contact-list li span:first-child { font-size: 0.95rem; flex-shrink: 0; }
.footer-contact-list a { color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-contact-list a:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 18px 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--accent); }

/* ===== PAGE TITLE BAR ===== */
.page-title-bar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 48px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-title-bar::after {
    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='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.page-title-bar h1 {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    position: relative;
    z-index: 1;
}
.page-title-bar .breadcrumb {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    margin-top: 8px;
    position: relative;
    z-index: 1;
}
.page-title-bar .breadcrumb a { color: var(--accent); }

/* ===== PRODUCTS PAGE ===== */
.products-section {
    padding: 64px 0;
    background: var(--bg-white);
}

/* ===== ABOUT/PROFILE PAGE ===== */
.profile-section {
    padding: 64px 0;
    background: var(--bg-white);
}
.profile-content {
    max-width: 840px;
    margin: 0 auto;
}
.profile-content h2 {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 16px;
    margin-top: 36px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--bg-gray);
}
.profile-content h2:first-child { margin-top: 0; }
.profile-content p {
    color: var(--text-mid);
    line-height: 1.85;
    margin-bottom: 14px;
}
.highlight-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin: 28px 0;
}
.highlight-box h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--accent);
}
.highlight-box p { color: rgba(255,255,255,0.88); margin: 0; }
.services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 20px 0;
}
.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-light);
    padding: 14px 16px;
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}
.service-item .si-icon { font-size: 1.3rem; }

/* ===== FLOATING PHONE BUTTON ===== */
.float-phone {
    position: fixed;
    bottom: 28px;
    left: 28px;
    background: #25d366;
    color: white;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.5);
    z-index: 999;
    transition: all var(--transition);
    text-decoration: none;
}
.float-phone:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 28px rgba(37,211,102,0.6);
    color: white;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header-inner { flex-wrap: wrap; }
    .site-nav { display: none; width: 100%; }
    .site-nav.open { display: block; }
    .site-nav ul { flex-direction: column; padding: 10px 0; gap: 2px; }
    .mobile-menu-btn { display: flex; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 2.4rem; }
    .hero-cta { justify-content: center; }
    .hero-badges { justify-content: center; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .form-row { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .services-list { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .categories-grid { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: 1fr; }
    .hero-text h1 { font-size: 2rem; }
    .top-bar-inner { flex-direction: column; gap: 4px; text-align: center; }
}

/* ===== V1.1 ADDITIONS ===== */

/* CALL NOW BUTTON */
.btn-call-now {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #e02020 0%, #b01010 100%);
    color: #0f2547 !important;
    padding: 13px 24px;
    border-radius: 12px;
    font-weight: 900;
    font-size: 1rem;
    transition: all 0.28s ease;
    box-shadow: 0 4px 20px rgba(200,30,30,0.45);
    text-decoration: none;
    border: none;
    cursor: pointer;
    animation: pulse-red 2.5s infinite;
}
.btn-call-now i { font-size: 1.2rem; flex-shrink: 0; }
.btn-call-text { display: flex; flex-direction: column; line-height: 1.2; }
.btn-call-text strong { font-size: 1rem; }
.btn-call-text small { font-size: 0.85rem; font-weight: 700; opacity: 0.85; }
.btn-call-now:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(200,30,30,0.6); animation: none; color: #fff !important; }
@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 4px 20px rgba(200,168,75,0.45); }
    50% { box-shadow: 0 4px 28px rgba(200,168,75,0.75), 0 0 0 8px rgba(200,168,75,0.12); }
}
@keyframes pulse-red {
    0%, 100% { box-shadow: 0 4px 20px rgba(200,30,30,0.45); }
    50% { box-shadow: 0 4px 28px rgba(200,30,30,0.75), 0 0 0 8px rgba(200,30,30,0.12); }
}
.btn-call-small { padding: 11px 20px; font-size: 0.95rem; }
.btn-secondary-dark { background: var(--primary); color: white; border: none; }
.btn-secondary-dark:hover { background: var(--primary-dark); color: white; }
.about-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }

/* HERO V2 */
.hero-since-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(200,168,75,0.2); border: 1px solid rgba(200,168,75,0.5);
    color: var(--accent); padding: 6px 16px; border-radius: 20px;
    font-size: 0.85rem; font-weight: 700; margin-bottom: 16px;
}
.hero-content { grid-template-columns: 1.1fr 0.9fr; }
.hero-stats-bar { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0 0; }
.hero-stats { display: flex; gap: 0; }
.hero-stats .stat-card { flex: 1; background: rgba(255,255,255,0.07); border: none; border-right: 1px solid rgba(255,255,255,0.1); border-radius: 0; }
.hero-stats .stat-card:last-child { border-right: none; }

/* HERO IMAGE SIDE */
.hero-image-side { display: flex; align-items: center; justify-content: center; }
.hero-product-showcase { width: 100%; max-width: 440px; }
.showcase-img-wrap { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.4); border: 2px solid rgba(200,168,75,0.3); }
.showcase-img-wrap img { width: 100%; height: 300px; object-fit: cover; display: block; }
.showcase-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(15,37,71,0.9)); padding: 20px; color: white; display: flex; align-items: center; gap: 12px; }
.showcase-icon { font-size: 1.5rem; color: var(--accent); }
.showcase-overlay span { font-size: 1rem; font-weight: 700; }

/* ABOUT IMAGE V2 */
.about-img-box { position: relative; }
.about-img-box img { width: 100%; height: 360px; object-fit: cover; border-radius: var(--radius-lg); display: block; }
.about-img-fallback { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: rgba(255,255,255,0.6); font-size: 1rem; font-weight: 600; }
.about-img-fallback i { font-size: 4rem; opacity: 0.5; }
.about-img-box.no-img img { display: none; }
.about-img-box.no-img .about-img-fallback { display: flex; }

/* CATEGORY ICON FA */
.category-icon-wrap i { color: rgba(255,255,255,0.9); }
.category-icon-wrap { min-height: 100px; }

/* WHY ICON FA */
.why-icon i { font-size: 2.4rem; color: var(--accent); }
.why-icon { margin-bottom: 14px; }

/* CONTACT INTERACTIVE */
.contact-cta-bar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    box-shadow: var(--shadow);
}
.contact-cta-text { display: flex; align-items: center; gap: 12px; color: white; font-size: 1.1rem; font-weight: 700; }
.contact-cta-text i { color: var(--accent); }
.contact-cta-phones { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-call-mobile {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.15); border: 1.5px solid rgba(255,255,255,0.3);
    color: white !important; padding: 11px 20px; border-radius: 10px;
    font-weight: 700; font-size: 0.95rem; transition: all 0.28s ease; text-decoration: none;
}
.btn-call-mobile:hover { background: rgba(255,255,255,0.25); color: white !important; }

.contact-item-link { text-decoration: none; color: inherit; cursor: pointer; }
.contact-item-link:hover { border-color: var(--primary); box-shadow: 0 4px 16px rgba(26,58,107,0.15); transform: translateX(-3px); color: inherit; }
.contact-item-action { margin-right: auto; color: var(--primary-light); font-size: 0.85rem; opacity: 0.6; transition: all 0.28s ease; }
.contact-item-link:hover .contact-item-action { opacity: 1; transform: translateX(-4px); }
.contact-item-text span { font-size: 1rem; font-weight: 700; color: var(--primary); }

/* FLOAT PHONE PULSE */
.float-phone { animation: pulse-green 2.5s infinite; }
@keyframes pulse-green {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
    50% { box-shadow: 0 4px 28px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.1); }
}

@media (max-width: 768px) {
    .hero-content { grid-template-columns: 1fr; }
    .hero-image-side { display: none; }
    .contact-cta-bar { flex-direction: column; text-align: center; }
    .contact-cta-phones { justify-content: center; }
}


/* ===== MOBILE-OVERFLOW-FIX ===== */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
}
@media (max-width: 768px) {
  .top-bar-inner,
  .header-inner,
  .hero-content,
  .hero-section,
  .section-wrap,
  .about-grid,
  .categories-grid,
  .container {
    max-width: 100% !important;
    box-sizing: border-box;
  }
  img, video, iframe {
    max-width: 100% !important;
    height: auto;
  }
}
/* ===== END MOBILE-OVERFLOW-FIX ===== */