html {
  scroll-behavior: smooth;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Cairo', sans-serif;
  direction: rtl; /* Right-to-left for Arabic */
  background-color: #fff;
  color: #333;
}

/* Header */
header {
  display: flex;
  justify-content: space-between; /* logo left, nav right */
  align-items: center;
  background: rgb(255, 255, 255);
  padding: 20px 60px;
  height: 100px;
}

/* Logo */
header .logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

header .logo img {
  width: 80px;   /* bigger logo */
  height: 80px;
}

header .logo h1 {
  color: black;
  font-size: 28px;
  font-weight: bold;
}

/* Navbar */
nav ul {
  list-style: none;
  display: flex;
  margin-left: 300px;
  gap: 60px; /* more gap between items */
}

nav ul li a {
  color: black;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold; /* bold links */
  transition: color 0.3s ease;
}
nav .search-icon{
  position: absolute;
 margin-right: 50px;
 margin-top: -10px;
  
}
nav ul li a:hover {
  color: #ffcc00; /* gold hover effect */
 
}
.back-btn {
  font-size: 26px;
  text-decoration: none;
  color: black;
  margin-left: 20px;
  transition: color 0.3s ease;
}

.back-btn:hover {
  color: #ffcc00; /* gold hover */
}

/* Search box inside navbar */
.search-container {
  display: flex;
  align-items: center;
  margin-right: 50px;
}

.search-container input {
  padding: 4px 6px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 220px; /* small width */
  transition: width 0.3s ease;
}

.search-container input:focus {
  width: 180px; /* expand on focus */
}

.search-container button {
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 5px;
  font-size: 16px;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 550px;
  background: url("Images/door1.jpeg") no-repeat center center/cover; /* full width image */
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.hero-text {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%); /* center text */
  text-align: center;
  color: black; /* white text so it shows on dark image */
}

.hero-text h2 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: bold;
}

.hero-text p {
  font-size: 29px;
  margin-bottom: 15px;
  font-weight: bold;
}

.hero-text .btn {
  padding: 12px 28px;
  background: #ffcc00;
  color: #222;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease;
  display: inline-block;
}

.hero-text .btn:hover {
  background: #e6b800;
}

/* Collections Section */

.collections {
  padding: 60px 40px;
  text-align: center;
}

.collections h2 {
  font-size: 40px;
  margin-bottom: 10px;
  font-weight: bold;
  color: #e6b800;
}

/* Grid Layout */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 per row */
 margin-left: 150px;
 margin-right: 150px;
 
  justify-items: center; /* center items */
}

.collection-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
  width: 250px;
  transition: transform 0.3s ease;
}
.category-title {
  font-size: 2rem;
  text-align: right;
  margin-top: 50px;
  margin-bottom: 50px;
  margin-left: 800px;
  color: #222;
  padding: 10px 25px;
  display: inline-block;
  border: 2px solid black; /* Blue border */
  border-radius: 12px;
  background-color: #f9f9f9; /* Light background */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
  transition: all 0.3s ease;
}



.collection-item:hover {
  transform: translateY(-8px);
}

.collection-item img {
  width: 100%;
  height: 280px; /* same height for all images */
  object-fit: cover; /* fill nicely */
  border-radius: 40px; /* rounded corners */
  margin-bottom: 15px;
}

/* Button under images */
.collection-item .btn {
  display: inline-block;
  width: 130px;
  padding: 10px 18px;
  background: #ffcc00;
  color: #222;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.collection-item .btn:hover {
  background: #e6b800;
}

/* Floating Social Icons */
.social-icons {
  position: absolute;
  left: 30px;   /* move from right side */
  top: 50%;      /* vertically center */
  transform: translateY(-50%); /* perfect centering */
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 10;   /* ensures above background & text */
}

.social-icons a img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icons a img:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}

.about-us {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 80px 60px;
  background: #f9f9f9;
}

.about-content {
  flex: 1;
}

.about-content h2 {
  font-size: 46px;
  margin-top: -60px;
  margin-right: 350px;
  font-weight: bold;
  color:#e6b800;
}

.about-content p {
  font-size: 22px;
  margin-top: 50px;
  margin-right: 200px;
  text-align: center;
  color: #555;
  line-height: 1.8;
  margin-bottom: 15px;
}


