/* --- VARIABLES & RESET --- */
:root {
    --color-background: #F9FAFB; /* Off White */
    --color-white: #FFFFFF; /* Pure White for cards/elements */
    --color-sea-blue: #0284C7;
    --color-energy-orange: #F97316;
    --color-neon-green-accent: #84CC16;
    --color-dark-text: #1E293B;
    --color-light-text: #6b7280;
    --color-border: #e5e7eb;

    --font-primary: 'Inter', 'Noto Sans Hebrew', sans-serif;
    --font-secondary: 'Assistant', 'Cormorant Garamond', serif;

    --header-height: 80px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-dark-text);
    background-color: var(--color-background);
    direction: rtl;
    text-align: right;
}

/* --- UTILITIES & HELPERS --- */
.container {
    width: 100%;
    max-width: 1140px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 20px;
    padding-left: 20px;
}

section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-dark-text);
    text-align: center;
    margin-bottom: 40px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-sea-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0369a1; /* Darker blue */
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-energy-orange);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #ea580c; /* Darker orange */
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-dark-text);
    border-color: var(--color-border);
}

.btn-secondary:hover {
    background-color: #f1f5f9; /* Lighter gray */
    border-color: #f1f5f9;
}

/* --- ACCESSIBILITY --- */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--color-dark-text);
    color: white;
    padding: 10px;
    z-index: 9999;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 0;
}

/* --- HEADER --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background-color: rgba(249, 250, 251, 0.8); /* Semi-transparent background */
    backdrop-filter: blur(5px);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.main-header.scrolled {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.main-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-dark-text);
}

.logo:hover {
    color: var(--color-dark-text);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--color-dark-text);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-energy-orange);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-btn {
    display: block;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-dark-text);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* --- HERO SECTION --- */
.hero-section {
    background-color: var(--color-background);
    background-image: url('../img/hero-bg.webp');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: var(--header-height);
}

.hero-section .container {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.hero-section h1 {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-section .subtitle {
    font-size: 1.25rem;
    color: var(--color-light-text);
    max-width: 600px;
    margin: 0 auto 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* --- DEMO NOTICE SECTIONS --- */
.demo-notice {
    padding: 20px 0;
    text-align: center;
}
.demo-notice p {
    font-size: 1.1rem;
    font-weight: 500;
}
.demo-notice-1 { background-color: rgba(132, 204, 22, 0.15); } /* Neon Green Accent */
.demo-notice-2 { background-color: rgba(2, 132, 199, 0.1); } /* Sea Blue Accent */

/* --- SERVICES SECTION --- */
.services-section {
    background-color: var(--color-background);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--color-white);
    padding: 30px;
    text-align: center;
    border: 1px solid var(--color-border);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(55, 65, 81, 0.07);
}

.service-icon {
    margin-bottom: 20px;
    color: var(--color-sea-blue);
}

.service-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--color-light-text);
}

/* --- ABOUT SECTION --- */
.about-section {
    background-color: var(--color-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(55, 65, 81, 0.1);
}

.about-text .section-title {
    text-align: right;
}

.about-text p {
    margin-bottom: 20px;
}

/* --- PROCESS SECTION --- */
.process-section {
    background-color: var(--color-background);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.process-step {
    text-align: center;
    width: 22%;
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    right: 50%;
    transform: translateX(50%);
    font-size: 1rem;
    font-weight: bold;
    color: var(--color-sea-blue);
    background: var(--color-white);
    padding: 0 5px;
}

.step-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(2, 132, 199, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    color: var(--color-sea-blue);
}

.process-step h3 {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--color-light-text);
}

.process-line {
    flex-grow: 1;
    height: 2px;
    background-color: var(--color-border);
    margin-top: 35px;
}

/* --- GALLERY SECTION --- */
.gallery-section {
    padding-bottom: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.gallery-item {
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* --- PRICING SECTION --- */
.pricing-section {
    background-color: var(--color-background);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border: 2px solid var(--color-energy-orange);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: -40px;
    background-color: var(--color-energy-orange);
    color: var(--color-white);
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.9rem;
    font-weight: bold;
}

.pricing-header h3 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-sea-blue);
    margin-bottom: 20px;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-light-text);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: right;
}

.pricing-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li svg {
    color: var(--color-neon-green-accent);
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
}

