﻿/* landing-page.css - Reverted Spacing for Form/Transcript */

/* --- Global Styles & Variables --- */
:root {
    --primary-color: #f7941e; /* Orange base */
    /* Other Colors & Variables */
    --gradient-orange-red: linear-gradient(to right, #ff4b5c, #FFBE28);
    --gradient-grey: linear-gradient(to right, #888, #666);
    --dark-text: #333;
    --medium-text: #555;
    --light-text: #6c757d;
    --light-background: #f8f9fa;
    --border-color: #e0e0e0;
    --white-color: #fff;
    --success-color: #198754;
    --danger-color: #dc3545;
    --border-radius-large: 30px;
    --border-radius-medium: 15px;
    --border-radius-small: 8px;
    --box-shadow-light: 0 4px 10px rgba(0, 0, 0, 0.08);
    --box-shadow-medium: 0 6px 15px rgba(0, 0, 0, 0.1);
    --box-shadow-heavy: 0 10px 20px rgba(0, 0, 0, 0.12);
    /* Define bubble size */
    --bubble-size: 75px;
    /* --- חזרה לרווח קטן יותר בין סקשנים --- */
    --section-vertical-space: 1.5rem;
}

body {
    font-family: 'Gotham', 'Arial', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #fdfdfd;
    overflow-x: hidden;
}

.landing-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--dark-text);
}

h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

h2 {
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem; /* רווח קטן יותר מתחת לכותרות H2 */
    text-align: center;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
    color: var(--medium-text);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

    a:hover {
        color: darken(var(--primary-color), 10%);
        text-decoration: none;
    }

.text-center {
    text-align: center;
}

/* --- Page Header & Logo Styles (Centered) --- */
.page-header {
    background-color: var(--white-color);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: var(--section-vertical-space);
}

    .page-header .logo-area {
        max-width: 1140px;
        margin: 0 auto;
        padding: 0 15px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .page-header .page-logo {
        height: 60px;
        width: auto;
        display: block;
    }

/* --- Section Styling (Using Smaller Variable for margin) --- */
.hero-section, .video-section, .cta-section, .card-types-section, .benefits-section, .transcript-section, .contact-form-section {
    /* padding: 2rem 0; */ /* עדיין בהערה, הוסף אם רוצה רווח פנימי */
    margin-bottom: var(--section-vertical-space); /* <-- שימוש במשתנה עם ערך קטן יותר */
}


/* --- Hero Section --- */
.hero-section {
    padding-top: 1rem;
    padding-bottom: 1rem;
    text-align: center;
}

    .hero-section .lead {
        font-size: 1.2rem;
        color: var(--medium-text);
        max-width: 750px;
        margin: 0 auto 1.5rem auto;
    }

/* --- Video Section --- */
.video-section h2 {
    margin-bottom: 1.5rem;
}

.video-section video {
    display: block;
    margin: 1rem auto 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-medium);
    box-shadow: var(--box-shadow-medium);
    background-color: #000;
}

/* --- Call to Action (CTA) Buttons Styling --- */
.cta-section {
    padding: 1rem 0; /* רווח פנימי קטן יותר */
    text-align: center;
}
    /* ... שאר סגנונות הכפתורים ללא שינוי ... */
    .cta-section .btn {
        padding: 12px 30px;
        border: none;
        border-radius: var(--border-radius-large);
        cursor: pointer;
        color: white;
        font-weight: 500;
        font-size: 1.1rem;
        box-shadow: var(--box-shadow-light);
        text-decoration: none;
        display: inline-block;
        margin: 0.5rem;
        transition: background-image 0.3s ease, transform 0.1s ease, filter 0.1s ease, box-shadow 0.2s ease;
    }

        .cta-section .btn:hover {
            filter: brightness(1.1);
            transform: translateY(-2px);
            box-shadow: var(--box-shadow-medium);
            text-decoration: none;
            color: white;
        }

        .cta-section .btn:active {
            transform: translateY(0px);
            filter: brightness(0.95);
        }

    .cta-section .btn-primary {
        background-image: var(--gradient-orange-red);
    }

    .cta-section .btn-secondary {
        background-image: var(--gradient-grey);
    }
/* ======================================== */
/* --- Card Types Section Styling (NEW) --- */
/* ======================================== */
.card-types-section {
    padding: 2rem 0;
    /* margin-bottom handled by shared rule */
}

    .card-types-section h2 {
        margin-bottom: 2.5rem; /* Consistent spacing under H2 */
    }

.card-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Consistent grid column definition */
    gap: 2rem; /* Consistent gap */
    /* Centering handled by .landing-container */
}

