/* mn25_css/ru.css */
/* MAZON-NAHON: RUSSIAN LOCALIZATION CORE */

/* 1. Global LTR & Fonts */
html, body {
    direction: ltr !important;
    text-align: left;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
}

/* 2. Apple Note Layout Flip */
.apple-note {
    text-align: left;
    flex-direction: row; 
}

/* 3. Typography Adjustments */
.hero-subtitle {
    line-height: 1.6; /* Increased breathing room for text */
    font-size: 1.2rem; 
}

/* 4. Footer & Contact Alignment */
.contact-info, 
.main-footer {
    text-align: center;
}

.form-group {
    text-align: left; 
}

/* 5. Menu Text Alignment */
.nav-list a {
    text-align: left;
}

/* =======================================================
   ENGINEERED HERO SECTION (Ad-Block Safe & Variable Height)
   ======================================================= */

.hero-section {
    /* A. SAFETY MECHANISM: Break the Fixed Height Rules */
    /* This allows the section to expand if an Ad Block pushes it, or if text is long */
    height: auto !important;        
    min-height: 60vh;               
    overflow: visible !important;   /* CRITICAL: Never cut off the button */
    
    /* B. Disable Flex Centering (Prevents "Lumping" on Mobile) */
    display: block !important;      
    
    /* C. Manual Positioning (The "Safe" Way) */
    /* 140px Top = Position text over the "Sky" part of the background image */
    /* 80px Bottom = Safety zone for the button */
    padding: 140px 0 80px 0 !important;
    
    /* D. Background Management */
    background-position: center top; 
    background-size: cover;
}

/* Mobile Specific Tweaks */
@media (max-width: 768px) {
    .hero-section {
        /* On mobile, we reduce top space to pull text up */
        /* But we ADD bottom space to protect the button */
        padding-top: 100px !important; 
        padding-bottom: 120px !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem; /* Slightly smaller text to save space */
    }
}


/* =======================================================
   SINGLE ORIGIN IDENTITY BANNER (COMPACT LTR VERSION)
   ======================================================= */

/* The Container styling */
.identity-banner {
    /* Deep Blue Gradient */
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a237e 100%);
    color: var(--white);
    
    /* HEIGHT FIX: Compact 12px padding */
    padding: 12px 0;
    
    /* Gold border */
    border-bottom: 4px solid #ffd700; 
    
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

/* Flex layout for Desktop */
.identity-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.identity-text {
    /* CRITICAL FOR RUSSIAN: Force Left Alignment */
    text-align: left; 
}

.identity-text h2 {
    margin: 0;
    font-size: 1.5rem; 
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.identity-text p {
    margin: 2px 0 0 0; 
    font-size: 1rem;
    color: #e0e0e0; 
}

/* The "Reveal" Button */
.btn-identity {
    background: transparent;
    border: 2px solid #ffd700;
    color: #ffd700;
    padding: 6px 20px; /* Slim padding */
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-identity:hover {
    background: #ffd700;
    color: #1a237e;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* Decoration Icon */
.identity-bg-icon {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 8rem;
    opacity: 0.05; 
    pointer-events: none;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .identity-content {
        flex-direction: column;
        text-align: center;
        gap: 10px; 
    }
    
    .identity-text {
        text-align: center; /* Center on mobile looks better */
        margin-bottom: 0; 
    }
    
    .identity-text h2 {
        font-size: 1.3rem;
    }
    
    .btn-identity {
        width: 100%;
        max-width: 250px;
    }
}

/* --- THE "HIDDEN" SWITCH --- */
/* Uncomment to hide the banner */
/* .hidden-banner { display: none !important; } */

/* =======================================================
   MOBILE MENU & HAMBURGER FIXES (LTR - RUSSIAN)
   Add to bottom of ru.css
   ======================================================= */

/* 1. Menu Header Layout (Menu Title vs Close Button) */
.mobile-nav .nav-header {
    display: flex;
    flex-direction: row; /* Force Left-to-Right direction */
    justify-content: space-between; /* Pushes Title to left, X to right */
    align-items: center;
    width: 100%;
}

/* 2. Reset List Padding for LTR */
.mobile-nav .nav-list {
    padding-left: 0; /* Removes indentation */
    padding-right: 0;
    text-align: left;
}

/* 3. Special Green Link Spacing for Russian Menu */
a.special-green-link {
    background-color: #2e7d32;      /* Forest Green */
    color: #ffffff !important;      /* White text */
    font-weight: bold;
    border-radius: 8px;
    margin: 10px 15px;              /* Spacing */
    text-align: center;
    border: 1px solid #ffd700;      /* Gold border */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: block;                 /* Full width block */
    padding: 10px;                  /* Inner padding */
}

a.special-green-link:hover {
    background-color: #1b5e20;
    color: #ffd700 !important;
}