@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&display=swap');

:root {
    --primary-gold: #C5A052;
    --primary-light-gold: #D4B478;
    --cream: #FDF6E3;
    --white: #FFFFFF;
    --dark: #2C2C2C;
    --dark-green: #324632;
    --gray-light: #F8F9FA;
    --text-color: #333333;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--white);
    direction: rtl;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

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

/* ========================
   Header & Navbar
   ======================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition);
    padding: 15px 0;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 60px;
    transition: var(--transition);
}

.site-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    max-width: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.4s ease;
}

header.scrolled .logo img {
    height: 50px;
}

header.scrolled .site-name {
    max-width: 250px;
    opacity: 1;
    visibility: visible;
}

/* Desktop Nav */
nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav ul li a {
    font-weight: 600;
    color: var(--white);
    font-size: 1.05rem;
    position: relative;
    padding: 5px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-gold);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

header.scrolled nav ul li a {
    color: var(--dark);
}

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

/* CTA Button */
.contact-btn {
    background-color: var(--primary-gold);
    color: var(--white) !important;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid var(--primary-gold);
}

.contact-btn::after {
    display: none !important;
}

.contact-btn:hover {
    background-color: transparent;
    color: var(--primary-gold) !important;
    border-color: var(--primary-gold);
    transform: translateY(-2px);
}

header.scrolled .contact-btn {
    color: var(--white) !important;
}

header.scrolled .contact-btn:hover {
    color: var(--primary-gold) !important;
}

/* Mobile Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

header.scrolled .hamburger span {
    background-color: var(--dark);
}

.hamburger.active span {
    background-color: var(--dark) !important;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ========================
   Hero Section
   ======================== */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
        url('../images/hero-bg.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    padding-top: 100px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 15px;
    font-weight: 800;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    background-color: var(--primary-gold);
    color: var(--white);
    padding: 15px 40px;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 8px;
    display: inline-block;
    border: 2px solid var(--primary-gold);
    transition: var(--transition);
}

.btn-large:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-3px);
}

.hero-actions .contact-btn {
    background-color: transparent;
    border: 2px solid var(--white);
    border-radius: 8px;
    padding: 15px 40px;
    font-size: 1.15rem;
}

.hero-actions .contact-btn:hover {
    background-color: var(--white);
    color: var(--primary-gold) !important;
}

/* ========================
   Sections General
   ======================== */
section {
    padding: 100px 0;
}

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

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

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-gold);
    border-radius: 2px;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
    margin-top: 15px;
}

/* ========================
   About Section
   ======================== */
.about {
    background-color: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text .section-title {
    text-align: right;
    margin-bottom: 30px;
}

.about-text .section-title h2 {
    display: inline-block;
}

.about-text .section-title h2::after {
    right: 0;
    transform: none;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-green);
}

.about-text p {
    line-height: 2;
    color: #555;
}

.experience-counter {
    background-color: var(--white);
    padding: 30px;
    border-right: 5px solid var(--primary-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    margin-top: 30px;
}

.experience-counter .number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-gold);
    display: block;
    line-height: 1;
}

.experience-counter .text {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 5px;
}

/* ========================
   Cards Grid
   ======================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--white);
    padding: 45px 35px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.card:hover {
    transform: translateY(-12px);
    border-bottom-color: var(--primary-gold);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

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

.card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--dark);
}

.card p {
    color: #666;
    line-height: 1.8;
}

/* ========================
   Product Categories
   ======================== */
.products {
    background-color: var(--white);
}

.products .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.product-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    height: 380px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.product-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(44, 44, 44, 0.95) 0%, rgba(44, 44, 44, 0.4) 40%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 35px 25px;
    color: var(--white);
    transition: padding-bottom 0.4s ease;
}

.product-item:hover .product-overlay {
    padding-bottom: 45px;
    background: linear-gradient(to top, rgba(197, 160, 82, 0.95) 0%, rgba(44, 44, 44, 0.6) 50%, transparent 100%);
}

.product-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.product-overlay p {
    font-size: 1rem;
    opacity: 0.85;
    transform: translateY(10px);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.product-item:hover .product-overlay p {
    transform: translateY(0);
    opacity: 1;
}

/* ========================
   Why Us Section
   ======================== */
.why-us {
    background-color: var(--white);
    padding: 100px 0;
}

/* ========================
   Footer
   ======================== */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-about img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.9;
}

.footer-links h3 {
    color: var(--primary-gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links li i {
    margin-left: 8px;
    color: var(--primary-gold);
    width: 20px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--primary-gold);
    padding-right: 5px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    color: var(--white);
}

.footer-social a:hover {
    background-color: var(--primary-gold);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================
   Mobile Responsive
   ======================== */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .products .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
}

@media (max-width: 767px) {

    /* Show hamburger, hide desktop nav */
    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        transition: left 0.4s ease;
        padding: 100px 30px 30px;
        z-index: 999;
    }

    nav.open {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav ul li {
        border-bottom: 1px solid var(--cream);
    }

    nav ul li a {
        color: var(--dark) !important;
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
    }

    nav ul li a:hover,
    nav ul li a.active {
        color: var(--primary-gold) !important;
    }

    nav ul li a::after {
        display: none;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }

    .nav-overlay.visible {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.05rem;
        padding: 0 10px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .product-item {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .btn-large {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .experience-counter .number {
        font-size: 3rem;
    }
}