/* Global Styles */
:root {
    --primary-color: #D4AF37;
    /* Gold */
    --primary-dark: #B4941F;
    --secondary-color: #1a1a1a;
    /* Dark Grey/Black */
    --text-color: #333;
    --light-bg: #f9f9f9;
    --white: #fff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* English Language Support */
html[lang="en"] body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html[dir="ltr"] .logo i {
    margin-left: 0;
    margin-right: 10px;
}

html[dir="ltr"] .navbar ul li {
    margin-left: 0;
    margin-right: 30px;
}

html[dir="ltr"] .features li i {
    margin-left: 0;
    margin-right: 10px;
}

html[dir="ltr"] .contact-item i {
    margin-left: 0;
    margin-right: 20px;
}

html[dir="ltr"] .social-links a {
    margin-left: 0;
    margin-right: 15px;
}

html[dir="ltr"] .btn-outline {
    margin-right: 0;
    margin-left: 15px;
}

html[dir="ltr"] .lang-toggle {
    margin-left: 20px;
    margin-right: auto;
}

html[dir="ltr"] .navbar ul li a::after {
    right: auto;
    left: 0;
}

html[dir="ltr"] .img-border {
    right: auto;
    left: -20px;
}


a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.section-title .line {
    display: block;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: 5px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-right: 15px;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--secondary-color);
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo i {
    margin-left: 10px;
    font-size: 1.8rem;
}

/* Language Toggle Button */
.lang-toggle {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    margin-left: auto;
    margin-right: 20px;
}

.lang-toggle:hover {
    background: transparent;
    color: var(--primary-color);
}

.navbar ul {
    display: flex;
}

.navbar ul li {
    margin-left: 30px;
}

.navbar ul li a {
    color: var(--white);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.navbar ul li a:hover::after,
.navbar ul li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--primary-color);
}

.hero h1 span {
    color: var(--white);
    font-size: 2.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.about-text p {
    color: #666;
    margin-bottom: 25px;
}

.features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.features li i {
    color: var(--primary-color);
    margin-left: 10px;
}

.about-img {
    position: relative;
}

.about-img img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 2;
    position: relative;
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.img-border {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 5px solid var(--primary-color);
    border-radius: 10px;
    z-index: 1;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    padding: 40px 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.product-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary-color);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.product-card:hover .card-icon {
    background: var(--primary-color);
    color: var(--white);
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 300px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: var(--white);
    font-size: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay h4 {
    transform: translateY(0);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    overflow: hidden;
}

.contact-info {
    padding: 50px;
    background: var(--secondary-color);
    color: var(--white);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-left: 20px;
    margin-top: 5px;
}

.contact-item h4 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.contact-item a {
    color: #ccc;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.social-links {
    margin-top: 40px;
    display: flex;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 15px;
    transition: var(--transition);
    color: var(--white);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.contact-map {
    height: 100%;
}

.contact-map iframe {
    height: 100%;
    min-height: 400px;
}

/* Footer */
.footer {
    background: #111;
    color: #999;
    padding: 30px 0;
    text-align: center;
}

.footer-logo h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-copy {
    margin-top: 20px;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 991px) {

    .about-grid,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-img {
        order: -1;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h1 span {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .lang-toggle {
        margin-right: 10px;
        padding: 6px 15px;
        font-size: 0.85rem;
    }

    .menu-toggle {
        display: block;
    }

    .navbar {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--secondary-color);
        transition: var(--transition);
        text-align: center;
        padding-top: 50px;
    }

    .navbar.active {
        left: 0;
    }

    .navbar ul {
        flex-direction: column;
    }

    .navbar ul li {
        margin: 20px 0;
    }

    .hero-btn {
        flex-direction: column;
    }

    .btn {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
}

/* Animations Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}