.about-images {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

/* First image (left one) */
.about-images .img-left {
   width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 50% 20% / 30% 60%; /* irregular rounded shapes */
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

/* Second image (right one) */
.about-images .img-right {
 width: 300px;
  height: 300px;
   margin-bottom: 250px;
  object-fit: cover;
  border-radius: 50% 20% / 30% 60%; /* irregular rounded shapes */
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}


.about-images img:hover {
  transform: scale(1.05);
}

.about-details {
  list-style: none;         /* remove default bullets */
  padding: 0;
  margin: 25px 0;
  font-size: 20px;
  line-height: 1.9;
  color: #444;
}

.about-details li {
  margin-bottom: 15px;
  display: flex;
  margin-right: 150px;
  align-items: center;
}

.about-details .icon {
  font-size: 22px;
  margin-left: 10px;       /* space between icon and text */
  color: #ffcc00;          /* golden accent for icons */
}

.about-details strong {
  color: #000;
  font-weight: 600;
  margin-left: 5px;
}

.about-details a {
  color: #ffcc00;
  font-weight: bold;
  text-decoration: none;
}

.about-details a:hover {
  text-decoration: underline;
}

.work-hours {
  margin-top: 5px;
  margin-right: 32px;   /* pushes under the text, aligned with label */
  font-size: 18px;
  color: #555;
  line-height: 1.6;
}

.work-hours span {
  display: block;
}
/* Footer Section */
.footer {
  background: #222;
  color: #ddd;
  padding: 60px 80px 20px;
  /* margin-top: 10px; */
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-column h3, 
.footer-column h4 {
  color: #ffcc00;
  font-size: 24px;
  margin-bottom: 20px;
}

.footer-column p {
  font-size: 18px;
  line-height: 1.8;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
  font-size: 18px;
}

.footer-column ul li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #ffcc00;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.footer-social img:hover {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 40px;
}

.footer-bottom p {
  font-size: 16px;
  color: #aaa;
}




/* ================= Responsive ================= */

/* Tablet view */
@media (max-width: 992px) {
  nav ul {
    gap: 25px;
    margin-left: 90px;
  }
.search-container {
  display: flex;
  align-items: center;
  margin-right: 50px;
  width: 10px;
}
  .hero-text h2 {
    font-size: 32px;
  }

  .hero-text p {
    font-size: 20px;
  }
.social-icons {
  position: absolute;
  left: 30px;   /* move from right side */
  top: 20%;      /* vertically center */
  transform: translateY(-50%); /* perfect centering */
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 10;   /* ensures above background & text */
}
  .collection-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 items per row */
    margin-left: 40px;
    margin-right: 40px;
  }



  .footer {
    padding: 40px 20px;
  }

  .footer-column h3, .footer-column h4 {
    font-size: 20px;
  }

  .footer-column p,
  .footer-column ul li {
    font-size: 16px;
  }
  /* About section better scaling */
  .about-us {
    flex-direction: column;
    padding: 40px 20px;
    text-align: center;
  }

  .about-content {
    max-width: 700px;
    margin: 0 auto;
  }

  .about-content h2 {
    font-size: 32px;
    margin: 0 auto 20px auto;
    text-align: center;
  }

  .about-content p {
    font-size: 18px;
    margin: 0 auto 20px auto;
    text-align: center;
  }

  .about-details li {
    margin: 0 auto 10px auto;
    justify-content: center;
    font-size: 16px;
  }

  .about-images {
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
  }

  .about-images .img-left,
  .about-images .img-right {
    width: 220px;
    height: 220px;
    margin: 0;
  }
    .search-container input {
    /* display: none; */
    position: absolute;
    right: 850px;
    top: 35px;
    width: 160px;
    border: 1px solid #ccc;
    padding: 6px 8px;
    border-radius: 4px;
    background: #fff;
  }

  .search-container.active input {
    display: block;
  }
}

/* Mobile view */
@media (max-width: 600px) {
  header {
    padding: 15px 20px;
    height: auto;
  }

  header .logo img {
    width: 50px;
    height: 50px;
  }

  header .logo h1 {
    font-size: 20px;
  }

  /* Navbar – only show search icon */
  nav ul {
    gap: 10px;
  }

  nav ul li {
    display: none; /* hide all menu items */
  }

  nav ul li.search-container {
    display: flex !important; /* keep search */
  }

  .search-container input {
    display: none; /* hide input on small screen */
  }

  .search-container.active input {
    display: block; /* show input when active */
    width: 160px;
  }

  /* Hero */
  .hero {
    height: 300px;
  }

  .hero-text h2 {
    font-size: 22px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-text .btn {
    padding: 8px 16px;
    font-size: 14px;
  }
 
  /* Collections grid */
  .collection-grid {
    grid-template-columns: 1fr; /* 1 per row */
    margin-left: 20px;
    margin-right: 20px;
  }


  .collection-item img {
    height: 200px;
  }

  .category-title {
    margin-left: 0;
    font-size: 20px;
    text-align: center;
  }

  /* Footer */
  .footer {
    padding: 20px;
    text-align: center;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-bottom p {
    font-size: 14px;
  }
}
