:root {
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --pool-cyan: #0284c7;
    --pool-light-blue: #e0f2fe;
    --accent-gold: #b45309;
    --nav-height: 90px;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Assistant', sans-serif; 
    color: var(--text-dark); 
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.text-center { text-align: center; }

/* Navigation Style */
.luxury-nav { 
    position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-height); 
    background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(15px);
    z-index: 1000; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition); border-bottom: 1px solid rgba(0,0,0,0.05);
}
.logo-area { display: flex; flex-direction: column; }
.logo-main { font-size: 24px; font-weight: 800; color: var(--text-dark); letter-spacing: 1px; }
.logo-sub { font-size: 11px; color: var(--pool-cyan); font-weight: 700; letter-spacing: 2px; }

.nav-menu { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-menu a { text-decoration: none; color: var(--text-dark); font-weight: 600; font-size: 16px; transition: var(--transition); }
.nav-menu a:hover, .nav-menu a.active { color: var(--pool-cyan); }
.nav-cta { background: var(--pool-cyan); color: white !important; padding: 10px 24px; border-radius: 50px; }
.nav-cta:hover { background: var(--text-dark); }

.phone-box { display: flex; align-items: center; gap: 10px; background: var(--bg-light); padding: 10px 20px; border-radius: 50px; text-decoration: none; color: var(--text-dark); font-weight: 700; border: 1px solid #e2e8f0; }
.nav-phone { display: flex; align-items: center; gap: 15px; }
.menu-toggle { display: none; flex-direction: column; gap: 6px; cursor: pointer; }
.menu-toggle span { width: 28px; height: 2px; background: var(--text-dark); transition: var(--transition); }

/* Luxury Hero Section */
.luxury-hero { height: 85vh; position: relative; display: flex; align-items: center; overflow: hidden; margin-top: var(--nav-height); }
.hero-bg-carousel { position: absolute; inset: 0; z-index: 1; }
.hero-bg-carousel img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
1deg, rgba(255, 255, 255, 0.95) 15%, rgba(255, 255, 255, 0.1) 100%);
    z-index: 2;
}
.logo-area img{height:90px;}
.hero-content { position: relative; z-index: 3; max-width: 650px; }
.hero-tagline { font-family: 'Playfair Display', serif; font-style: italic; color: var(--pool-cyan); font-size: 20px; display: block; margin-bottom: 10px; }
.luxury-hero h1 { font-size: 3.8rem; font-weight: 800; color: var(--text-dark); line-height: 1.15; margin-bottom: 20px; }
.accent-text { color: var(--pool-cyan); }
.luxury-hero p { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 35px; }
.btn-primary { display: inline-flex; align-items: center; gap: 12px; background: var(--text-dark); color: white; padding: 16px 36px; border-radius: 50px; text-decoration: none; font-weight: 700; transition: var(--transition); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.btn-primary:hover { background: var(--pool-cyan); transform: translateY(-3px); }

/* Categories Section (Top Row Copy) */
.categories-section { padding: 0 40px; margin-top: -60px; position: relative; z-index: 10; }
.grid-container { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.category-card { position: relative; height: 260px; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.category-card:hover img { transform: scale(1.06); }
.category-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%); }
.card-content { position: absolute; bottom: 25px; right: 25px; left: 25px; z-index: 2; display: flex; justify-content: space-between; align-items: center; color: white; }
.card-content h3 { font-size: 22px; font-weight: 700; }
.btn-card { border: 1px solid rgba(255,255,255,0.7); color: white; padding: 6px 18px; border-radius: 50px; text-decoration: none; font-size: 14px; backdrop-filter: blur(5px); transition: var(--transition); }
.btn-card:hover { background: white; color: var(--text-dark); }

/* About Us Section (Hagag Circular Layout Concept) */
.about-section { padding: 120px 0; background: var(--bg-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; display: flex; justify-content: center; align-items: center; }

/* מעגל עיצובי ברקע */
.circle-graphic-bg { position: absolute; width: 450px; height: 450px; background: var(--pool-light-blue); border-radius: 50%; z-index: 1; opacity: 0.6; transform: scale(1.05); }
.main-circle-img { position: relative; width: 420px; height: 420px; border-radius: 50%; overflow: hidden; z-index: 2; box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.main-circle-img img { width: 100%; height: 100%; object-fit: cover; }
.sub-circle-img { position: absolute; bottom: -20px; left: 20px; width: 180px; height: 180px; border-radius: 50%; overflow: hidden; z-index: 3; border: 8px solid white; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.sub-circle-img img { width: 100%; height: 100%; object-fit: cover; }

.script-title { font-family: 'Playfair Display', serif; font-style: italic; font-size: 28px; color: var(--pool-cyan); opacity: 0.5; display: block; margin-bottom: 5px; }
.about-content h2 { font-size: 42px; font-weight: 800; margin-bottom: 15px; }
.wave-line { width: 60px; height: 3px; background: var(--pool-cyan); margin-bottom: 30px; border-radius: 2px; }
.wave-line.center { margin: 0 auto 30px; }
.about-content p { color: var(--text-muted); font-size: 17px; margin-bottom: 20px; line-height: 1.7; }
.about-content p.lead { color: var(--text-dark); font-size: 19px; font-weight: 600; }
.about-content h3 { font-size: 20px; font-weight: 700; margin: 30px 0 15px; }
.luxury-list { list-style: none; }
.luxury-list li { display: flex; gap: 12px; align-items: center; font-weight: 600; margin-bottom: 12px; color: var(--text-dark); }
.luxury-list li i { color: var(--pool-cyan); }

/* Interactive Timeline (הקמה מאפס) */
.timeline-section { padding: 100px 0; background: var(--bg-light); border-top: 1px solid #f1f5f9; }
.interactive-container { margin-top: 60px; background: var(--bg-white); padding: 40px; border-radius: 24px; box-shadow: 0 15px 40px rgba(0,0,0,0.03); border: 1px solid #e2e8f0; }

.timeline-nav { display: flex; justify-content: space-between; position: relative; margin-bottom: 60px; }
.timeline-nav::before { content: ''; position: absolute; top: 25px; left: 50px; right: 50px; height: 2px; background: #e2e8f0; z-index: 1; }

.timeline-dot { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; cursor: pointer; flex: 1; }
.dot-number { width: 50px; height: 50px; background: var(--bg-white); border: 2px solid #e2e8f0; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-weight: 800; font-size: 18px; color: var(--text-muted); transition: var(--transition); }
.dot-label { margin-top: 12px; font-weight: 700; font-size: 15px; color: var(--text-muted); transition: var(--transition); }

.timeline-dot.active .dot-number { background: var(--pool-cyan); border-color: var(--pool-cyan); color: white; box-shadow: 0 0 0 6px var(--pool-light-blue); }
.timeline-dot.active .dot-label { color: var(--pool-cyan); }

.timeline-stage { display: none; }
.timeline-stage.active { display: block; animation: fadeIn 0.6s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.stage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.stage-text h3 { font-size: 26px; font-weight: 800; margin-bottom: 15px; color: var(--text-dark); }
.stage-text p { font-size: 17px; color: var(--text-muted); line-height: 1.7; }
.stage-image { height: 350px; border-radius: 16px; overflow: hidden; box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.stage-image img { width: 100%; height: 100%; object-fit: cover; }

/* Contact Section Design */
.contact-section { padding: 100px 0; background: var(--bg-white); }
.contact-card { max-width: 850px; margin: 0 auto; background: var(--bg-light); border-radius: 24px; padding: 60px; border: 1px solid #e2e8f0; }
.contact-head { text-align: center; margin-bottom: 40px; }
.contact-head h2 { font-size: 36px; font-weight: 800; margin-bottom: 10px; }
.contact-head p { color: var(--text-muted); font-size: 16px; }

.luxury-form { display: flex; flex-direction: column; gap: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-group { position: relative; }
.luxury-form input, .luxury-form select { width: 100%; padding: 16px; background: var(--bg-white); border: 1px solid #cbd5e1; border-radius: 10px; font-size: 16px; outline: none; font-family: inherit; transition: var(--transition); color: var(--text-dark); }
.luxury-form input:focus, .luxury-form select:focus { border-color: var(--pool-cyan); box-shadow: 0 0 0 4px var(--pool-light-blue); }

.form-group label { position: absolute; right: 16px; top: 16px; color: var(--text-muted); pointer-events: none; transition: var(--transition); background: transparent; }
.luxury-form input:focus ~ label, .luxury-form input:not(:placeholder-shown) ~ label { top: -10px; right: 12px; font-size: 12px; color: var(--pool-cyan); background: var(--bg-white); padding: 0 6px; font-weight: 700; }
.select-label { top: -10px !important; right: 12px !important; font-size: 12px !important; color: var(--pool-cyan) !important; background: var(--bg-white) !important; padding: 0 6px !important; font-weight: 700 !important; }

.btn-submit { width: 100%; background: var(--text-dark); color: white; padding: 18px; border: none; border-radius: 10px; font-size: 18px; font-weight: 700; cursor: pointer; transition: var(--transition); display: flex; justify-content: center; align-items: center; gap: 10px; }
.btn-submit:hover { background: var(--pool-cyan); }

/* Footer & Floating Objects */
.main-footer { background: var(--text-dark); color: rgba(255,255,255,0.6); padding: 30px 0; font-size: 14px; }
.whatsapp-sticky { position: fixed; bottom: 30px; left: 30px; z-index: 999; width: 60px; height: 60px; background: #25d366; color: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 30px; text-decoration: none; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3); transition: var(--transition); }
.whatsapp-sticky:hover { transform: scale(1.1); }

/* Scroll Interaction Effects */
.reveal { opacity: 0; transform: translateY(30px); transition: 1s cubic-bezier(0.1, 0.8, 0.2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- תוספת לאלמנט העגול הקיים באתר --- */
.circle-graphic-bg { 
    position: absolute; 
    width: 450px; 
    height: 450px; 
    background: var(--pool-light-blue); 
    border-radius: 50%; 
    z-index: 1; 
    opacity: 0.6; 
    border: 2px dashed rgba(2, 132, 199, 0.2); /* הוספת קו מקווקו אדריכלי עדין */
    animation: slowRotate 25s linear infinite; /* הפעלת האנימציה המעגלית */
}

/* אנימציית סיבוב אדריכלית איטית */
@keyframes slowRotate {
    from { transform: rotate(0deg) scale(1.05); }
    to { transform: rotate(360deg) scale(1.05); }
}


/* --- עיצוב גלריית הפרימיום הרוחבית החדשה --- */
.luxury-gallery-section {
    padding: 100px 0;
    background: var(--bg-white);
    overflow: hidden;
}

/* מאפשר לגלריה להימתח בצורה מרשימה לרוחב המסך */
.container-fluid {
    width: 100%;
    padding: 0 40px;
}

.panoramic-gallery {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    width: 100%;
}

.gallery-item {
    flex: 1;
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    background: var(--text-dark);
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1); /* אפקט התרחבות קל */
}

/* מסגרת פנימית קשיחה שמונעת מהתמונה לצאת החוצה */
.gallery-overflow {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 120%; /* התמונה רחבה יותר מהמסגרת כדי שיהיה לה לאן לזוז */
    height: 100%;
    object-fit: cover;
    position: absolute;
    right: 0; /* נקודת מוצא מימין מאחר והאתר בעברית */
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* הקסם: במעבר עכבר התמונה זזה שמאלה (הצידה) בתוך המסגרת וגדלה בעדינות */
.gallery-item:hover img {
    transform: translateX(5%) scale(1.05); 
}

/* כשהגולש עומד על תמונה מסוימת, היא נפתחת מעט לרוחב על חשבון האחרות */
.gallery-gallery-item:hover {
    flex: 1.2;
}

/* מידע וטקסט על התמונה */
.gallery-info {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    color: white;
    z-index: 3;
    opacity: 0.9;
    transform: translateY(10px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
    opacity: 1;
}

.gallery-info h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.gallery-info p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

/* התאמה רספונסיבית לניידים וטאבלטים */
@media(max-width: 992px) {
    .panoramic-gallery {
        flex-direction: column;
        gap: 20px;
    }
    .gallery-item {
        height: 350px;
    }
    .gallery-item img {
        width: 100%; /* ביטול התזוזה הרוחבית בנייד לטובת נוחות שימוש */
    }
    .gallery-item:hover img {
        transform: scale(1.05);
    }
}


/* Responsive Adjustments */
@media(max-width: 992px) {
    .luxury-hero h1 { font-size: 2.8rem; }
    .about-grid, .stage-grid, .form-row { grid-template-columns: 1fr; gap: 40px; }
    .main-circle-img { width: 340px; height: 340px; }
    .circle-graphic-bg { width: 360px; height: 360px; }
    .timeline-nav::before { display: none; }
    .timeline-nav { flex-direction: column; gap: 15px; }
    .timeline-dot { flex-direction: row; gap: 20px; align-items: center; width: 100%; background: var(--bg-light); padding: 10px; border-radius: 10px; }
    .dot-label { margin-top: 0; }
}
@media(max-width: 768px) {
    .nav-menu { display: none; }
    .menu-toggle { display: flex; }
    .contact-card { padding: 30px 20px; }
}