/* ZaZa Dance - Legal Pages Styles */
/* עיצוב נגיש וברור לעמודי תנאי שימוש, מדיניות פרטיות והסבר אחריות */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 18px; /* גדול יותר לנגישות */
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Arial', 'Heebo', sans-serif;
    line-height: 1.7; /* מרווח גבוה יותר לקריאה נוחה */
    color: #2c3e50;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    direction: rtl; /* תמיכה מלאה בעברית */
    text-align: right;
}

/* Container and Layout */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #E91E63, #00BCD4);
    color: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.3);
}

.header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e9ecef;
}

.nav-menu a {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #E91E63, #00BCD4);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-size: 1rem;
}

.nav-menu a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

.nav-menu a.current {
    background: linear-gradient(135deg, #00BCD4, #E91E63);
    transform: scale(1.05);
}

/* Content Styles */
.content {
    padding: 0 20px;
}

.content h2 {
    font-size: 1.8rem;
    color: #E91E63;
    margin: 35px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #00BCD4;
    font-weight: 700;
}

.content h3 {
    font-size: 1.4rem;
    color: #00BCD4;
    margin: 25px 0 15px 0;
    font-weight: 600;
}

.content h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

.content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-align: justify;
    line-height: 1.8;
}

.content strong {
    color: #E91E63;
    font-weight: 700;
}

.content em {
    color: #00BCD4;
    font-style: normal;
    font-weight: 600;
}

/* Lists */
.content ul, .content ol {
    margin: 20px 0;
    padding-right: 30px;
}

.content li {
    margin-bottom: 12px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.content ul li::marker {
    color: #E91E63;
}

.content ol li::marker {
    color: #00BCD4;
    font-weight: bold;
}

/* Blockquotes and Important Notes */
.content blockquote {
    background: linear-gradient(135deg, #fff3e0, #e8f5e8);
    border-right: 5px solid #E91E63;
    padding: 20px;
    margin: 25px 0;
    border-radius: 8px;
    font-style: italic;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Special Sections */
.important-notice {
    background: linear-gradient(135deg, #fff3e0, #fce4ec);
    border: 2px solid #E91E63;
    padding: 25px;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.15);
}

.important-notice h3 {
    color: #E91E63;
    margin-top: 0;
}

/* Contact Information */
.contact-info {
    background: linear-gradient(135deg, #e0f7ff, #f3e5f5);
    border: 2px solid #00BCD4;
    padding: 25px;
    margin: 30px 0;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.15);
}

.contact-info h3 {
    color: #00BCD4;
    margin-bottom: 15px;
}

.contact-info a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    margin-top: 50px;
    padding: 30px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    border-radius: 15px;
    text-align: center;
}

.footer .update-info {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

.footer .company-info {
    font-size: 1rem;
    font-weight: 600;
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Loading and Error States */
.loading {
    text-align: center;
    padding: 40px;
    font-size: 1.2rem;
    color: #666;
}

.error {
    background: #ffebee;
    border: 2px solid #f44336;
    color: #c62828;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
}

/* Accessibility Features */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* Print Styles */
@media print {
    body {
        background: white;
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .container {
        box-shadow: none;
        border-radius: 0;
        margin: 0;
        max-width: none;
    }
    
    .nav-menu {
        display: none;
    }
    
    .header {
        background: none;
        color: black;
        box-shadow: none;
        border-bottom: 2px solid #333;
    }
    
    .content h2 {
        color: #000;
        border-bottom: 1px solid #000;
    }
    
    .content h3 {
        color: #333;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    html {
        font-size: 16px;
    }
    
    .container {
        margin: 10px;
        padding: 15px;
        border-radius: 12px;
    }
    
    .header {
        padding: 20px 15px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-menu a {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 15px;
        margin: 5px 0;
    }
    
    .content {
        padding: 0 10px;
    }
    
    .content h2 {
        font-size: 1.5rem;
    }
    
    .content h3 {
        font-size: 1.3rem;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    body {
        background: white;
        color: black;
    }
    
    .container {
        background: white;
        border: 2px solid black;
    }
    
    .header {
        background: black;
        color: white;
    }
    
    .nav-menu a {
        background: black;
        border: 2px solid white;
    }
    
    .content h2, .content h3 {
        color: black;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus Styles for Accessibility */
a:focus, button:focus, input:focus {
    outline: 3px solid #E91E63;
    outline-offset: 2px;
}

/* Ensure sufficient color contrast */
::selection {
    background: #E91E63;
    color: white;
}

::-moz-selection {
    background: #E91E63;
    color: white;
}