:root {
  --navy: #15364d;
  --navy-dark: #0b2233;
  --blue: #1d7897;
  --turquoise: #27b5c4;
  --aqua: #7cdae1;
  --gold: #e6ad39;
  --gold-dark: #bd7f15;
  --cream: #f7f5ef;
  --white: #ffffff;
  --text: #183548;
  --muted: #69808d;
  --shadow: 0 18px 45px rgba(12, 42, 58, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cairo", sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin: auto;
}

/* Header */
.header {
  position: absolute;
  z-index: 10;
  width: 100%;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(to bottom, rgba(7, 26, 39, 0.72), transparent);
}

.nav {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.logo {
  display: block;
  width: 100px;
  max-height: 76px;
  object-fit: contain;
  border-radius: 0 0 22px 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 27px;
  color: white;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-call {
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 9px 21px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  transition: 0.25s ease;
}

.nav-call:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

/* Hero */
.hero {
  position: relative;
  min-height: 780px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    url("images/image1.jpeg") center/cover no-repeat,
    var(--navy-dark);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 26, 40, 0.3), rgba(6, 26, 40, 0.85)),
    linear-gradient(to top, rgba(5, 27, 40, 0.75), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 710px;
  padding-top: 95px;
}

.hero-label,
.section-label {
  display: inline-block;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.hero-label {
  margin-bottom: 12px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.35;
  font-weight: 900;
}

.hero p {
  max-width: 590px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin: 20px 0 30px;
}

.hero-buttons,
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 15px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 10px 25px rgba(230, 173, 57, 0.25);
}

.btn-primary:hover {
  background: #ffd06c;
}

.btn-whatsapp {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(5px);
}

.btn-whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
}

.scroll-down {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  right: 50%;
  transform: translateX(50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: white;
  font-size: 12px;
}

.scroll-down span {
  width: 25px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  position: relative;
}

.scroll-down span::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 4px;
  top: 7px;
  right: 8px;
  animation: scrollMove 1.6s infinite;
}

@keyframes scrollMove {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

/* About */
.about-section {
  background: white;
  padding: 80px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content h2,
.section-heading h2,
.contact-box h2 {
  margin: 5px 0 0;
  color: var(--navy);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.45;
}

.about-content p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  border-right: 4px solid var(--turquoise);
  padding-right: 22px;
}

/* Gallery */
.gallery-section {
  padding: 105px 0;
}

.morning-section {
  background: linear-gradient(180deg, #e8f8f8 0%, #f7f5ef 100%);
}

.evening-section {
  background: var(--navy-dark);
}

.evening-section h2,
.evening-section .section-heading p {
  color: white;
}

.evening-section .section-heading p {
  color: #bfd1d9;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}

.section-heading p {
  max-width: 400px;
  margin: 0;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 245px;
  gap: 18px;
}

.gallery-item {
  border: 0;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--navy);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.image-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 42px 18px 15px;
  color: white;
  text-align: right;
  font-size: 15px;
  font-weight: 800;
  background: linear-gradient(to top, rgba(6, 25, 37, 0.82), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .image-overlay {
  opacity: 1;
}

/* Banner */
.feature-banner {
  background: var(--gold);
  color: var(--navy-dark);
  padding: 35px 0;
}

.feature-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.feature-icon {
  font-size: 38px;
}

.feature-content h2 {
  font-size: 22px;
  margin: 0;
}

.feature-content p {
  margin: 2px 0 0;
  font-size: 14px;
}

/* Contact */
.contact-section {
  padding: 95px 0;
  background: #f7f5ef;
}

.contact-box {
  padding: 55px;
  border-radius: 25px;
  background:
    linear-gradient(90deg, rgba(8, 35, 52, 0.97), rgba(18, 64, 83, 0.9)),
    var(--navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.contact-box h2 {
  color: white;
}

.contact-box p {
  color: #c5d8e0;
  margin: 9px 0 0;
}

.contact-box .btn-whatsapp {
  background: #25d366;
  border-color: #25d366;
}

/* Footer */
.footer {
  background: #071f2e;
  color: #c5d8e0;
  padding: 58px 0 25px;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  width: 105px;
  max-height: 84px;
  object-fit: contain;
  background: white;
  border-radius: 0 0 24px 24px;
  margin-bottom: 14px;
}

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

.footer-phone {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 1px;
  direction: ltr;
}

.footer-bottom {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 30px;
  padding-top: 20px;
  font-size: 12px;
  color: #7d9aa8;
}

/* Lightbox */
.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(1, 12, 20, 0.92);
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: min(100%, 1050px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  left: 24px;
  border: 0;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}

/* Mobile */
@media (max-width: 800px) {
  .header {
    background: rgba(7, 31, 46, 0.88);
    position: fixed;
  }

  .nav {
    min-height: 68px;
  }

  .logo {
    width: 67px;
    max-height: 59px;
    border-radius: 0 0 15px 15px;
  }

  .nav-links {
    display: none;
  }

  .nav-call {
    padding: 7px 15px;
    font-size: 12px;
  }

  .hero {
    min-height: 700px;
    background-position: 58% center;
  }

  .hero-content {
    padding-top: 70px;
  }

  .hero h1 {
    font-size: 37px;
  }

  .hero p {
    font-size: 16px;
  }

  .about-section,
  .gallery-section,
  .contact-section {
    padding: 65px 0;
  }

  .about-content,
  .section-heading,
  .contact-box {
    grid-template-columns: 1fr;
    display: grid;
    gap: 22px;
  }

  .section-heading {
    align-items: start;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 175px;
    gap: 11px;
  }

  .gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-item.wide {
    grid-column: span 2;
  }

  .image-overlay {
    opacity: 1;
    font-size: 13px;
  }

  .contact-box {
    padding: 35px 25px;
  }

  .contact-buttons .btn {
    flex: 1;
    padding: 11px 16px;
    font-size: 13px;
  }

  .feature-content {
    align-items: flex-start;
    text-align: right;
    padding: 0 12px;
  }

  .feature-content h2 {
    font-size: 17px;
  }
}

@media (max-width: 390px) {
  .hero-buttons .btn {
    width: 100%;
  }

  .gallery-grid {
    grid-auto-rows: 145px;
  }
}

/* تحسين حجم اللوجو على الموبايل وإظهار الصورة تحته */
@media (max-width: 800px) {
  .header {
    height: 82px;
  }

  .nav {
    min-height: 82px;
    position: relative;
  }

  .logo-link {
    position: absolute;
    right: 50%;
    top: 0;
    transform: translateX(50%);
    z-index: 20;
  }

  .logo {
    width: 118px;
    max-height: 98px;
    height: 98px;
    object-fit: contain;
    border-radius: 0 0 25px 25px;
  }

  .nav-call {
    margin-left: auto;
  }

  .hero {
    /* يبدأ الجزء المهم من الصورة تحت الهيدر واللوجو */
    background-position: 56% 65%;
  }

  .hero-content {
    /* ينزل الكلام قليلًا حتى لا يقترب من اللوجو */
    padding-top: 125px;
  }
}

.header {
  height: 82px;
}

.nav {
  min-height: 82px;
}

.logo-link {
  position: absolute;
}
