/* =========================================================
   VARIABLES & RESET
========================================================= */
:root {
    --primary-color: #5D4037;
    --secondary-color: #8B5A3A;
    --accent-color: #E6D2B5;
    --light-color: #F9F5EB;
    --dark-color: #3E2723;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;

  
}

body {
    background-color: var(--light-color);
    color: var(--dark-color);
    overflow-x: hidden;
    scroll-behavior: smooth; 
}

/* =========================================================
   NAVBAR
========================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(93,64,55,0.95);
    backdrop-filter: blur(8px);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: var(--transition);
}

.logo {
    display: flex;
    align-items: center;
    color: #f9f5eb;
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    transition: var(--transition);


     display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: #f9f5eb;
    cursor: pointer;
    /* نجعل transform-origin في المنتصف */
    transform-origin: center;
}





.logo:hover {
    transform: translateY(-3px) scale(1.05);
    text-shadow: 0 4px 15px rgba(249,245,235,0.5);

}

.logo-img {
    width: 60px;
    height: 60px;
    margin-left: 15px;
    background: linear-gradient(135deg, #e6d2b5 0%, #d4b896 100%);
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid #b88a61;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.logo-img i {
    font-size: 32px;
    color: #6d4c3d;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 15px;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #f9f5eb;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 16px;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.nav-link i {
    font-size: 20px;
    margin-bottom: 5px;
    transition: var(--transition);
}

.nav-link:hover {
    background: linear-gradient(135deg, #b88a61 0%, #a57a5a 100%);
    transform: translateY(-4px) scale(1.05);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.nav-link:hover i {
    transform: scale(1.3);
}

/* =========================================================
   HERO SECTION
========================================================= */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(61,39,35,0.6), rgba(61,39,35,0.6)), url('back2.jpeg') center/cover no-repeat fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--light-color);
    margin-top: 90px;
    border-radius: 20px;
    padding: 0 20px;
    position: relative;
    animation: heroFade 1.5s ease-out;
}

@keyframes heroFade {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.6);
    animation: fadeInUp 1s ease forwards 0.3s;
    opacity: 0;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 25px;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease forwards 0.6s;
    opacity: 0;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* زر الطلب الرئيسي */
.btn {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--light-color);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: var(--transition);
    animation: fadeInUp 1s ease forwards 0.9s;
    opacity: 0;
}

.btn:hover {
 transform: translateY(-5px);
 box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
 color: #fff;
}

/* زر استكشف الهيرو */
.hero .btn-explore {
    display: inline-block;
    padding: 15px 35px;
    background: var(--accent-color);
    color: var(--dark-color);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
    z-index: 10;
    animation: fadeInUp 1s ease forwards 1.2s;
    opacity: 0;
    overflow: hidden;
}

.hero .btn-explore:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transition: all 0.4s ease;
    z-index: -1;
    border-radius: 50px;
}

.hero .btn-explore:hover:before {
    width: 100%;
}

.hero .btn-explore:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    color: #fff;
}

/* =========================================================
   STATISTICS
========================================================= */
.stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease forwards 1.5s;
    opacity: 0;
}

.stat {
    background: linear-gradient(135deg, #b88a6154, #d4b8965b);
    padding: 25px 30px;
    border-radius: 15px;
    text-align: center;
    color: #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 150px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.stat:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), transparent);
    transform: translateY(100%);
    transition: transform 0.6s ease;
}

.stat:hover:before {
    transform: translateY(0);
}

.stat:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.stat h3 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    position: relative;
    z-index: 2;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat p {
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
    font-weight: 500;
    margin: 0;
}

.stat i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
    color: rgba(255, 255, 255, 0.9);
}

/* =========================================================
   PRODUCTS SECTION
========================================================= */
.products {
    padding: 80px 5%;
    background: linear-gradient(135deg, #f5f1e8 0%, #e9e1d1 100%);
    border-radius: 20px;
    margin: 60px auto;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* كارد المنتج */
.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    transition: var(--transition);
    text-align: center;
    position: relative;
    cursor: pointer;
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

/* تأثير الصورة */
.product-img { height: 220px; overflow: hidden; position: relative; }
.product-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: all 0.5s ease;
    filter: brightness(0.95);
}
.product-card:hover .product-img img { 
    transform: scale(1.1) rotate(1deg); 
    filter: brightness(1);
}

/* محتوى الكارد */
.product-content { padding: 20px; }
.product-content h3 { font-size: 1.4rem; color: var(--primary-color); margin-bottom: 10px; }
.product-content p { font-size: 1rem; color: var(--dark-color); line-height: 1.6; margin-bottom: 15px; }
.product-price { font-size: 1.2rem; font-weight: 700; color: var(--secondary-color); margin-bottom: 15px; }

/* أزرار الكارد */
.product-content .btn { font-size: 1rem; padding: 12px 25px; margin-bottom: 10px; transition: transform 0.3s; }
.product-content .btn:hover { transform: translateY(-3px) scale(1.05); }

/* زر استكشف */
.product-content .btn-explore {
    display: inline-block;
    padding: 10px 25px;
    background: var(--accent-color);
    color: var(--dark-color);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.4s ease;
    opacity: 0.95;

}
.product-content .btn-explore:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #fff;
}

/* =========================================================
   RESPONSIVE MEDIA QUERIES
========================================================= */
@media (max-width: 992px){
    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 1.1rem; }

}

@media (max-width: 768px){
    .hero h1 { font-size: 2.3rem; }
    .section-title h2 { font-size: 2rem; }
    .nav-link { padding: 10px 14px; }

}

@media (max-width: 576px){
    .hero h1 { font-size: 2rem; }
    .btn { padding: 12px 25px; }
    .section-title h2 { font-size: 1.8rem; }

}

