:root {
    --gold: #d4af37;
    --gold-dark: #b3922b;
    --silver: #bdc3c7;
    --silver-dark: #7f8c8d;
    --dark: #1a1a1a;
    --black: #000;
    --white: #fff;
}

body {
    font-family: 'Tajawal', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--dark);
    color: var(--white);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; padding: 0; margin: 0; }

/* Header */
header {
    background: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 2px 20px rgba(212, 175, 55, 0.2);
}

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

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--silver);
    font-weight: 500;
    font-size: 1.1rem;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--gold);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/hero-bg.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

/* Fallback if no image */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle, transparent 20%, var(--black) 100%);
    pointer-events: none;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    animation: fadeInUp 1.5s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.hero p {
    font-size: 1.5rem;
    color: var(--silver);
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--gold);
    color: var(--gold);
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: 0.3s;
    background: transparent;
}

.btn:hover {
    background: var(--gold);
    color: var(--black);
    box-shadow: 0 0 15px var(--gold);
}

/* Services */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--gold);
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
}

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

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

.service-card {
    background: #222;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #333;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.service-card i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.service-card p {
    color: var(--silver);
    line-height: 1.6;
}

/* Gallery */
.gallery-section {
    background-color: #111;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    height: 250px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 10px 20px;
    text-transform: uppercase;
}

/* About */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--silver);
    margin-bottom: 20px;
}

.about-img {
    flex: 1;
    min-width: 300px;
}

.about-img img {
    width: 100%;
    border-radius: 10px;
    border: 2px solid var(--gold);
    box-shadow: 10px 10px 0 var(--silver-dark);
}

/* Contact */
.contact-section {
    background: #0f0f0f;
}

.contact-info {
    text-align: center;
    margin-bottom: 40px;
}

.contact-info p {
    font-size: 1.2rem;
    color: var(--silver);
    margin: 10px 0;
}

.contact-info i {
    color: var(--gold);
    margin-left: 10px;
}

/* Footer */
footer {
    background: #000;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #333;
}

footer p {
    color: var(--silver-dark);
    margin: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        border-top: 1px solid var(--gold);
        padding: 20px 0;
        clip-path: circle(0% at 100% 0);
        transition: 0.5s ease-in-out;
    }

    .nav-links.active {
        clip-path: circle(140% at 100% 0);
    }

    .nav-links a {
        display: block;
        padding: 15px 20px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
}
