:root {
    --bg-dark: #404040;
    --bg-card: #333333;
    --primary-gold: #f9ce44;
    --gold-hover: #ffdf7e;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --header-height: 50px;
}

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #404040 0%, #262626 100%);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; }

header {
    background-color: rgba(64, 64, 64, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(249, 206, 68, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

.hamburger {
    display: block;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--primary-gold);
    margin: 5px 0;
    transition: 0.4s;
    border-radius: 2px;
}

.header-title {
    font-size: 1.1em;
    margin: 0 10px 0 0;
    color: var(--primary-gold);
    line-height: 1;
    white-space: nowrap;
}

.social-icons {
    margin-right: auto;
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-icons a {
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    transition: 0.3s;
}

.social-icons a:hover {
    color: var(--gold-hover);
    transform: scale(1.1);
}

.nav-links {
    position: fixed;
    top: var(--header-height);
    right: -250px;
    width: 250px;
    height: calc(100vh - var(--header-height));
    background-color: rgba(51, 51, 51, 0.98);
    display: flex;
    flex-direction: column;
    text-align: right;
    transition: 0.4s ease-in-out;
    padding: 10px 0;
    border-right: 1px solid rgba(249, 206, 68, 0.2);
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    z-index: 999;
}

.nav-links.active { right: 0; }

.nav-links a {
    padding: 15px 25px;
    display: block;
    color: var(--text-main);
    transition: 0.3s;
    font-size: 1.1em;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-links a:hover { color: var(--primary-gold); }

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 0 50px; 
    width: 100%;
    flex-grow: 1;
    position: relative;
    background: transparent;
    margin-top: var(--header-height);
    height: 500px !important;
    min-height: 500px !important;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: -1;
}

.hero-bg-slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    direction: rtl;
}

.hero-bg-slide {
    flex: 0 0 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
}

.text-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    touch-action: pan-y;
    z-index: 1;
}

.text-slides-wrapper {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
    direction: rtl; 
}

.text-slide {
    flex: 0 0 100%;
    padding: 0 15px;
    direction: rtl; 
    box-sizing: border-box;
    text-align: center;
}

.hero p { 
    font-size: 1.3em; 
    color: var(--text-main);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    margin-bottom: 25px; 
    margin-top: 0;
}

.btn-primary {
    background-color: var(--primary-gold);
    color: #404040;
    padding: 12px 35px;
    border-radius: 25px;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(64, 64, 64, 0.8);
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.right-btn { right: 20px; }
.left-btn { left: 20px; }

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    z-index: 10;
    width: 100%;
    margin: 0;
}

.slider-dots::before,
.slider-dots::after {
    content: '';
    flex-grow: 1;
    height: 2px;
    background: var(--primary-gold);
    box-shadow: 0 0 8px var(--primary-gold);
    border-radius: 2px;
}

.slider-dots::before { margin-left: 15px; }
.slider-dots::after { margin-right: 15px; }

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(249, 206, 68, 0.2);
    border: none;
    cursor: pointer;
}

.dot.active {
    background-color: var(--primary-gold);
    transform: scale(1.2);
}

footer {
    background-color: #2d2d2d;
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: auto;
}

@media (max-width: 768px) {
    .nav-links { width: 60%; right: -60%; }
    .nav-links.active { right: 0; }
    .hero { padding: 20px 0 30px; margin-top: var(--header-height); height: 150px !important; min-height: 150px !important; }
    .hero p { font-size: 1.1em; padding: 0 10px; margin-bottom: 15px; }
    .slider-btn { width: 35px; height: 35px; }
    .right-btn { right: 10px; }
    .left-btn { left: 10px; }
    .slider-dots { bottom: 20px; }
    .slider-dots::before { margin-left: 8px; }
    .slider-dots::after { margin-right: 8px; }
}