/* ======================================================
   SWEET HOME REALTY – PREMIUM DARK BLUE THEME
   ====================================================== */

/* ROOT COLORS */
:root {
  /* PRIMARY BRAND COLOR */
  --brand-blue: #0a1f44;        /* dark royal blue */
  --brand-blue-dark: #071733;   /* deeper navy */

  /* SECONDARY / ACCENT */
  --accent-blue: #0b5ed7;

  /* NEUTRALS */
  --white: #ffffff;
  --light: #f4f6fa;
  --text-dark: #0a2540;
  --text-muted: #6b7280;

  /* EFFECTS */
  --shadow: 0 12px 30px rgba(0,0,0,0.1);
}

/* RESET */
* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Poppins', Arial, sans-serif;
  background: var(--light);
  color: var(--text-dark);
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 160px 20px 40px;
}

/* ===============================
   HEADER / NAV BAR
================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--brand-blue);
  box-shadow: 0 14px 34px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  padding: 12px 24px;
  z-index: 1000;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo {
  height: 111px;
}

/* GOLD LOGO FRIENDLY TEXT */
.brand-name {
  font-family: Georgia, serif;
  font-size: 55px;
  font-weight: 900;
  color: #f5d27a;
}
.tagline {
  font-size: 25px;
  color: rgba(245,210,122,0.85);
}

/* NAV */
.nav {
  margin-left: auto;
  display: flex;
  gap: 10px;
  background: rgba(255,255,255,0.12);
  padding: 6px;
  border-radius: 999px;
}

.nav a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.nav a:hover {
  background: #ffffff;
  color: var(--brand-blue);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* ===============================
   SECTION BOX (PRIMARY TILES)
================================ */
.section-box {
  background: linear-gradient(
    135deg,
    var(--brand-blue),
    var(--brand-blue-dark)
  );
  color: #ffffff;
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}

.section-box h1,
.section-box h2 {
  margin-top: 0;
  font-family: 'Merriweather', serif;
}
.section-box p {
  color: rgba(255,255,255,0.95);
}

/* INNER WHITE CONTENT */
.inner {
  background: #ffffff;
  color: var(--text-dark);
  border-radius: 14px;
  padding: 20px;
  margin-top: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

/* CARD */
.card {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.card h1,
.card h3 {
  margin-top: 0;
  font-weight: 700;
}
.card p {
  color: var(--text-muted);
}

/* PROJECT CARD */
.proj-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(0,0,0,0.1);
  transition: transform .25s ease;
}
.proj-card:hover {
  transform: translateY(-8px);
}
.proj-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.proj-meta {
  padding: 16px;
}
.addr {
  font-size: 13px;
  color: var(--text-muted);
}

/* BUTTON */
.btn {
  display: inline-block;
  background: var(--accent-blue);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.25s ease;
}
.btn:hover {
  background: var(--brand-blue-dark);
}

/* FORM */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
input, textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
}
textarea {
  margin-top: 14px;
}

/* ACTIONS */
.actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
}

/* FOOTER */
.site-footer {
  background: var(--brand-blue);
  color: #ffffff;
  box-shadow: var(--shadow);
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
}
.site-footer .tagline {
  color: rgba(255,255,255,0.75);
}

/* ===============================
   HERO VIDEO – PREMIUM CARD
================================ */
.hero-video-section {
  margin-bottom: 36px;
}

.hero-video-box {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0,0,0,0.18);
}

.hero-video-box video {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.hero-video-text {
  position: absolute;
  bottom: 28px;
  left: 28px;
  color: #ffffff;
  max-width: 520px;
  text-shadow: 0 6px 20px rgba(0,0,0,0.7);
}

.hero-video-text h1 {
  margin: 0 0 6px;
  font-size: 34px;
  font-family: 'Merriweather', serif;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav { display: none; }
  .container { padding-top: 180px; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-video-box video { height: 240px; }
  .hero-video-text h1 { font-size: 20px; }
}
