/* Al Rayyan Facility Management Services - White Theme */

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #111;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: #111; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid #111;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 600; font-size: 15px; }
.brand-name-ar { font-weight: 500; font-size: 13px; color: #444; margin-top: 2px; }

.nav a {
  margin-left: 24px;
  font-size: 15px;
  color: #333;
}
.nav a:hover { color: #000; text-decoration: none; border-bottom: 1px solid #111; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #111;
  margin: 4px 0;
}

/* Hero */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  background: #ffffff;
}
.hero h1 {
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 16px;
  font-weight: 700;
}
.hero .lead {
  font-size: 18px;
  color: #444;
  max-width: 720px;
  margin: 0 auto 28px;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid #111;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: #111; color: #fff; }
.btn-primary:hover { background: #000; }
.btn-outline { background: #fff; color: #111; }
.btn-outline:hover { background: #f5f5f5; }

/* Sections */
.section { padding: 70px 0; background: #fff; }
.section-alt { background: #fafafa; }
.section-title {
  font-size: 28px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 700;
}
.section-text {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  color: #444;
  font-size: 16px;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: #111; transform: translateY(-2px); }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: #555; font-size: 15px; }

.feature { text-align: center; padding: 16px; }
.feature h4 { font-size: 16px; margin-bottom: 6px; }
.feature p { color: #555; font-size: 14px; }

/* Contact */
.contact-info {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  font-size: 16px;
  color: #333;
}
.contact-info a { color: #111; }

/* Footer */
.site-footer {
  background: #fff;
  border-top: 1px solid #eee;
  padding: 24px 0;
  text-align: center;
  color: #666;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 860px) {
  .grid, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 30px; }
  .brand-text { display: none; }
}
@media (max-width: 600px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid #eee; flex-direction: column; padding: 10px 20px; }
  .nav.open { display: flex; }
  .nav a { margin: 8px 0; }
  .nav-toggle { display: block; }
  .grid, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 40px; }
}
