/* ==================== Global Styles ==================== */

:root {
    /* Colors */
    --primary-color: #0B5665;
    --gold-color: #C6A467;
    --bg-color: #F7F8FA;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #E0E0E0;
    --success-color: #4CAF50;
    --error-color: #F44336;
    --warning-color: #FF9800;
    --info-color: #2196F3;
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    direction: rtl;
}

/* ==================== Typography ==================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--gold-color);
}

/* ==================== Container ==================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ==================== Navigation Bar ==================== */

.navbar {
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing-lg) 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    cursor: pointer;
    transition: var(--transition);
}

.logo-section:hover {
    opacity: 0.8;
}

.logo-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    background-color: white;
    padding: 4px;
}

.logo-text h1 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 2px;
}

.logo-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.register-btn,
.back-btn {
    background-color: var(--gold-color);
    color: white;
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: var(--transition);
}

.register-btn:hover,
.back-btn:hover {
    background-color: #B8934F;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.register-btn:active,
.back-btn:active {
    transform: translateY(0);
}

/* ==================== Hero Section ==================== */

.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-2xl);
}

.hero-text {
    flex: 1;
    color: white;
}

.hero-text h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    font-weight: 800;
}

.hero-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
}

.hero-logo {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
}

.logo-circle {
    width: 165px;
    height: 165px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.logo-main {
    width: 160px;
    height: 160px;
    object-fit: contain;
}

/* ==================== Buttons ==================== */

.cta-btn,
.cta-btn-secondary {
    background-color: var(--gold-color);
    color: white;
    border: none;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.cta-btn:hover,
.cta-btn-secondary:hover {
    background-color: #B8934F;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.cta-btn:active,
.cta-btn-secondary:active {
    transform: translateY(-1px);
}

.cta-btn-secondary {
    background-color: var(--primary-color);
}

.cta-btn-secondary:hover {
    background-color: #093D4D;
}

/* ==================== Info Section ==================== */

.info-section {
    padding: var(--spacing-2xl) 0;
    background-color: white;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.info-card {
    background-color: var(--bg-color);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
}

.info-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ==================== CTA Card ==================== */

.cta-card {
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.cta-text h3 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.cta-text p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

/* ==================== Footer ==================== */

.footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: var(--spacing-xl) 0;
    margin-top: var(--spacing-2xl);
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* ==================== Responsive Design ==================== */

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .hero {
        min-height: 400px;
    }
    
    .hero-content .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text h2 {
        font-size: 1.75rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .logo-circle {
        width: 150px;
        height: 150px;
    }
    
    .logo-main {
        width: 120px;
        height: 120px;
    }
    
    .cta-card {
        flex-direction: column;
        text-align: center;
    }
    
    .navbar-content {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .logo-section {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 16px;
        --spacing-xl: 24px;
        --spacing-2xl: 32px;
    }
    
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1rem; }
    
    .hero {
        min-height: 300px;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
    }
    
    .logo-circle {
        width: 120px;
        height: 120px;
    }
    
    .logo-main {
        width: 100px;
        height: 100px;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
}

