/* ==========================================================================
   Base Styles & Variables - Central Bark
   ========================================================================== */
:root {
    --primary-color: #0069a9;       /* כחול מותג ראשי */
    --primary-hover: #00558a;       /* כחול כהה יותר לריחופים (Hover) */
    --accent-color: #00abda;        /* תכלת מותג - לכפתורים משניים, אייקונים ואלמנטים בולטים */
    --bg-dark: #241f21;             /* אפור-כהה מותג לפוטר ואלמנטים כהים */
    --text-color: #241f21;          /* צבע הטקסט הראשי של האתר */
    
    /* שאר הגדרות התשתית נשארות זהות */
    --bg-light: #f9fbfd;
    --bg-white: #ffffff;
    --text-light: #666666;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    --transition-speed: 0.3s;
    --font-main: 'Assistant', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Typography & Global Elements
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    transition: all var(--transition-speed);
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-white);
    border-color: var(--bg-white);
}

.btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-large {
    font-size: 1.2rem;
    padding: 15px 35px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-container a {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo-container span {
    color: var(--accent-color);
}

.main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Mobile Menu Overlay */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001; 
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition-speed);
    border-radius: 2px;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-white);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease-in-out;
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-nav-links {
    text-align: center;
}

.mobile-nav-links li {
    margin: 20px 0;
}

.mobile-nav-links a {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    margin-top: 80px; 
    height: calc(100vh - 80px);
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--bg-white);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Services Section (Homepage)
   ========================================================================== */
.services-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: rgba(46, 125, 50, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 35px;
    height: 35px;
}

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

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    color: var(--accent-color);
    font-weight: 700;
    margin-top: auto;
    display: inline-block;
    color: var(--primary-color);
    transition: color var(--transition-speed);
}

.service-card:hover .service-link {
    color: var(--primary-hover);
}

/* ==========================================================================
   Mini About Section
   ========================================================================== */
.about-mini {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.about-mini-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-mini-content {
    flex: 1;
}

.about-mini-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.about-mini-content h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 25px;
    font-weight: 600;
}

.about-mini-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-mini-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-mini-image img {
    width: 100%;
    height: auto;
    transform: scale(1);
    transition: transform 0.5s ease;
}

.about-mini-image:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    position: relative;
}

.testimonial-card::before {
    content: '“';
    font-size: 6rem;
    color: rgba(46, 125, 50, 0.1);
    position: absolute;
    top: -10px;
    right: 20px;
    font-family: serif;
}

.stars {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-card h4 {
    color: var(--primary-color);
    font-weight: 700;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--bg-dark);
    color: var(--bg-white);
    padding: 60px 0 20px;
}

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

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-col p, .footer-col ul li {
    margin-bottom: 15px;
    color: #cccccc;
}

.footer-col a:hover {
    color: var(--accent-color);
}

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

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .nav-links, .header-actions {
        display: none; 
    }
    .hamburger {
        display: flex; 
    }
    .about-mini-container {
        flex-direction: column;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .hero-content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
    }
    .btn-large {
        width: 100%;
    }
}