:root {
    --primary-red: #8B0000;
    --primary-gold: #D4AF37;
    --arabic-font: 'Tajawal', sans-serif;
}
body {
    font-family: var(--arabic-font);
    margin: 0;
    padding: 0;
    color: #333;
    background-image: linear-gradient(
        45deg,
        rgba(139, 0, 0, 0.05),
        rgba(212, 175, 55, 0.05)
    );
    background-size: 400% 400%;
    animation: float-background 20s ease infinite;
}
@keyframes float-background {
    0% { background-position: 0 0; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0 0; }
}
.header {
    background: linear-gradient( -45deg, var(--primary-red), DarkRed, Maroon, FireBrick);
    background-size: 400% 400%;
    animation: Gradient 15s ease infinite;
    color: white;
    padding: 15px;
    text-align: center;
    position: relative;
}
.logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-gold);
    margin-bottom: 10px;
}
.nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 10px;
    background-color: #e0e0e0;
}
.nav a {
    text-decoration: none;
    color: var(--primary-red);
    font-weight: bold;
    padding: 5px 10px;
    position: relative;
    transition: color 0.3s;
}
.nav a:hover {
    color: var(--primary-gold)
}
.nav a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-gold);
    transition: width 0.3s ease;
}
.nav a:hover::after {
    width: 100%;
}
.hero {
    height: 300px;
    background-image: url('المنزل السوري ب فيس.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    animation: flex; 
}
.hero h1 {
    position: relative;
    animation: fadeInUp 1s both;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}
.section {
    padding: 30px 15px;
    max-width: 1200px;
    margin: 0 auto;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.section h2 {
    position: relative;
    padding-bottom: 10px;
    color: var(--primary-red);
}
.section h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 3px;
    background: var(--primary-gold);
    animation: scaleX 1s both;
}
.hidden { display: none; }
.whatsapp-btn {
    background-color: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin: 10px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.whatsapp-btn:hover, .gold-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}
.gold-btn {
    background-color: var(--primary-gold);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin: 10px 0;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.fb-btn {
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 10px 14px;
    border-radius: 5px;
    text-decoration: none;
    margin: 10px 0;
    display: inline-block;
    transition: all 0.3s ease;
}
.close-btn {
    background: transparent;
    color: var(--primary-red);
    border: 1px solid #ddd;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.product-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
}
.product-card.in-view {
    opacity: 1;
    transform: translateY(0);
}
.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        0deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}
.product-card:hover::before {
    top: -10%;
    left: -10%;
    opacity: 1;
}
.product-card:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.15);
}
.product-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}
.product-category {
    padding: 15px;
    text-align: center;
    background-color: #f5f5f5;
    font-weight: bold;
}
form {
    max-width: 500px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}
.footer {
    background-color: var(--primary-red);
    color: white;
    text-align: center;
    padding: 30px 15px;
    margin-top: 30px;
}
.contact-info {
    margin: 15px 0;
}
.working-hours {
    font-weight: bold;
    margin: 15px 0;
    color: var(--primary-gold);
}
.map-container {
    margin-top: 20px;
}
iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 8px;
}
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: none;
    }
}
@keyframes Gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
@keyframes scaleX {
    0% {
        width: 0;
    }
    100% {
        width: 100px;
    }
}
.text-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
}
.text-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 768px) {
    .logo {
        font-size: 1.5rem;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
}
@media (prefers-reduced-motion) {
    html {
        scroll-behavior: auto;
    }
}
#progress{position:fixed;top:0;right:0;height:3px;background:var(--primary-gold);width:0;z-index:1000;}
.header.shrink{padding:8px;box-shadow:0 2px 10px rgba(0,0,0,.15);}
.fab-whatsapp{position:fixed;left:16px;bottom:16px;background:var(--primary-gold);color:#fff;padding:12px 16px;border-radius:999px;box-shadow:0 6px 16px rgba(0,0,0,.2);font-weight:700;text-decoration:none;}
.gold-btn{position:relative;overflow:hidden;}
.gold-btn::after{content:"";position:absolute;top:0;right:-50%;width:40%;height:100%;background:linear-gradient(120deg,transparent,rgba(255,255,255,.45),transparent);transform:skewX(-20deg);transition:transform .6s;}
.gold-btn:hover::after{transform:translateX(-220%) skewX(-20deg);}