/* ===== RESET ===== */
* {
  box-sizing: border-box;
}

html, body {
  height: 90%;
  margin: 0;
  width: 100%;
  font-family: Arial, sans-serif;
}

body {
  background: #f2f2f2;
}

/*  Width */
#root,
.app-container {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 1%;
  padding-right: 1%;
  padding-bottom: 1%;
}

/* ===== LAYOUT ===== */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 95vh;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;   
  margin: 0;
  padding: 0;
  background: #b03c3c;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  max-width: 1100px;   
  margin: auto;     
  padding: 0 15px;
}

.logo img {
  height: 40px;
}

/* ===== MENU ===== */
.menu {
  display: flex;
  gap: 10px;
}

.menu a {
  color: white;
  text-decoration: none;
  padding: 8px 12px;
}

.menu-btn {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: white;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  .menu {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #b03c3c;
    display: none;
    flex-direction: column;
    text-align: center;
  }

  .menu.active {
    display: flex;
  }

  .menu a {
    padding: 12px;
  }
}

/* ===== MAIN ===== */
.main-content {
  flex: 1;
  padding-top: 55px; 
  background: #e5e5e5; 
}

/* ===== SECTION ===== */
.content-section {
  display: flex;
}

/* ===== CONTAINER ===== */
.page-container {
  width: 96%;
  max-width: 1100px;
  margin: auto;
}

/* ===== FOOTER ===== */
.footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 15px 0;
}

.footer-links,
.footer-social {
  margin-top: 10px;
}

/* =====   ===== */
.container {
  all: unset;
}
.h-screen,
.min-h-screen {
  height: auto !important;
  min-height: auto !important;
}

/*   */
.content-section {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px 0;    
  min-height: 200px;
  background: none;
  
}

/* =====   ===== */
.menu a {
  position: relative;
  color: white;
  text-decoration: none;
  padding: 8px 12px;
  transition: all 0.25s ease;
}

/*   */
.menu a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.3);
}

/*   */
.menu a:hover {
  color: #ffdede;
  transform: translateY(-2px);
}

/*    */
.menu a::before {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 10px;
  width: 0%;
  height: 2px;
  background: #ffdede;
  transition: width 0.3s ease;
}

.menu a:hover::before {
  width: calc(100% - 20px);
}

@media (max-width: 768px) {

  .menu a:not(:last-child)::after {
    display: none;
  }

  .menu a {
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }

  .menu a:last-child {
    border-bottom: none;
  }

  .menu a:hover {
    background: rgba(255,255,255,0.1);
    transform: none;
  }

}

/* ===== HERO TITLE FIX ===== */
.page-container h1,
.page-container h2,
.page-container .title,
.page-container div[style*="font-size"] {
  text-align: center;
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 20px;
}

/*  */
@media (max-width: 768px) {
  .page-container h1,
  .page-container h2,
  .page-container .title,
  .page-container div[style*="font-size"] {
    font-size: 22px;
    padding: 0 10px;
  }
}

/* ===== GALLERY GRID ===== */
/* ===== GALLERY GRID ===== */
/* ===== GALLERY GRID ===== */
/* ===== GALLERY GRID ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

/* ===== CARD ===== */
.card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  padding: 10px;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ===== IMAGE CONTAINER   ===== */
.card img {
  width: 100%;
  height: 160px;          
  object-fit: contain;     
  background: #f3f3f3;
  border-radius: 6px;
}

/* ===== TITLE ===== */
.card h3 {
  font-size: 13px;
  margin-top: 8px;
  min-height: 35px;  
}

/* ===== HOVER ===== */
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

@media (max-width: 600px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .card img {
    height: 130px;
  }
}



/* ===== VIDEO GRID ===== */
/* ===== VIDEO GRID ===== */
/* ===== VIDEO GRID ===== */
/* ===== VIDEO GRID ===== */
.video-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* ===== CARD ===== */
.video-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  padding: 10px;
  text-align: center;
  transition: 0.3s;
}

/*  */
.video-card video {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
}

/*  */
.video-card h3 {
  font-size: 14px;
  margin-top: 8px;
}

