/*
Theme Name: HannahDJ
Version: 2.1.0
*/

:root {
    --bg-color: #1a1a1a;
    --text-color: #E8DCC5; /* שמנת בהירה */
    --accent: #d4af37;
    --glass: rgba(0, 0, 0, 0.4);
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: 'Heebo', sans-serif;
    line-height: 1.4;
    color: var(--text-color);
    background: var(--bg-color);
    overflow: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }

/* Typography */
h1, h2, h3, .section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}
.section-title {
    font-size: 2.5rem;
    color: var(--accent);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}
.section-title::after {
    content: ''; display: block; width: 60px; height: 2px; 
    background: var(--accent); margin: 0.8rem auto 0;
}

/* RTL Support */
.content-inner { direction: rtl; text-align: right; }

/* Layers */
.site-background {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 1;
    background: #1a1a1a; background-size: cover; background-position: center;
}

.site-main {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 90%; max-width: 1200px; height: 85vh; z-index: 10;
    overflow-y: auto; overflow-x: hidden;
    background: var(--glass);
    border-radius: 4px;
    padding: 0;
}

/* Editorial Layout (Narrow Text) */
.editorial-container {
    max-width: 650px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

.editorial-text {
    font-size: 1.15rem;
    color: var(--text-color);
    text-align: right;
    margin-bottom: 1.5rem;
}
.editorial-container h2 { text-align: center; }

/* Hero Section */
.section-hero {
    min-height: 40vh;
    display: flex; justify-content: center; align-items: center;
    padding-top: 4rem;
}
.hero-logo img { max-width: 280px; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5)); }

/* Slider (Swiper) Styling */
.section-gallery { padding: 3rem 0; width: 100%; overflow: hidden; }
.swiper { width: 100%; padding-bottom: 3rem; }

.swiper-slide {
    background-position: center; background-size: cover;
    width: 300px; /* רוחב בסיס למחשב */
    height: 400px; /* גובה למחשב */
    border-radius: 8px; overflow: hidden;
    transition: transform 0.3s;
    cursor: pointer;
}
.swiper-slide img, .swiper-slide video {
    width: 100%; height: 100%; object-fit: cover;
}
.swiper-slide:hover { transform: scale(1.02); }

.video-icon-overlay {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-size: 3rem; color: #fff; opacity: 0.8; text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    pointer-events: none;
}

.swiper-button-next, .swiper-button-prev { color: var(--accent); }
.swiper-pagination-bullet-active { background: var(--accent); }

/* Contact Form */
.contact-form { max-width: 500px; margin: 0 auto; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 0.8rem 0;
    background: transparent; border: none; border-bottom: 1px solid rgba(244, 241, 234, 0.3);
    color: var(--text-color); font-family: 'Heebo'; font-size: 1.1rem;
    margin-bottom: 1.5rem; outline: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-bottom-color: var(--accent); }
.submit-btn {
    width: 100%; padding: 1rem; background: var(--accent); color: #1a1a1a;
    border: none; font-weight: 700; cursor: pointer; margin-top: 1rem;
}

/* Footer & Finale */
.section-video-strip { width: 100%; height: 350px; margin-top: 4rem; }
.finale-video { width: 100%; height: 100%; object-fit: cover; }

.site-footer {
    position: fixed; bottom: 0; left: 0; width: 100%; z-index: 20;
    background: rgba(26, 26, 26, 0.95); padding: 1rem; border-top: 1px solid #333;
}
.footer-nav { display: flex; justify-content: center; gap: 1.5rem; }
.footer-nav a { 
    color: var(--accent); font-size: 1.4rem; width: 45px; height: 45px;
    border: 1px solid var(--accent); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

/* --- Mobile Adjustments --- */
@media (max-width: 768px) {
    .editorial-container { width: 100%; padding: 3rem 1.5rem; }
    .editorial-text { font-size: 1.15rem; line-height: 1.5; text-align: right; }
    .section-title { font-size: 2rem; }
    
    /* החזרנו את הגודל הגדול למובייל */
    .swiper-slide { 
        width: 80%; /* תופס את רוב המסך */
        height: 350px; /* גובה נוח לוידאו ותמונות */
    }
}
/* תיקון יישור לשדות הטופס */
.contact-form input, 
.contact-form textarea {
    text-align: right !important;
    direction: rtl !important;
}

/* וידוא שגם ה-placeholder (הטקסט האפור) מיושר לימין */
::placeholder {
    text-align: right;
    direction: rtl;
}
.review-slide {
    background: #fff; /* רקע לבן מתחת לצילום מסך */
    border-radius: 8px;
    overflow: hidden;
}
.review-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* שומר על פרופורציה של הצילום מסך */
    border-radius: 8px;
}