:root {
    --primary-color: #a0614f;
    /* Warm Earth Tone */
    --secondary-color: #6b3e2d;
    /* Darker Earth Tone */
    --accent-color: #e6d5c3;
    /* Cream/Beige */
    --text-color: #333333;
    /* Dark Grey for better readability on light bg */
    --bg-color: #f9f7f2;
    /* Light Cream background */
    --card-bg: #ffffff;
    --font-main: 'Tajawal', sans-serif;
    --font-heading: 'Tajawal', serif;
    /* Use serif for headings if available, or keep Tajawal with different weight */
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Navbar */
.navbar {
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.navbar-brand img {
    height: 60px;
    width: auto;
}

.nav-link {
    color: var(--secondary-color) !important;
    font-weight: 700;
    margin: 0 0.8rem;
    position: relative;
    font-size: 1.1rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    border-radius: 5px;
    /* More traditional look */
    padding: 0.6rem 2rem;
    font-weight: 700;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-light {
    border-color: white;
    color: white;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/hero.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 12rem 0;
    position: relative;
    margin-bottom: 0;
    text-align: center;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: #f0f0f0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background-color: var(--bg-color);
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--card-bg);
    border-radius: 15px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.feature-title {
    color: white;
    margin-bottom: 1rem;
}

/* Categories Section */
.categories-section {
    padding: 5rem 0;
    background-color: #222;
}

.section-title {
    color: white;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

.category-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    display: block;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.category-image-wrapper {
    height: 250px;
    overflow: hidden;
    position: relative;
    background-color: #f0f0f0;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image {
    transform: scale(1.1);
}

.category-body {
    padding: 1.5rem;
    text-align: center;
}

.category-name {
    color: var(--text-color);
    margin: 0;
    font-weight: 700;
}

/* Testimonials */
.testimonials-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    text-align: center;
}

/* Footer */
footer {
    background-color: #111 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #aaa;
}

footer h5 {
    color: white;
}

footer a:hover {
    color: var(--accent-color) !important;
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}