/* ==========================================================================
   איפוס והגדרות בסיסיות (Dark Theme)
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Assistant', sans-serif;
    background-color: #121212; /* שחור-אפרפר עמוק */
    color: #e0e0e0;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================================================
   סרגל ניווט עליון
   ========================================================================== */
.site-header {
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #1f1f1f;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
}

.logo span {
    font-weight: 300;
    color: #888888;
}

.main-nav a {
    color: #aaaaaa;
    text-decoration: none;
    margin-right: 25px;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
    padding-bottom: 5px;
}

.main-nav a:hover {
    color: #ffffff;
}

.main-nav a.active {
    color: #ffb300; /* זהב יוקרתי ללשונית פעילה */
    border-bottom: 2px solid #ffb300;
}

/* ==========================================================================
   אזור פתיחה (Hero)
   ========================================================================== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://images.unsplash.com/photo-1452784444945-3f422708fe5e?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    height: 65vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-top: 75px;
}

.hero-content h1 {
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.85;
}

.btn-primary {
    display: inline-block;
    padding: 12px 35px;
    background-color: transparent;
    color: #ffb300;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #ffb300;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #ffb300;
    color: #121212;
}

/* ==========================================================================
   ✨ עיצוב לקט 5 תמונות אקורדיון אינטראקטיבי עם תמיכה ב-Active (מעודכן)
   ========================================================================== */
.accordion-section {
    padding-top: 80px;
}

.featured-accordion {
    display: flex;
    width: 100%;
    height: 450px; 
    gap: 12px;
    margin-bottom: 40px;
}

.accordion-panel {
    flex: 1; /* חלוקה שווה התחלתית */
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #252525;
    cursor: pointer;
    /* אנימציה חלקה של פתיחה וסגירה */
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.2, 1);
}

.accordion-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4; /* עמעום קל כשהתמונה סגורה */
    filter: grayscale(50%); /* מראה אומנותי כשהיא סגורה */
    transition: opacity 0.6s ease, filter 0.6s ease;
}

/* 🔥 המצב הפתוח: קורה גם ב-Hover (עכבר) וגם כשיש קלאס active (המצגת האוטומטית) */
.accordion-panel.active,
.accordion-panel:hover {
    flex: 4; /* התרחבות פי 4 מהשאר */
}

.accordion-panel.active img,
.accordion-panel:hover img {
    opacity: 1; /* הארה מלאה */
    filter: grayscale(0%); /* צבעים מלאים */
}

/* כיתוב טקסט צף על כל תמונה בלקט */
.panel-caption {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(5px);
    color: #ffffff;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0; 
    transform: translateY(10px);
    transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s; 
}

/* הצגת הכיתוב כשהפאנל פתוח (ב-hover או ב-active) */
.accordion-panel.active .panel-caption,
.accordion-panel:hover .panel-caption {
    opacity: 1;
    transform: translateY(0);
}

/* התאמה רספונסיבית למובייל (בסמארטפונים המצגת האוטומטית נעצרת לטובת נוחות) */
@media (max-width: 768px) {
    .featured-accordion {
        flex-direction: column;
        height: auto;
    }
    .accordion-panel {
        height: 180px;
        flex: none !important;
    }
    .accordion-panel img {
        opacity: 0.85;
        filter: grayscale(0%);
    }
    .panel-caption {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   סרגל ניווט וסינון גלריה - מראה מינימליסטי ויוקרתי
   ========================================================================== */
.filter-controls {
    display: flex;
    justify-content: center;
    gap: 40px; 
    margin-bottom: 60px;
    flex-wrap: wrap;
    border-bottom: 1px solid #1f1f1f; 
    padding-bottom: 15px;
}

.control-btn {
    background: none !important; 
    color: #777777; 
    border: none !important; 
    padding: 8px 4px;
    font-family: 'Assistant', sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    position: relative; 
    transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.control-btn:hover {
    color: #ffffff;
}

.control-btn::after {
    content: '';
    position: absolute;
    bottom: -16px; 
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffb300; 
    transform: scaleX(0); 
    transform-origin: bottom right;
    transition: transform 0.3s ease-in-out;
}

.control-btn:hover::after {
    transform: scaleX(1);
    transform-origin: bottom right;
}

.control-btn.control-active, 
.mixitup-control-active {
    color: #ffb300 !important; 
    font-weight: 700;
    box-shadow: none !important; 
}

.control-btn.control-active::after,
.mixitup-control-active::after {
    transform: scaleX(1) !important;
}

/* ==========================================================================
   גריד תצוגת התמונות ואפקטים
   ========================================================================== */
#gallery-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 50px;
    font-weight: 700;
    color: #ffffff;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: #ffb300;
    margin: 12px auto 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
}

.photo-card {
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid #252525;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.photo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: #333333;
}

.photo-wrapper {
    position: relative;
    height: 340px;
    background-color: #222;
    overflow: hidden;
}

.lightbox-link {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

.photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.6s ease;
}

.photo-card:hover .photo-wrapper img {
    transform: scale(1.05);
    opacity: 1;
}

.tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(5px);
    color: #ffb300;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    border: 1px solid rgba(255, 179, 0, 0.3);
    z-index: 10;
}

.photo-info {
    padding: 22px;
    background: linear-gradient(180deg, #1a1a1a 0%, #161616 100%);
}

.photo-info h3 {
    font-size: 19px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.description {
    color: #999999;
    font-size: 14px;
    line-height: 1.5;
}

/* ==========================================================================
   עמודים פנימיים (About & Contact - עיצוב משלים)
   ========================================================================== */
.page-content {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 80vh;
}

.about-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #ffffff;
}

.about-text p {
    color: #cccccc;
    margin-bottom: 15px;
    font-size: 17px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    border: 1px solid #2c2c2c;
}

/* --- עמוד צור קשר כהה --- */
.contact-wrapper {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #ffffff;
}

.contact-info p {
    color: #aaaaaa;
    margin-bottom: 30px;
}

.info-item {
    font-size: 16px;
    background: #1e1e1e;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #2c2c2c;
    color: #dddddd;
    margin-bottom: 15px;
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
    background: #1e1e1e;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #2c2c2c;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #ffffff;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: #121212;
    border: 1px solid #3c3c3c;
    border-radius: 4px;
    color: #ffffff;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #ffb300;
    outline: none;
}

.btn-submit {
    background-color: #ffb300;
    color: #121212;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #ffa000;
}

/* ==========================================================================
   תחתית האתר (Footer)
   ========================================================================== */
.site-footer {
    background-color: #0b0b0b;
    color: #555555;
    text-align: center;
    padding: 40px 0;
    font-size: 13px;
    border-top: 1px solid #151515;
    margin-top: 60px;
}

.instagram-link {
    color: #999999;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.instagram-link:hover {
    color: #d62976;
}