/* hover */
.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .video-gallery {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (min-width: 1200px) {
  .video-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ===== CONTACT GRID ===== */
/* ===== CONTACT GRID ===== */
/* ===== CONTACT GRID ===== */
/* ===== CONTACT GRID ===== */
/* ===== CONTACT GRID ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

/* ===== INFO ===== */
.contact-info {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
}

.contact-info h2 {
  margin-bottom: 15px;
}

/* ===== FORM ===== */
.contact-form {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 100%;
  overflow: hidden;  
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: block;
}

/*  */
.contact-form button {
  width: 100%;
  padding: 10px;
  background: #b03c3c;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.contact-form button:hover {
  background: #8f2f2f;
}

/* WhatsApp */
.btn-green {
  display: inline-block;
  background: green;
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  text-decoration: none;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== HISTORY BOX ===== */
/* ===== HISTORY BOX ===== */
/* ===== HISTORY BOX ===== */
/* ===== HISTORY BOX ===== */
/* ===== HISTORY BOX ===== */
.history-box {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
}

/* ===== IMAGES ===== */
.history-images {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  margin-bottom: 20px;
}

.history-images img {
  width: 200px;
  height: 150px;
  object-fit: contain;
  background: #f3f3f3;
  border-radius: 6px;
}

/* ===== TEXT ===== */
.history-text h2 {
  margin-bottom: 10px;
}

.history-text p {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .history-images {
    flex-direction: column;
    align-items: center;
  }

  .history-images img {
    width: 70%;
    height: auto;
  }
}


/* ===== ABOUT PAGE ===== */
/* ===== ABOUT PAGE ===== */
/* ===== ABOUT PAGE ===== */
/* ===== ABOUT PAGE ===== */
.about-box {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
}

.about-section {
  margin-bottom: 25px;
}

.about-section h2 {
  margin-bottom: 10px;
}

.about-section p {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* ===== FEATURES ===== */
.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.feature {
  background: #f3f3f3;
  padding: 15px;
  border-radius: 6px;
  text-align: center;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .about-features {
    grid-template-columns: 1fr;
  }
}


/* ===== FOOTER  ===== */
/* ===== FOOTER  ===== */
/* ===== FOOTER  ===== */
/* ===== FOOTER  ===== */
.footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 20px 10px;
}

.footer p {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-links,
.footer-social {
  display: grid;
  grid-template-columns: repeat(2, auto);  
  justify-content: center;
  gap: 10px 20px;  
  margin-top: 10px;
}

/*  */
.footer a {
  text-align: center;
  color: #ddd;
  text-decoration: none;
  font-size: 14px;
}

.footer a:hover {
  color: #fff;
}

/*  */
@media (max-width: 600px) {
  .footer-links,
  .footer-social {
    flex-direction: column;
    gap: 8px;
  }
}
/*-Chair Desc. --------------*/
/* ===== modal ===== */
/* ===== modal ===== */
/* ===== modal ===== */
/* ===== modal ===== */
/* modal basic */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.modal-content {
  background: #fff;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;      
  overflow-y: auto;      
  border-radius: 14px;
  padding: 20px;
  position: relative;
  animation: pop .2s ease-out;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

@keyframes pop {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 20px;
  cursor: pointer;
  color: #333;
}

#modal-title {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 600;
}

#modal-description {
  text-align: left;
  direction: ltr;
  line-height: 1.7;
  font-size: 14px;
  color: #444;
}
#modal-description h4 {
  margin: 14px 0 6px;
  font-size: 15px;
  color: #111;
  border-left: 3px solid #ddd;
  padding-left: 8px;
}

.modal-image img {
  width: 100%;
  max-width: 150px;      
  max-height: 150px;

  object-fit: contain;

  display: block;
  margin: 0 auto 15px;

  background: #f5f5f5;
  padding: 12px;
  border-radius: 12px;
}

.dimensions-box {
  background: #f7f7f7;
  border: 1px solid #eee;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}

.modal-body {
  display: flex;
  flex-direction: column;  /* 👈 مهم: بدل جنب بعض */
  gap: 10px;
  text-align: left;
}

.modal-info {
  text-align: left;
}

.desc-box {
  background: #f7f7f7;
  border: 1px solid #eee;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.7;
  white-space: normal;
}


/*---------------*/

/*---------------*/



/*---------------*/