/* ===== ICE Coworking Jerusalem — Main Stylesheet ===== */

:root {
  --primary:   #1a3a5c;   /* deep navy */
  --accent:    #c8a84b;   /* gold */
  --light:     #f8f7f4;
  --dark:      #111;
  --text:      #333;
  --muted:     #777;
  --radius:    6px;
  --transition: 0.3s ease;
}

/* ---- Reset / Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--text); background: #fff; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ---- Utility ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--grey { background: var(--light); }
.section--dark { background: var(--primary); color: #fff; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: #b5913e; }
.btn-outline {
  border-color: #fff;
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-dark {
  background: var(--primary);
  color: #fff !important;
}
.btn-dark i { color: #fff !important; }
.btn-dark:hover { background: #0f2640; }

.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 40px; }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
p { margin-bottom: 1rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 700px; }
.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ---- Navigation ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 16px rgba(0,0,0,0.08);
  transition: var(--transition);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.navbar__logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.navbar__nav {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}
.navbar__nav a {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
  transition: color var(--transition);
}
.navbar__nav a:hover { color: var(--accent); }
.navbar__nav .btn { padding: 10px 22px; font-size: 0.85rem; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.burger span { width: 26px; height: 3px; background: var(--primary); border-radius: 2px; transition: var(--transition); }

/* Mobile nav */
@media (max-width: 820px) {
  .burger { display: flex; }
  .navbar__nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    padding: 24px;
    gap: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .navbar__nav.open { display: flex; }
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--primary);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/office1.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.38;
}
.hero__content {
  position: relative;
  padding-top: 72px;
  color: #fff;
  max-width: 680px;
}
.hero__tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 3px;
  margin-bottom: 20px;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero p { font-size: 1.15rem; opacity: 0.9; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--accent);
  padding: 28px 0;
  color: #fff;
}
.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 16px;
}
.stat__number { font-size: 2rem; font-weight: 800; line-height: 1; }
.stat__label { font-size: 0.82rem; opacity: 0.88; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.07em; }

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

/* ---- About / Intro ---- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about__image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}
.about__image img { width: 100%; height: 420px; object-fit: cover; }

@media (max-width: 768px) {
  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .about__image img { height: 260px; }
}

/* ---- Features / Amenities ---- */
.amenities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.amenity-card {
  background: #fff;
  border-radius: 10px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border-left: 4px solid var(--accent);
  transition: transform var(--transition), box-shadow var(--transition);
}
.amenity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.amenity-card__icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.amenity-card h3 { color: var(--primary); }
.amenity-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }

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

/* ---- Spaces / Pricing ---- */
.spaces__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.space-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.space-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.14);
}
.space-card__img {
  height: 200px;
  overflow: hidden;
}
.space-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.space-card:hover .space-card__img img { transform: scale(1.06); }
.space-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.space-card__title { font-size: 1rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.space-card__price { font-size: 1.4rem; font-weight: 800; color: var(--accent); margin-bottom: 8px; }
.space-card__price span { font-size: 0.8rem; font-weight: 400; color: var(--muted); }
.space-card__desc { font-size: 0.88rem; color: var(--muted); margin-bottom: 20px; flex: 1; }
.space-card .btn { width: 100%; text-align: center; }

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

/* ---- Gallery ---- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  margin-top: 48px;
}
.gallery__item {
  overflow: hidden;
  border-radius: 8px;
}
.gallery__item img {
  width: 100%; height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item--wide {
  grid-column: span 2;
}
.gallery__item--wide img { height: 300px; }

@media (max-width: 768px) {
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .gallery__item--wide { grid-column: span 2; }
}
@media (max-width: 480px) {
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: span 1; }
}

/* ---- Community / Testimonial Banner ---- */
.community-banner {
  background: var(--primary);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.community-banner h2 { color: #fff; }
.community-banner p { opacity: 0.85; max-width: 620px; margin: 0 auto 32px; }

/* ---- Contact / Location ---- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact__info h3 { color: var(--primary); margin-top: 24px; margin-bottom: 6px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; }
.contact__info h3:first-child { margin-top: 0; }
.contact__info p, .contact__info a { color: var(--text); font-size: 0.97rem; }
.contact__info a:hover { color: var(--accent); }
.contact__social { display: flex; gap: 12px; margin-top: 20px; }
.social-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff !important;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: background var(--transition);
  text-decoration: none;
}
.social-icon:hover { background: var(--accent); color: #fff !important; }
.social-icon i { color: #fff !important; }

.map-embed {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.map-embed iframe { width: 100%; height: 400px; border: 0; }

@media (max-width: 768px) {
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---- Footer ---- */
.footer {
  background: #0d2035;
  color: rgba(255,255,255,0.7);
  padding: 48px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer__logo img { height: 48px; width: auto; filter: brightness(10); margin-bottom: 16px; }
.footer__tagline { font-size: 0.88rem; line-height: 1.6; }
.footer h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { font-size: 0.9rem; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer__links a:hover { color: var(--accent); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > *:first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ---- WhatsApp Float Button ---- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  z-index: 999;
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: var(--primary);
  padding: 120px 0 60px;
  color: #fff;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-hero p { opacity: 0.8; max-width: 540px; margin: 12px auto 0; }
