/* Base styles */
:root {
    --primary-color: #8B5A2B;
    --secondary-color: #4A7C59;
    --accent-color: #D4AF37;
    --light-color: #F5F5F5;
    --dark-color: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

h1, h2, h3, h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    padding-bottom: 1rem;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

/* RTL specific styles */
[dir="rtl"] h2:after {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* Header and Navigation */
header {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 2rem;
}

/* RTL specific styles */
[dir="rtl"] .nav-links li {
    margin-left: 0;
    margin-right: 2rem;
}

.nav-links a {
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.language-switcher {
    margin-left: 2rem;
    display: flex;
    align-items: center;
    padding-left: 2rem;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

/* RTL specific styles */
[dir="rtl"] .language-switcher {
    margin-left: 0;
    margin-right: 2rem;
    padding-left: 0;
    padding-right: 2rem;
    border-left: none;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.language-switcher a {
    padding: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.language-switcher a.active {
    color: var(--accent-color);
}

.language-switcher span {
    color: var(--primary-color);
    opacity: 0.5;
    margin: 0 0.5rem;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 700px;
    overflow: hidden;
    margin-top: 76px;
}

.slider {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.slide-content h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Description Section */
.description {
    padding: 5rem 0;
    background-color: white;
}

.description-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Meet the Animals Section */
.animals {
    padding: 5rem 0;
    background-color: #f8f8f8;
}

.animals-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.animals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.animal-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.animal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.animal-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
}

.animal-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.animal-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.animal-info p {
    margin-bottom: 0;
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: white;
}

.mission-statement {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pillar {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.pillar-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Plan a Visit Section */
.visit {
    padding: 5rem 0;
    background-color: #f8f8f8;
    text-align: center;
}

.visit-content {
    max-width: 600px;
    margin: 0 auto;
}

.visit-alert {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.contact-info {
    line-height: 2;
}

.contact-info i {
    color: var(--accent-color);
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

/* RTL specific styles */
[dir="rtl"] .contact-info i {
    margin-right: 0;
    margin-left: 0.5rem;
}

.map-container {
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

footer p {
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 76px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 76px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: left 0.3s ease;
    }

    /* RTL specific styles */
    [dir="rtl"] .nav-links {
        left: auto;
        right: -100%;
        transition: right 0.3s ease;
    }
    
    .nav-links.active {
        left: 0;
    }

    /* RTL specific styles */
    [dir="rtl"] .nav-links.active {
        left: auto;
        right: 0;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

#slide1, #slide2, #slide3 {
    background-image: url('src/hero_al-sadak.jpg');
} 