/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #e63225;
  --primary-dark: #b8261c;
  --accent: #ff6b35;
  --dark: #1a1a2e;
  --dark-light: #16213e;
  --light: #f8f8f8;
  --white: #ffffff;
  --text: #2d2d2d;
  --text-light: #666;
  --radius: 12px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* ── Typography ── */
h1, h2, h3 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.3rem; }

/* ── Layout ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1.5rem;
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #ffffff;
  padding: 1rem 0;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.3s;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding-top: 4rem;
  background-image: linear-gradient(rgba(26, 26, 46, 0.7), rgba(26, 26, 46, 0.85)), url('building.jpg');
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  opacity: 0.15;
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.1;
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 550px;
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(230, 50, 37, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(230, 50, 37, 0.4);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  margin-left: 1rem;
}

.btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
}

/* ── About ── */
.about {
  background: var(--white);
}

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

.about-text p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ── Facilities ── */
.facilities {
  background: var(--light);
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.facility-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.facility-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.facility-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
}

.facility-card h3 {
  margin-bottom: 0.6rem;
}

.facility-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ── Booking Form ── */
.booking {
  background: var(--dark);
  color: var(--white);
}

.booking .section-label {
  color: var(--accent);
}

.booking-intro {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.booking-form {
  max-width: 700px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.8);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group select option {
  background: var(--dark);
  color: var(--white);
}

.form-group input[type="date"] {
  color-scheme: dark;
}

.form-group textarea {
  resize: vertical;
}

.form-bot-check {
  max-width: 340px;
}

.booking-form .btn {
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ── Community / Tenants ── */
.community {
  background: var(--white);
}

.community-intro {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 650px;
  margin-bottom: 2.5rem;
}

.building-label {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1rem;
  margin-top: 2rem;
  color: var(--dark);
}

.building-label:first-of-type {
  margin-top: 0;
}

.building-label span {
  font-weight: 400;
  color: var(--text-light);
  font-size: 0.9rem;
}

.tenant-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.tenant-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 2rem;
  border-top: 3px solid var(--primary);
}

.tenant-card h3 {
  margin-bottom: 0.6rem;
}

.tenant-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.tenant-card a {
  font-weight: 600;
  font-size: 0.9rem;
}

.tenant-card-highlight {
  border-top-color: var(--accent);
  background: linear-gradient(135deg, var(--light) 0%, #fff5f0 100%);
}

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

/* ── Training ── */
.training {
  background: var(--dark);
  color: var(--white);
}

.training .section-label {
  color: var(--accent);
}

.training p.lead {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.training-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  list-style: none;
}

.training-list li {
  padding: 1.2rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
}

.training-list li:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ── Contact ── */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-item h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.contact-item p,
.contact-item a {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 300px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
}

/* ── Social links ── */
.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 1.1rem;
  transition: background 0.2s, color 0.2s;
}

.social-links a:hover {
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
}

/* ── Footer ── */
footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 2rem 0;
  font-size: 0.85rem;
}

footer a {
  color: rgba(255, 255, 255, 0.7);
}

/* ── Mobile ── */
@media (max-width: 768px) {
  section {
    padding: 3.5rem 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    gap: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    order: -1;
  }

  .facilities-grid {
    grid-template-columns: 1fr;
  }

  .training-list {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .btn-outline {
    margin-left: 0;
    margin-top: 0.75rem;
  }

  .hero .btn-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
}