.card-type-item {
    background-color: var(--white-color); /* White background for card */
    padding: 1.5rem; /* Generous padding inside the card */
    border-radius: var(--border-radius-medium); /* Rounded corners */
    box-shadow: var(--box-shadow-light); /* Subtle shadow */
    text-align: center; /* Center text */
    display: flex; /* Use flexbox for alignment */
    flex-direction: column; /* Stack content vertically */
    align-items: center; /* Center content horizontally */
}

    /* Icon container inside card-type-item (No bubble) */
    .card-type-item .benefit-icon-container {
        width: auto; /* Let icon size dictate width */
        height: auto;
        background-image: none; /* Ensure no background image */
        margin-bottom: 1rem; /* Space below icon */
        display: flex;
        justify-content: center;
        align-items: center;
    }

        /* Icon itself inside card-type-item */
        .card-type-item .benefit-icon-container .material-symbols-outlined {
            font-size: 3rem; /* Larger icon size */
            color: var(--primary-color); /* Use primary color for icons */
            transform: none; /* Reset any inherited transform */
            line-height: 1; /* Ensure icon is centered vertically */
        }

    /* Heading inside card-type-item */
    .card-type-item h3 {
        color: var(--dark-text); /* Use standard dark text for heading */
        font-weight: 700; /* Bold heading */
        font-size: 1.25rem; /* Consistent heading size */
        margin-bottom: 0.75rem; /* Slightly more space below heading */
        margin-top: 0;
        text-align: center;
    }

    /* Paragraph inside card-type-item */
    .card-type-item p {
        color: var(--medium-text);
        font-size: 0.95rem;
        line-height: 1.5;
        text-align: center;
        flex-grow: 1; /* Allow paragraph to take available space */
        margin-bottom: 0; /* No space needed at the very bottom */
        /* max-width: none; */ /* Let card padding handle width */
    }

/* --- Benefits Section Styling --- */
.benefits-section {
    padding: 2rem 0; /* רווח פנימי קטן יותר */
}

    .benefits-section h2 {
        margin-bottom: 2.5rem;
    }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Icon Container - Using Background Image --- */
.benefit-icon-container {
    width: var(--bubble-size);
    height: var(--bubble-size);
    background-image: url('/img/bubble.png'); /* <-- ודא שהנתיב נכון! */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

    /* Styling the actual icon (span) inside the container */
    .benefit-icon-container .material-symbols-outlined {
        font-size: calc(var(--bubble-size) * 0.5);
        color: var(--white-color);
        line-height: 1;
        display: block;
        /* Fine-tuning adjustment (kept as per user) */
        transform: translate(0px, -7px);
    }

/* Benefit Text Styling */
.benefit-item h3 {
    color: var(--dark-text);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    margin-top: 0;
    text-align: center;
}

.benefit-item p {
    color: var(--medium-text);
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: center;
    max-width: 280px;
    flex-grow: 1;
    margin-bottom: 0.5rem;
}

/* --- Transcript Section Styling --- */
.transcript-section {
    margin-top: 1rem;
}

    .transcript-section h2 {
        margin-bottom: 1.5rem;
    }
    /* הוחזר רווח פנימי ל-P של התמלול */
    .transcript-section details p {
        padding: 1.5rem;
        margin: 0;
        color: var(--medium-text);
        font-size: 0.95rem;
        background-color: #fafafa;
    }
    /* ... שאר סגנונות התמלול ללא שינוי ... */
    .transcript-section details {
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius-small);
        margin-top: 1rem;
        background-color: var(--white-color);
        box-shadow: var(--box-shadow-light);
        overflow: hidden;
    }

    .transcript-section summary {
        padding: 1rem;
        font-weight: 500;
        cursor: pointer;
        color: var(--primary-color);
        outline: none;
        list-style: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: var(--white-color);
        transition: background-color 0.2s ease;
    }

        .transcript-section summary:hover {
            background-color: #fcfcfc;
        }

        .transcript-section summary::after {
            content: '+';
            font-size: 1.5rem;
            font-weight: bold;
            line-height: 1;
            transition: transform 0.2s ease-in-out;
        }

    .transcript-section details[open] summary::after {
        content: '−';
    }

    .transcript-section details[open] summary {
        border-bottom: 1px solid var(--border-color);
    }