/* حول شركتنا */
/* الحاوية */
.container {
  max-width:1200px;
  margin:auto;
  padding:20px;
  font-family:'Tajawal', sans-serif;
}

/* HERO */
.hero-section {
  background:url('blaodkhabsaudia.jpeg') center/cover no-repeat;
  position:relative;
  height:70vh;
  display:flex; align-items:center; justify-content:center;
  border-radius:20px;
  margin-bottom:50px;
  overflow:hidden;

}
.hero-overlay {
  background:rgba(40,25,15,0.65);
  padding:50px 30px;
  border-radius:15px;
  text-align:center;
  color:#fff;
  max-width:700px;
}
.hero-section h2 {
  font-size:2.5rem;
  margin-bottom:15px;
  color:#f4e3d7;
}
.hero-section p {
  font-size:1.2rem;
  margin-bottom:20px;
  line-height:1.8;
}
.btn {
  background:#8B5A3A;
  color:#fff;
  padding:12px 30px;
  border-radius:30px;
  text-decoration:none;
  font-weight:600;
  transition:0.3s;
}
.btn:hover { background:#5D4037; }

/* ABOUT */
.about-text {
  background:#fff;
  padding:35px;
  border-radius:15px;
  box-shadow:0 4px 15px rgba(0,0,0,0.08);
  margin-bottom:50px;
  text-align:right;
}
.about-text h3 {
  font-size:2rem;
  color:#5D4037;
  margin-bottom:15px;
}
.about-text p {
  font-size:1rem;
  line-height:1.8;
  color:#333;
}


/* العملاء */


/* VALUES */
.values-section { margin-bottom:50px; }
.section-title {
  text-align:center;
  margin-bottom:30px;
  font-size:2rem;
  color:#5D4037;
}
.values-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
  gap:25px;
}
.value-card {
  background:#fff;
  padding:30px;
  border-radius:15px;
  text-align:center;
  box-shadow:0 5px 15px rgba(0,0,0,0.1);
  transition:0.3s;
}
.value-card:hover {
  transform:translateY(-7px);
  box-shadow:0 12px 25px rgba(0,0,0,0.15);
}
.value-card i {
  font-size:2.5rem;
  color:#8B5A3A;
  margin-bottom:15px;
}
.value-card h4 {
  margin-bottom:10px;
  font-size:1.3rem;
  color:#5D4037;
}
.value-card p {
  font-size:0.95rem;
  line-height:1.6;
}



/* CTA Section */
.cta-modern {
  background: url('cta-wood.jpg') center/cover no-repeat;
  position: relative;
  padding: 100px 20px;
  border-radius: 20px;
  margin-bottom: 80px;
  text-align: center;
  overflow: hidden;
}
.cta-modern::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(93,64,55,0.95), rgba(139,90,58,0.9));
}
.cta-overlay {
  position: relative;
  color: #fff;
  max-width: 700px;
  margin: auto;
  z-index: 2;
}
.cta-overlay h2 {
  font-size: 2.4rem;
  margin-bottom: 15px;
  font-weight: bold;
}
.cta-overlay p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  line-height: 1.6;
}
.cta-button {
  background: #D4A373;
  color: #fff;
  padding: 14px 40px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: 0.3s;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.cta-button:hover {
  background: #B07C50;
  transform: translateY(-3px);
}

/* FAQ Accordion */
.faq-modern {
  background: #fff;
  padding: 60px 20px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  margin-bottom: 80px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.faq-modern h2 {
  text-align: center;
  font-size: 2rem;
  color: #5D4037;
  margin-bottom: 40px;
}
.faq-item {
  border-bottom: 1px solid #ddd;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px;
  font-size: 1.2rem;
  text-align: right;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #5D4037;
  font-weight: bold;
  transition: 0.3s;
}
.faq-question:hover {
  color: #8B5A3A;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 18px;
  color: #444;
}
.faq-answer.open {
  max-height: 200px;
  padding: 15px 18px;
}
.icon {
  font-size: 1.5rem;
  transition: transform 0.3s;
}
.icon.rotate {
  transform: rotate(45deg);
}


/* Luxury Footer */
.luxury-footer {
  background: url('wood-pattern.jpg') center/cover no-repeat;
  position: relative;
  color: #fff;
  margin-top: 80px;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}
.luxury-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(93,64,55,0.95), rgba(139,90,58,0.9));
  backdrop-filter: blur(5px);
}
.footer-overlay {
  position: relative;
  z-index: 2;
}
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 40px;
  padding: 60px 40px;
}
.footer-brand h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #FFD700;
  text-shadow: 0 0 8px rgba(255,215,0,0.6);
}
.footer-brand p {
  font-size: 1rem;
  line-height: 1.7;
  color: #ddd;
}

/* Links */
.footer-links h3, 
.footer-contact h3, 
.footer-social h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: #FFD700;
  border-bottom: 2px solid #FFD700;
  display: inline-block;
  padding-bottom: 5px;
}
.footer-links ul {
  list-style: none;
  padding: 0;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: #eee;
  text-decoration: none;
  transition: 0.3s;
}
.footer-links a:hover {
  color: #FFD700;
  padding-right: 5px;
}

/* Contact */
.footer-contact p {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #ddd;
}
.footer-contact i { margin-left: 8px; color: #FFD700; }

/* Social */
.social-icons a {
  display: inline-block;
  margin: 0 8px;
  font-size: 1.4rem;
  color: #eee;
  transition: 0.3s;
}
.social-icons a:hover {
  color: #FFD700;
  transform: scale(1.2);
}

/* Bottom */
.footer-bottom {
  text-align: center;
  padding: 20px;
  background: rgba(0,0,0,0.3);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,215,0,0.3);
}
.footer-bottom i { color: #FFD700; }