/* --- FAQ SECTION --- */
.faq-section {
    background-color: var(--color-white);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    text-align: right;
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
}

.faq-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-right: 15px;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.faq-answer p {
    padding: 0 0 20px;
    color: var(--color-light-text);
}

/* --- TESTIMONIALS SECTION --- */
.testimonials-section {
    background-color: var(--color-background);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--color-border);
    box-shadow: 0 5px 15px rgba(55, 65, 81, 0.05);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin: 0;
    font-family: var(--font-secondary);
    font-size: 1.2rem;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--color-light-text);
}

.testimonial-card p {
    font-style: italic;
    color: var(--color-light-text);
    position: relative;
    padding-right: 20px;
}

.testimonial-card p::before {
    content: '“';
    position: absolute;
    top: -10px;
    right: 0;
    font-size: 3rem;
    color: var(--color-neon-green-accent);
    opacity: 0.5;
}

/* --- CONTACT SECTION --- */
.contact-section {
    background-color: var(--color-background);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background-color: var(--color-white);
    padding: 60px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(55, 65, 81, 0.07);
}

.contact-info .section-title {
    text-align: right;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
    color: var(--color-light-text);
}

.contact-info ul {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-info li svg {
    color: var(--color-sea-blue);
    flex-shrink: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-sea-blue);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
}

.form-group .error-message {
    display: none;
    color: #ef4444;
    font-size: 0.9rem;
    margin-top: 5px;
}

.form-group.invalid .error-message {
    display: block;
}

.form-group.invalid input,
.form-group.invalid textarea {
    border-color: #ef4444;
}

.thank-you-message {
    background-color: rgba(132, 204, 22, 0.2);
    color: var(--color-dark-text);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
}

/* --- FOOTER --- */
.main-footer {
    background-color: var(--color-white);
    padding: 60px 0 30px;
    color: var(--color-light-text);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3, .footer-contact h4, .footer-social h4 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--color-dark-text);
    margin-bottom: 15px;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact a, .footer-credit a {
    color: var(--color-light-text);
}
.footer-contact a:hover, .footer-credit a:hover {
    color: var(--color-dark-text);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-light-text);
}

.social-links a:hover {
    background-color: var(--color-sea-blue);
    border-color: var(--color-sea-blue);
    color: var(--color-white);
}

.footer-credit {
    border-top: 1px solid var(--color-border);
    padding-top: 30px;
    margin-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}

/* --- RESPONSIVE DESIGN (MOBILE-FIRST) --- */
@media (max-width: 992px) {
    .section-title { font-size: 2.2rem; }
    .hero-section h1 { font-size: 2.8rem; }
    
    .about-content, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .about-image { order: -1; margin-bottom: 30px; }
    .about-text .section-title, .contact-info .section-title { text-align: center; }

    .process-steps { flex-direction: column; align-items: center; gap: 20px; }
    .process-step { width: 80%; }
    .process-line { display: none; }

    .pricing-card.featured { transform: scale(1); }
    .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root { --header-height: 70px; }
    section { padding: 60px 0; }
    .section-title { font-size: 2rem; }
    .hero-section h1 { font-size: 2.2rem; }
    .hero-section .subtitle { font-size: 1.1rem; }
    .hero-buttons { flex-direction: column; gap: 10px; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    .nav-links.active { right: 0; }
    .nav-links a { font-size: 1.2rem; }
    .nav-btn { display: none; }
    
    .mobile-menu-toggle { display: block; }
    .mobile-menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .mobile-menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .contact-wrapper { padding: 30px; }
    .footer-content { text-align: center; }
    .footer-about, .footer-contact { margin-bottom: 20px; }
    .social-links { justify-content: center; }
}
.services-grid .service-icon{
  width:64px;height:64px;
  display:grid;place-items:center;
  border-radius:14px;background:rgba(0,0,0,.05);
  color:#0ea5e9;
}
.services-grid .service-icon svg{display:block}

/* צביעה פר-כרטיס (אם רוצים) */
.service-card:nth-child(1) .service-icon{color:#2563eb}
.service-card:nth-child(2) .service-icon{color:#0891b2}
.service-card:nth-child(3) .service-icon{color:#16a34a}
.service-card:nth-child(4) .service-icon{color:#f59e0b}
.service-card:nth-child(5) .service-icon{color:#9333ea}
.service-card:nth-child(6) .service-icon{color:#ef4444}
