* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    background-color: #f4ede6;
    color: #2d2d2d;
    line-height: 1.6;
}
/* Navbar */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 8%;
    background: #f8f1ea;
}
nav a {
    margin-left: 25px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}
nav a:hover {
    color: #a67c52;
}

.hero {
    display: flex;
    align-items: center;
    justify-content:space-between;
    padding: 50px;
    background-color: #e8dfd2;
}

.hero-text h1 {
    font-size: 60px;
    line-height: 1.2;
    margin-bottom: 30px;
    
}
/* Buttons */
 button {
    padding: 12px 25px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s;
    border-radius:10px;
    background-color: #2d2d2d ;
    color: white;
    
    
}
.primary-btn {
    background: #2d2d2d;
     color: white;
}

.primary-btn:hover {
    background: #a67c52;
}
.hero-text button {
    padding: 12px 30px;
    background-color: #2c2c2c;
    color: white;
    border: none;
    cursor: pointer;
}
.hero {
  width: 100%; /* الهيدر يمتد عرض الصفحة كامل */
  height: 500px; /* ارتفاع الهيدر */
  background-image: url('newheader.jpg'); /* ضع هنا اسم الصورة أو مسارها */
  background-size: cover; /* الصورة تغطي الهيدر كله */
  background-position: center; /* تمركز الصورة */
  background-repeat: no-repeat; /* منع تكرار الصورة */
  display: flex;
  align-items: center; /* تمركز النص عموديًا */
  justify-content: center; /* تمركز النص أفقيًا */
  color: rgb(44, 42, 42); /* لون النص */
  font-size: 2rem;
  text-align: left;
  text-shadow: 1px 1px 5px black; /* لجعل النص واضح على الصورة */
  justify-content: flex-start;
}
/* Products */
.products {
    padding: 80px 8%;
    text-align: center;
}

.products h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 40px;
    font-size: 36px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}
.card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    transition: 0.4s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-10px);
}
.card button:hover{
    background: #a67c52;

}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}
/* About */
.about {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 80px 8%;
    flex-wrap: wrap;
    justify-content: center;
}


.about img {
    width: 300px;
    border-radius: 12px;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
    text-align: center;
}
.about-text p {
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
    text-align: center;
}

.highlight {
    display: flex;
    align-items: flex-start;  /* تبدأ العناصر من فوق */
    gap: 30px;                /* مسافة بين الصورة والنصوص */
    padding: 80px 8%;
    flex-wrap: wrap;           /* لو الشاشة صغيرة، العناصر تتحط تحت بعض */
    justify-content:center;
    
}

.highlight img {
    width: 300px;
    border-radius: 12px;
}

.highlight-text {
    display: flex;
    flex-direction: column;   /* يخلي h2 و p و button تحت بعض */
    gap: 12px;                /* مسافة بين كل عنصر */
    text-align: center;       /* توسيط النصوص */
    margin-top: 50px;
}

/* Subscribe */
.subscribe {
    text-align: center;
    padding: 80px 8%;
}

.subscribe-box {
    margin-top: 20px;
}

.subscribe input {
    padding: 12px;
    width: 250px;
    border: 1px solid #ccc;
}

.subscribe button {
    background: #2d2d2d;
    color: white;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    background:  #2d2d2d ;
    color: white;
    font-size: 14px;
}

/* Animation */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(20px);}
    to {opacity: 1; transform: translateY(0);}
}

/* Responsive */
@media (max-width: 768px) {

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-img img {
        width: 100%;
        margin-top: 30px;
    }

    .about {
        flex-direction: column;
        text-align: center;
    }

}