/* --- Contact Form Section Styling --- */
.contact-form-section {
    max-width: 600px;
    margin: var(--section-vertical-space) auto; /* שימוש במשתנה עם ערך קטן יותר */
    background-color: var(--white-color);
    padding: 2rem; /* הוחזר padding קטן יותר */
    border-radius: var(--border-radius-large);
    box-shadow: var(--box-shadow-medium);
    border: 1px solid var(--border-color);
}

    .contact-form-section h2 {
        margin-top: 0;
        margin-bottom: 1.5rem; /* הוחזר מרווח קטן יותר */
        text-align: center;
    }

    .contact-form-section .form-group {
        margin-bottom: 1.5rem;
    }

    .contact-form-section label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 500;
        color: var(--dark-text);
    }

    .contact-form-section input[type="text"], .contact-form-section input[type="email"], .contact-form-section input[type="tel"] {
        width: 100%;
        padding: 0.85rem;
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius-medium);
        font-size: 1rem;
        box-sizing: border-box;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .contact-form-section input:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(247, 148, 30, 0.2);
    }
    .contact-form-section textarea {
        width: 100%; /* רוחב מלא כמו שדות אחרים */
        padding: 0.85rem; /* ריווח פנימי זהה לשדות אחרים */
        border: 1px solid var(--border-color); /* מסגרת זהה לשדות אחרים */
        border-radius: var(--border-radius-medium); /* פינות מעוגלות כמו שדות אחרים */
        font-size: 1rem; /* גודל גופן זהה לשדות אחרים */
        box-sizing: border-box; /* חישוב גודל קופסה נכון */
        transition: border-color 0.2s ease, box-shadow 0.2s ease; /* אנימציה זהה בפוקוס */
        font-family: inherit; /* יורש את הפונט משאר הדף */
        line-height: 1.5; /* גובה שורה סביר לטקסט רב-שורתי */
        min-height: 100px; /* גובה מינימלי התחלתי */
        resize: vertical; /* מאפשר שינוי גודל אנכי בלבד (מונע שבירת עיצוב אופקי) */
    }
    .contact-form-section button[type="submit"] {
        padding: 12px 30px;
        border: none;
        border-radius: var(--border-radius-large);
        cursor: pointer;
        color: white;
        font-weight: 500;
        font-size: 1.1rem;
        box-shadow: var(--box-shadow-light);
        text-decoration: none;
        display: block;
        width: 70%;
        margin: 2rem auto 0 auto;
        background-image: var(--gradient-orange-red);
        transition: background-image 0.3s ease, transform 0.1s ease, filter 0.1s ease, box-shadow 0.2s ease;
    }

        .contact-form-section button[type="submit"]:hover {
            filter: brightness(1.1);
            transform: translateY(-2px);
            box-shadow: var(--box-shadow-medium);
        }

        .contact-form-section button[type="submit"]:active {
            transform: translateY(0px);
            filter: brightness(0.95);
        }

/* --- Footer Styling (Using Variable for margin) --- */
footer {
    margin-top: var(--section-vertical-space); /* <-- שימוש במשתנה עם ערך קטן יותר */
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    color: var(--light-text);
    font-size: 0.9rem;
    text-align: center;
}

    footer a {
        color: var(--medium-text);
    }

        footer a:hover {
            color: var(--primary-color);
        }

.no-select {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
/* --- Responsive Adjustments --- */
/* ... שאר ההתאמות הרספונסיביות נשארות כפי שהיו ... */
@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .cta-section .btn {
        font-size: 1rem;
        padding: 10px 25px;
    }

    .contact-form-section {
        padding: 2rem 1.5rem;
    }

        .contact-form-section button[type="submit"] {
            width: 80%;
        }

    :root {
        --bubble-size: 70px;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 15px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefit-item h3 {
        font-size: 1.15rem;
    }

    .benefit-item p {
        font-size: 0.9rem;
        max-width: none;
        line-height: 1.45;
    }

    :root {
        --bubble-size: 65px;
    }

    .benefit-icon-container .material-symbols-outlined {
        font-size: calc(var(--bubble-size) * 0.45);
    }

    .contact-form-section {
        padding: 1.5rem 1rem;
    }

        .contact-form-section button[type="submit"] {
            width: 90%;
            font-size: 1rem;
        }

    footer {
        font-size: 0.85rem;
    }
}
