/* =========================================
   PRD Specs: Colors & Typography
   ========================================= */
:root {
    --color-primary: #0F1E36;      /* כחול נייבי עמוק */
    --color-gold: #D4AF37;         /* זהב מט/מוברש */
    --color-gold-hover: #C5A059;   /* זהב - מצב ריחוף */
    --color-pearl: #F9F9FB;        /* לבן פנינה */
    --color-light-gray: #F1F3F5;   /* אפור בהיר מאוד */
    --color-text: #333333;
    --color-text-light: #666666;
    --color-white: #FFFFFF;
    
    --font-main: 'Assistant', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

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

.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mt-30 { margin-top: 30px; }

/* =========================================
   Sticky Header (תפריט ניווט עליון צף)
   ========================================= */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sticky-header.scrolled {
    background-color: rgba(15, 30, 54, 0.98); /* Navy Deep */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: none;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-nav ul {
    display: flex;
    gap: 35px;
}

.header-nav a {
    color: var(--color-white);
    font-size: 1.05rem;
    font-weight: 600;
    padding: 10px 0;
    position: relative;
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--color-gold);
}

.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--color-white);
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 3px solid var(--color-gold);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    color: var(--color-text);
    padding: 15px 20px;
    display: block;
    border-bottom: 1px solid var(--color-light-gray);
    font-size: 1rem;
}

.dropdown li:last-child a { border-bottom: none; }

.dropdown li a:hover {
    background-color: var(--color-pearl);
    color: var(--color-primary);
    padding-right: 25px; /* Micro-interaction */
}

/* =========================================
   Buttons & UI Elements
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 3px;
    text-align: center;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-gold-hover);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--color-white);
}

.divider {
    height: 3px;
    width: 70px;
    background-color: var(--color-gold);
    margin: 20px 0 30px 0;
}

.divider.center {
    margin: 20px auto 40px auto;
}

/* =========================================
   Hero Section (H1 + 3 Seconds Rule)
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background: url('/assets/images/hero-bg.jpg') center/cover no-repeat;
    padding: 0 40px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,30,54,0.95) 0%, rgba(15,30,54,0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: var(--color-white);
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    max-width: 600px;
}

/* =========================================
   Sections & Whitespace (מניעת עומס קוגניטיבי)
   ========================================= */
.section {
    padding: 120px 0;
}

.bg-pearl { background-color: var(--color-pearl); }
.bg-light-gray { background-color: var(--color-light-gray); }

.section-title h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    font-weight: 800;
}

/* =========================================
   Practice Areas Grid & 1.02% Hover Scale
   ========================================= */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.card-practice {
    background-color: var(--color-white);
    padding: 50px 30px;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.03);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    /* אפקט Hover מדויק מהאפיון */
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.card-practice:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(15,30,54,0.08);
    border-bottom: 3px solid var(--color-gold);
}

.card-icon {
    margin-bottom: 25px;
    color: var(--color-gold);
    display: flex;
    justify-content: center;
}

.card-icon svg {
    width: 48px;
    height: 48px;
}

.card-practice h3 {
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.card-practice p {
    color: var(--color-text-light);
    font-size: 1rem;
}

/* =========================================
   About & "אני מאמין" Section
   ========================================= */
.about-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-content { flex: 1.2; }
.about-image { flex: 0.8; }

.about-content h2 {
    font-size: 2.2rem;
    color: var(--color-primary);
}

.lead-text {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    color: var(--color-gold);
    display: flex;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
}

.stat-text {
    font-weight: 600;
    color: var(--color-primary);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 80px 0 20px;
}

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

.footer-col h3 {
    color: var(--color-gold);
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.footer-col ul li { margin-bottom: 15px; }
.footer-col ul li a { color: rgba(255,255,255,0.7); }
.footer-col ul li a:hover { color: var(--color-gold); }

.footer-col p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
}

.footer-col a { color: rgba(255,255,255,0.7); }
.footer-col a:hover { color: var(--color-gold); }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
}

/* =========================================
   Mobile First & Responsiveness
   ========================================= */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--color-white);
    transition: 0.3s;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background-color: var(--color-primary);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu nav ul {
    text-align: center;
}

.mobile-menu nav ul li {
    margin-bottom: 30px;
}

.mobile-menu nav ul li a {
    color: var(--color-white);
    font-size: 1.8rem;
    font-weight: 700;
}

.mobile-contact {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-contact .btn {
    width: 100%;
}

@media (max-width: 1024px) {
    .header-nav { display: none; }
    .header-actions .btn-primary { display: none; }
    .menu-toggle { display: flex; }
    
    .hero h1 { font-size: 2.8rem; }
    .about-flex { flex-direction: column; gap: 50px; }
    .about-image { order: -1; width: 100%; max-width: 600px; }
}

@media (max-width: 768px) {
    .header-container { padding: 0 20px; height: 80px; }
    .hero { padding: 0 20px; text-align: center; }
    .hero h1 { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.2rem; margin-left: auto; margin-right: auto; }
    
    .section { padding: 80px 0; }
    .stats-grid { grid-template-columns: 1fr; }
}