/* =============== RESET =============== */

* {

  margin: 0;

  padding: 0;

  box-sizing: border-box;

}



body {

  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  background: #000;

  color: #fff;

  min-height: 100vh;

}



/* =============== TOPBAR =============== */

.topbar {

  position: absolute;

  top: 0;

  left: 0;

  right: 0;

  padding: 1.1rem 1.6rem;

  display: flex;

  justify-content: space-between;

  align-items: center;

  z-index: 10;

  background: transparent;

}



.brand {

  font-weight: 700;

  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);

}



.lang-btn {

  background: linear-gradient(145deg, #d4af37, #b9962f);

  border: none;

  color: #111;

  padding: 0.4rem 1.1rem;

  border-radius: 999px;

  font-weight: 600;

  cursor: pointer;

  box-shadow: 0 3px 10px rgba(0,0,0,0.3);

}



/* =============== HERO =============== */

.hero {

  background: url("images/house-horizontal.jpg") center center / cover no-repeat fixed;

  height: 100vh;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  text-align: center;

  gap: 1.3rem;

  padding: 5.5rem 1.5rem 2.5rem; /* علشان الهيدر */

}



.hero h1 {

  font-size: clamp(2.2rem, 4vw, 3.2rem);

  font-weight: 800;

  text-shadow: 0 5px 18px rgba(0,0,0,0.65);

}



.hero p {

  max-width: 720px;

  text-shadow: 0 4px 15px rgba(0,0,0,0.7);

  font-size: 1.02rem;

  line-height: 1.7;

}



/* =============== BUTTONS =============== */

.hero-actions {

  display: flex;

  flex-direction: column;

  gap: 0.9rem;

  align-items: center;

}



.btn-gold {

  background: linear-gradient(145deg, #d4af37, #b9962f);

  color: #111;

  font-weight: 600;

  text-decoration: none;

  padding: 0.7rem 1.8rem;

  border-radius: 999px;

  box-shadow: 0 5px 14px rgba(0,0,0,0.35);

  transition: transform 0.2s ease, box-shadow 0.2s ease;

}



.btn-gold:hover {

  transform: translateY(-1px);

  box-shadow: 0 7px 20px rgba(0,0,0,0.4);

}



.hero-secondary {

  display: flex;

  gap: 0.6rem;

}



.btn-ghost {

  background: rgba(0,0,0,0.35);

  border: 1px solid rgba(212,175,55,0.4);

  color: #fff;

  text-decoration: none;

  padding: 0.5rem 1.3rem;

  border-radius: 999px;

  font-weight: 500;

  backdrop-filter: blur(5px);

  transition: all 0.2s ease;

}



.btn-ghost:hover {

  background: rgba(0,0,0,0.6);

  border-color: rgba(212,175,55,0.7);

}



/* =============== FOOTER =============== */

.page-footer {

  position: absolute;

  bottom: 1.2rem;

  left: 0;

  right: 0;

  text-align: center;

  font-size: 0.8rem;

  text-shadow: 0 2px 10px rgba(0,0,0,0.7);

  pointer-events: none;

}



/* =============== RESPONSIVE =============== */

@media (max-width: 768px) {

  .hero {

    background: url("images/house-vertical.jpg") center top / cover no-repeat fixed;

    padding-top: 5.5rem;

  }



  .hero p {

    font-size: 0.9rem;

  }



  .hero-secondary {

    flex-direction: column;

  }



  .topbar {

    padding-inline: 1rem;

  }
/* ===== Archive Page (beige layout) ===== */

.archive-page {

  background: #f9f6ee;

  color: #2b2b2b;

  min-height: 100vh;

}



.subtop {

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 1.15rem 1.8rem 0.5rem;

  background: transparent;

}



.logo-link {

  font-weight: 600;

  color: #2b2b2b;

  text-decoration: none;

}



.subtop-actions {

  display: flex;

  gap: 0.75rem;

}



.outline-btn {

  border: 1.5px solid #c9a646;

  background: #f9f6ee;

  color: #2b2b2b;

  padding: 0.45rem 1.1rem;

  border-radius: 999px;

  font-size: 0.9rem;

  cursor: pointer;

}



.archive-shell {

  max-width: 1100px;

  margin: 0 auto;

  padding: 1.5rem 1.8rem 3rem;

}



.archive-title {

  font-size: clamp(2rem, 3vw, 2.4rem);

  margin-bottom: 0.35rem;

}



.archive-lead {

  max-width: 540px;

  line-height: 1.5;

  margin-bottom: 1.8rem;

  color: #555;

}



.archive-block {

  background: rgba(255, 255, 255, 0.85);

  border: 1px solid rgba(201, 166, 70, 0.25);

  border-radius: 1.2rem;

  padding: 1.4rem 1.3rem 1.1rem;

  margin-bottom: 1.1rem;

  box-shadow: 0 12px 22px rgba(0,0,0,0.03);

}



.archive-block-header h2 {

  font-size: 1.1rem;

  margin-bottom: 0.15rem;

}



.archive-block-header p {

  margin-bottom: 1rem;

  color: #6b6b6b;

  font-size: 0.92rem;

}



.archive-list {

  list-style: none;

  padding: 0;

  margin: 0;

  display: flex;

  flex-direction: column;

  gap: 0.6rem;

}



.archive-item {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 1rem;

  background: rgba(248, 247, 243, 0.85);

  border-radius: 0.8rem;

  padding: 0.55rem 0.75rem 0.55rem 0.9rem;

}



.file-name {

  font-family: ui-monospace, SFMono-Regular, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  font-size: 0.78rem;

}



.primary-btn.small {

  padding: 0.35rem 0.95rem;

  font-size: 0.75rem;

}



.site-footer.light {

  background: transparent;

  text-align: center;

  padding: 1.5rem 0 2rem;

  color: #222;

  font-size: 0.78rem;

}



/* RTL tweak */

.archive-shell.rtl .archive-item {

  flex-direction: row-reverse;

}

.archive-shell.rtl .archive-block-header p {

  text-align: right;

}



/* mobile */

@media (max-width: 720px) {

  .archive-shell {

    padding: 1.4rem 1.1rem 2.5rem;

  }

  .archive-item {

    flex-direction: column;

    align-items: flex-start;

  }

  .subtop {

    padding-inline: 1rem;

  }

}
  /* ===== Gallery Page ===== */

.gallery-page {

  background: #111;

}



.gallery-page .inner-content {

  max-width: 1100px;

  margin: 5.5rem auto 4rem;

  padding: 0 1.25rem 4rem;

}



.gallery-page h1 {

  font-size: clamp(2.1rem, 4vw, 2.6rem);

  margin-bottom: 0.35rem;

}



.gallery-page .inner-subtitle {

  margin-bottom: 1.8rem;

  color: rgba(255,255,255,0.72);

}



.gallery-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));

  gap: 1.5rem;

}



.gallery-card {

  background: rgba(13, 13, 13, 0.3);

  border: 1px solid rgba(225, 193, 110, 0.28);

  border-radius: 1.25rem;

  padding: 1rem 1rem 1.25rem;

  backdrop-filter: blur(6px);

  color: #fff;

  display: flex;

  flex-direction: column;

  gap: 0.5rem;

  min-height: 220px;

}



.gallery-card img {

  width: 100%;

  border-radius: 0.75rem;

  object-fit: cover;

  max-height: 130px;

}



.gallery-card h2 {

  font-size: 1.05rem;

  font-weight: 600;

}



.gallery-card p {

  font-size: .85rem;

  color: rgba(255,255,255,0.7);

  flex: 1;

}



.gallery-card .gold-btn {

  align-self: flex-start;

  background: #c9a647;

  color: #0b0b0b;

  padding: 0.4rem 1.1rem;

  border-radius: 999px;

  font-weight: 600;

  font-size: .78rem;

}



/* موبايل */

@media (max-width: 640px) {

  .gallery-page .inner-content {

    margin-top: 5.2rem;

  }

  .gallery-card {

    min-height: 180px;

  }

  .gallery-card img {

    max-height: 110px;

  }

}
  
}
