/* --- Variables & Core Settings --- */
:root {
    --brand-navy: #1a1f2c; /* כחול כהה עמוק מהלוגו */
    --brand-gold: #c5a059; /* זהב מוברש מהלוגו */
    --brand-gold-dark: #b08d48;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-main: #333333;
    --text-muted: #666666;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Navigation --- */
.navbar {
    background: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-bottom: 3px solid var(--brand-gold);
}

.flex-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--brand-navy);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--brand-gold);
}

/* --- Hero Section Redesign --- */
.hero {
    height: 50vh; /* גובה משמעותי יותר */
    background: url('diamond-bg.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* שכבת גרדיאנט עמוקה שיוצרת פוקוס על הטקסט */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 31, 44, 0.95) 0%, rgba(26, 31, 44, 0.4) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    text-align: left; 
}

.hero-subtitle {
    display: block;
    color: var(--brand-gold);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
    animation: fadeInDown 0.8s ease-out;
}

.hero h1 {
    color: var(--white);
    font-size: 4.5rem; /* כותרת גדולה ומרשימה */
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
    animation: fadeInLeft 1s ease-out;
}

.hero h1 .highlight {
    color: var(--brand-gold);
    background: linear-gradient(to right, #c5a059, #f1e0b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* אפקט זהב מנצנץ */
}

.hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    animation: fadeInLeft 1.2s ease-out;
}

/* כפתורים משודרגים */
.hero-btns {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1.4s ease-out;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* אלמנט עיצובי למטה */
.hero-bottom-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--white), transparent);
    z-index: 3;
}

/* --- Keyframes לאנימציות --- */
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* התאמה למובייל של הבאנר החדש */
@media (max-width: 768px) {
    .hero {
        height: 60vh;
        text-align: center;
    }
    .hero-content {
        text-align: center;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero-btns {
        justify-content: center;
        flex-direction: column;
    }
}

/* --- Search Section --- */
.search-section {
    padding: 100px 0;
    background: var(--light-bg);
    text-align: center;
}

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

.search-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.search-container input {
    width: 400px;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-size: 16px;
}

.search-container button {
    padding: 15px 40px;
    background: var(--brand-navy);
    color: var(--brand-gold);
    border: 1px solid var(--brand-navy);
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}

.search-container button:hover {
    background: var(--brand-gold);
    color: var(--brand-navy);
}

/* --- About Section (Desktop) --- */
.grid-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 100px 0;
    align-items: center;
}

.about-text h2 {
    color: var(--brand-navy);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--brand-gold);
}

.about-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 20px 20px 0px var(--brand-gold);
    display: block;
}

/* --- Contact Section --- */
.contact-section {
    padding: 80px 0;
    background: var(--brand-navy);
    color: var(--white);
    text-align: center;
}

.contact-card h2 {
    color: var(--brand-gold);
    margin-bottom: 30px;
    font-size: 2rem;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 40px;
}

/* --- Slider --- */
.clients-slider {
    padding: 80px 0;
    background: var(--white);
}

.slider-title {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2px;
}

.slider-wrapper {
    overflow: hidden;
    width: 100%;
}

.slide-track {
    display: flex;
    width: calc(250px * 10);
    animation: scroll 25s linear infinite;
}

.slide {
    width: 250px;
    padding: 0 30px;
}

.slide img {
    max-height: 45px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: var(--transition);
}

.slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- Footer --- */
footer {
    padding: 30px 0;
    background: #111;
    color: #777;
    text-align: center;
    font-size: 13px;
    border-top: 1px solid #222;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 5)); }
}

/* --- MOBILE OPTIMIZATION (Responsive) --- */
@media (max-width: 768px) {
    .container {
        width: 92%;
    }

    /* Navbar */
    .flex-nav {
        flex-direction: column;
        padding: 10px 0;
    }

    .logo img {
        height: 50px;
        margin-bottom: 15px;
    }

    nav ul {
        gap: 15px;
    }

    /* Hero */
    .hero h1 {
        font-size: 2rem;
    }

    /* Search */
    .search-container {
        flex-direction: column;
        padding: 0 10px;
    }

    .search-container input {
        width: 100%;
        border-radius: 4px;
        margin-bottom: 10px;
        text-align: center;
    }

    .search-container button {
        width: 100%;
        border-radius: 4px;
    }

    /* About Section - טקסט ראשון, תמונה אחריו */
    .grid-two-cols {
        display: flex;
        flex-direction: column; /* מסדר את האלמנטים אחד מתחת לשני */
        padding: 60px 0;
        gap: 40px;
    }

    .about-text {
        order: 1; /* טקסט יופיע ראשון */
        text-align: center;
    }

    .about-image {
        order: 2; /* תמונה תופיע אחרי הטקסט */
    }

    .about-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-image img {
        box-shadow: 10px 10px 0px var(--brand-gold);
        max-width: 90%;
        margin: 0 auto;
    }

    /* Contact */
    .contact-details {
        flex-direction: column;
        gap: 20px;
    }
}