/* Color Variables */
:root {
    --primary-green: #13703a;
    --accent-red: #c0392b;
    --text-black: #222;
    --light-bg: #f8f9fa;
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-black);
    background: var(--light-bg);
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 1050;
}

/* Coming Soon Banner */
.coming-soon-banner {
    background: #13703a !important;
    color: white !important;
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 600;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    animation: pulse 2s infinite;
}

.coming-soon-banner p {
    color: white !important;
    margin: 0;
}

.coming-soon-banner i {
    color: #ffd700;
    animation: twinkle 1.5s infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.9; }
    50% { opacity: 1; }
    100% { opacity: 0.9; }
}

@keyframes twinkle {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); }
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-position: center;
    background-size: cover;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Navigation */
.navbar {
    background-color: #fff !important;
    border-bottom: 3px solid var(--primary-green);
    padding-top: 0;
    padding-bottom: 0;
    min-height: 120px;
    display: flex;
    align-items: center;
}

.navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    display: block;
    max-height: 100px;
    width: auto;
    margin: 0 auto;
    padding-top: 12px;
    padding-bottom: 12px;
    background: none;
    border-radius: 0;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-collapse {
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.navbar-nav {
    margin: 0;
    align-items: center;
    height: 100%;
}

.nav-item {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-link, .navbar-brand {
    color: var(--primary-green) !important;
    font-weight: 600;
}

.nav-link {
    padding: 1rem 1.5rem !important;
    transition: color 0.3s ease;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-link:hover {
    color: var(--accent-red) !important;
}

/* Sections */
section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

section:not(.hero-section) {
    margin-top: 0;
    background-color: #fff;
}

section h2 {
    margin-bottom: 40px;
    font-weight: bold;
}

/* Cards */
.card {
    border: 1px solid var(--primary-green);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Buttons */
.btn-primary {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-outline-primary {
    color: var(--primary-green);
    border-color: var(--primary-green);
    background: #fff;
}

.btn-outline-primary:hover {
    background: var(--primary-green);
    color: #fff;
}

/* Forms */
.form-control {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
    border-color: #80bdff;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-green);
    font-weight: bold;
}

/* Accent Elements */
.section-title, .card-title, .footer a:hover {
    color: var(--accent-red) !important;
}

/* Social Links */
.social-links a {
    font-size: 1.5rem;
    color: var(--primary-green);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-red) !important;
}

/* Footer */
footer {
    background: var(--primary-green);
    color: #fff;
    position: relative;
    z-index: 2;
}

footer a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-red);
}

/* Language Switcher */
.language-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.language-buttons .btn {
    padding: 0.25rem 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.language-buttons .btn-outline-primary:hover {
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
    }
    
    section {
        padding: 40px 0;
    }
    
    .navbar {
        min-height: 80px;
    }

    .navbar-brand {
        position: static;
        transform: none;
        margin: 0 auto;
        font-size: 1.8rem;
        padding: 5px 0;
    }
    
    .navbar-collapse {
        text-align: center;
        background-color: rgba(255, 255, 255, 0.98);
        padding: 1rem;
        border-radius: 0 0 10px 10px;
        margin-top: 0.5rem;
    }
    
    .navbar-nav {
        margin: 0.5rem 0;
    }

    .nav-link {
        padding: 1rem !important;
        font-size: 1.1rem;
    }

    .navbar-brand img {
        max-height: 80px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .language-buttons {
        margin: 0.5rem 0;
        justify-content: center;
    }
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] {
    direction: rtl;
}

body[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .navbar-nav {
    flex-direction: row-reverse;
}

/* RTL Layout Adjustments */
[dir="rtl"] .me-auto {
    margin-right: 0 !important;
    margin-left: auto !important;
}

[dir="rtl"] .ms-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}

[dir="rtl"] .text-start {
    text-align: right !important;
}

[dir="rtl"] .text-end {
    text-align: left !important;
}

/* RTL Card and Content Adjustments */
[dir="rtl"] .card {
    text-align: right;
}

[dir="rtl"] .card-body {
    text-align: right;
}

[dir="rtl"] .list-unstyled {
    text-align: right;
}

[dir="rtl"] .list-unstyled li {
    text-align: right;
}

/* RTL Button and Form Adjustments */
[dir="rtl"] .btn {
    text-align: center;
}

[dir="rtl"] .form-control {
    text-align: right;
}

/* RTL Icon Adjustments */
[dir="rtl"] .fas {
    margin-left: 0.5rem;
    margin-right: 0;
}

[dir="rtl"] .me-2 {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
}

[dir="rtl"] .ms-2 {
    margin-left: 0 !important;
    margin-right: 0.5rem !important;
}

/* RTL Navigation Specific */
[dir="rtl"] .navbar-nav .nav-item {
    margin-left: 0.5rem;
    margin-right: 0;
}

[dir="rtl"] .navbar-nav .nav-item:first-child {
    margin-left: 0;
}

/* RTL Footer Adjustments */
[dir="rtl"] .footer .row {
    direction: rtl;
}

/* RTL Project Cards */
[dir="rtl"] .card-title {
    text-align: right;
}

[dir="rtl"] .card-text {
    text-align: right;
} 