/* ==============================
   BRAND COLORS
============================== */
:root {
  --primary:   #000066;   /* deep navy */
  --secondary: #000033;   /* darker navy */
  --accent:    #0A1F9C;   /* lighter navy accent */
  --dark:      #0A0A1A;   /* deep text */
  --light:     #F4F6FF;   /* soft light bg */

  --primary-06: rgba(0, 0, 102, 0.06);
  --primary-12: rgba(0, 0, 102, 0.12);
  --secondary-12: rgba(0, 0, 51, 0.12);
  --btn-hover: #00004A;
  --shadow-1: 0 8px 20px rgba(0, 0, 0, 0.12);
  --shadow-2: 0 10px 30px rgba(0, 0, 0, 0.10);
}

/* ==============================
   GLOBAL
============================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  min-height: 100vh;
  color: var(--dark);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Blurred background image (separate layer so blur doesn't affect content) */
.bg-image {
  position: fixed;
  inset: 0;
  background-image: url('assets/images/background.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: blur(6px);
  transform: scale(1.05);      /* avoid edge clipping due to blur */
  z-index: -2;                 /* behind everything */
}

/* Dark overlay above bg, below content */
/* .overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 30, 0.55);
  z-index: -1;
}
*/
/* ensure content is above overlay */
header, main, footer { position: relative; z-index: 1; }

/* ==============================
   LAYOUT
============================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

header { padding: 48px 0 12px; text-align: center; }

/* Bigger, centered logo with generous spacing */
.logo-container { display: flex; justify-content: center; align-items: center; }
.brand-logo {
  width: clamp(220px, 28vw, 250px);
  height: auto;
  display: block;
  margin: 8px auto 24px auto;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.25));
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 0;
}

.construction-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: var(--shadow-2);
  position: relative;
}

.construction-content::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.construction-title {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.construction-title::after {
  content: "";
  position: absolute;
  bottom: -10px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 3px; background-color: var(--accent);
  border-radius: 2px;
}

.description { font-size: 1.1rem; line-height: 1.6; margin-bottom: 30px; color: #293042; }

/* ==============================
   FEATURES
============================== */
.features {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin: 40px 0;
}
.feature {
  flex: 1; min-width: 200px; max-width: 250px; padding: 20px;
  background-color: var(--primary-06);
  border-radius: 10px; border-left: 4px solid var(--primary);
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.feature-icon { font-size: 2rem; margin-bottom: 15px; color: var(--primary); }
.feature-title { font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; color: var(--dark); }
.feature-description { font-size: .95rem; color: #556070; }

/* ==============================
   COUNTDOWN
============================== */
.countdown {
  margin: 40px 0; padding: 20px;
  background: linear-gradient(135deg, var(--primary-12), var(--secondary-12));
  border-radius: 10px;
}
.countdown-title { font-size: 1.5rem; margin-bottom: 20px; color: var(--primary); }
.timer { display: flex; justify-content: center; gap: 15px; }
.timer-unit {
  display: flex; flex-direction: column; align-items: center; padding: 15px;
  background-color: #fff; border-radius: 8px; min-width: 80px; box-shadow: var(--shadow-1);
}
.timer-value { font-size: 2rem; font-weight: 700; color: var(--primary); }
.timer-label { font-size: .8rem; color: #6b7280; margin-top: 5px; }
.live-msg { margin-top: 12px; font-weight: 600; color: var(--primary); }

/* ==============================
   NOTIFY FORM
============================== */
.notify-form { margin-top: 40px; }
.form-title { font-size: 1.3rem; margin-bottom: 15px; color: var(--dark); }

.email-input { display: flex; max-width: 400px; margin: 0 auto; }
.email-input input {
  flex: 1; padding: 12px 15px; border: 1px solid #d8dbe2; border-radius: 5px 0 0 5px;
  font-size: 1rem; outline: none; transition: border-color .3s;
}
.email-input input:focus { border-color: var(--primary); }
.email-input button {
  padding: 12px 20px; background-color: var(--primary); color: #fff; border: none;
  border-radius: 0 5px 5px 0; cursor: pointer; font-weight: 600; transition: background-color .3s;
}
.email-input button:hover { background-color: var(--btn-hover); }

/* Status messages */
.form-status { margin-top: 12px; text-align: center; font-size: .95rem; }
.form-status.success { color: #0a8f4b; }
.form-status.error { color: #b00020; }

/* ==============================
   FOOTER
============================== */
footer { background-color: var(--secondary); color: #fff; padding: 30px 0; text-align: center; }
.powered-by { font-size: 1rem; opacity: .9; margin-bottom: 10px; }
.copyright { font-size: .9rem; opacity: .7; }

/* ==============================
   MODAL
============================== */
.modal {
  position: fixed;
  inset: 0;
  display: none;
}
.modal.open { display: block; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(2px);
}
.modal-card {
  position: relative;
  max-width: 420px;
  margin: 15vh auto 0;
  background: #fff;
  color: var(--dark);
  border-radius: 14px;
  padding: 24px 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  text-align: center;
  animation: fadeInUp .35s ease both;
}
.modal-card h3 { margin-bottom: 8px; color: var(--primary); }
.modal-card p { margin-bottom: 14px; }
.modal-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
}
.modal-btn:hover { background: var(--btn-hover); }

/* ==============================
   ANIMATIONS
============================== */
@keyframes fadeInUp { from {opacity:0; transform:translateY(20px);} to {opacity:1; transform:translateY(0);} }
.animate-fadeInUp { animation: fadeInUp .8s ease forwards; }
.delay-1 { animation-delay: .2s; }
.delay-2 { animation-delay: .4s; }
.delay-3 { animation-delay: .6s; }

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 768px) {
  .construction-title { font-size: 2rem; }
  .features { flex-direction: column; align-items: center; }
  .feature { max-width: 100%; }
  .timer { flex-wrap: wrap; }
  .modal-card { margin: 20vh 16px 0; }
}
