/* =========================================
   DESIGN TOKENS
   ========================================= */
:root {
  --color-ice-blue: #a8d8ea;
  --color-ice-blue-light: #d4eff8;
  --color-white: #ffffff;
  --color-forest: #1b4332;
  --color-forest-dark: #122c22;
  --color-overlay: rgba(27, 67, 50, 0.55);
  --color-text-dark: #0f2d1e;
  --color-text-light: #f0f9ff;

  --font: 'Heebo', sans-serif;

  --radius-card: 20px;
  --radius-btn: 50px;

  --shadow-card: 0 8px 32px rgba(27, 67, 50, 0.18);
  --shadow-btn: 0 4px 20px rgba(0, 0, 0, 0.25);

  --transition: 0.4s ease;
}

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background-color: var(--color-ice-blue-light);
  color: var(--color-text-dark);
  direction: rtl;
  text-align: right;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

/* =========================================
   LAYOUT HELPERS
   ========================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* =========================================
   ANIMATIONS — scroll-triggered
   ========================================= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-btn);
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  border: none;
}

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

.btn__icon {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
}

.btn--waze {
  background: #ffffff;
  color: #0f3460;
  margin-top: 1.2rem;
  border: 2px solid rgba(15, 52, 96, 0.2);
}

.btn--waze:hover {
  background: #e8f4ff;
}

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

.btn--whatsapp:hover {
  background: #1ebe59;
}

.btn--large {
  padding: 1rem 2.5rem;
  font-size: 1.15rem;
  margin-top: 1.5rem;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('Photos/background.jpg.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(27, 67, 50, 0.65) 0%,
    rgba(168, 216, 234, 0.55) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  max-width: 800px;
}

.hero__title {
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.25;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.hero__subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: var(--color-ice-blue-light);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.5px;
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero__arrow {
  display: block;
  width: 28px;
  height: 28px;
  border-right: 3px solid rgba(255, 255, 255, 0.8);
  border-bottom: 3px solid rgba(255, 255, 255, 0.8);
  transform: rotate(45deg);
  animation: bounce 1.6s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
  50%       { transform: rotate(45deg) translateY(8px); opacity: 0.5; }
}

/* =========================================
   THREE BOXES SECTION
   ========================================= */
.boxes-section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.boxes-section__bg {
  position: absolute;
  inset: 0;
  background-image: url('Photos/background.jpg.jpeg');
  background-size: cover;
  background-position: center;
  filter: blur(4px) brightness(0.55);
  transform: scale(1.05);
  z-index: 0;
}

.boxes-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

/* =========================================
   GLASSMORPHISM CARD
   ========================================= */
.glass-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(27, 67, 50, 0.25);
}

.glass-card__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.glass-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.glass-card__text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 300;
  line-height: 1.8;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* =========================================
   GALLERY SECTION
   ========================================= */
.gallery-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--color-ice-blue-light) 0%, #e8f7f0 100%);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--color-forest);
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-ice-blue);
  border-radius: 2px;
  margin: 0.6rem auto 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.gallery-item {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 4px 20px rgba(27, 67, 50, 0.12);
}

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

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

/* =========================================
   FOOTER / CONTACT
   ========================================= */
.footer {
  background: var(--color-forest);
  color: var(--color-text-light);
  padding: 4rem 0 3rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.footer__name {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-ice-blue-light);
  line-height: 1;
}

.footer__tagline {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(208, 240, 255, 0.75);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.footer__phone {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-ice-blue);
  letter-spacing: 1px;
  direction: ltr;
  transition: color var(--transition);
}

.footer__phone:hover {
  color: var(--color-white);
}

.footer__copy {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: rgba(208, 240, 255, 0.45);
}

/* =========================================
   FLOATING WHATSAPP BUTTON
   ========================================= */
.fab-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: pulse 2.5s ease-in-out infinite;
}

.fab-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

.fab-whatsapp:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.65);
  animation: none;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
  50%       { box-shadow: 0 4px 32px rgba(37, 211, 102, 0.85), 0 0 0 10px rgba(37, 211, 102, 0.1); }
}

/* =========================================
   RESPONSIVE — TABLET (≥ 640px)
   ========================================= */
@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================
   RESPONSIVE — DESKTOP (≥ 1024px)
   ========================================= */
@media (min-width: 1024px) {
  .boxes-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .glass-card {
    padding: 3rem 2.5rem;
  }
}
