@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,600;0,9..40,700;1,9..40,400&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap');

:root {
  --navy-950: #0A2038;
  --navy-900: #0F2E4D;
  --navy-800: #163F68;
  --gold-500: #C79A3F;
  --gold-400: #DBB768;
  --gold-100: #F3E6C8;
  --cream: #F8F5EE;
  --paper: #FFFFFF;
  --ink: #152437;
  --ink-soft: #5B6B7D;
  --line: #E4DFD2;
  --radius-lg: 18px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--cream);
  margin: 0;
  padding-top: 150px;
}

/* Navbar */
.navbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 40px;
  background-color: rgba(255, 255, 255, 1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: background 0.4s ease-in-out;
}

.navbar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}

.navbar .logo img {
  height: 80px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  list-style: none;
  margin-top: 20px;
  padding: 0;
}

.nav-links li {
  display: inline;
}

.nav-links a {
  text-decoration: none;
  color: #0e3970;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #75e5e9;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.hamburger {
  width: 25px;
  height: 3px;
  background-color: #0e3970;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active .hamburger:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

h1, h2, h3 {
  font-family: 'Fraunces', serif;
  letter-spacing: -0.01em;
}

a {
  text-decoration: none;
}

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 420px at 82% -10%, rgba(199, 154, 63, 0.28), transparent 60%),
    linear-gradient(120deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  color: #fff;
  padding: 5.5rem 0 4.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 64px);
  opacity: 0.5;
  pointer-events: none;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero .eyebrow .rule {
  width: 28px;
  height: 1px;
  background: var(--gold-400);
  display: inline-block;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero p.lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  max-width: 560px;
}

.hero .crumb {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

.hero .crumb a {
  color: rgba(255, 255, 255, 0.8);
}

.hero .crumb .sep {
  margin: 0 0.5rem;
  opacity: 0.5;
}

/* Section */
.section {
  padding: 4.5rem 0;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-500);
  margin-bottom: 0.5rem;
}

.section h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--navy-950);
}

.section p.section-lead {
  color: var(--ink-soft);
  max-width: 520px;
  font-size: 1rem;
}

/* Nameplate card */
.nameplate {
  position: relative;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 100%);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem 2rem;
  color: #fff;
  overflow: hidden;
}

.nameplate::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(219, 183, 104, 0.35);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
}

.nameplate .plate-crest {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

.nameplate h3 {
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 1.4rem;
  color: var(--gold-100);
}

.plate-row {
  display: flex;
  gap: 0.9rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.plate-row:first-of-type {
  border-top: none;
}

.plate-row i {
  color: var(--gold-400);
  font-size: 1.05rem;
  margin-top: 0.2rem;
  width: 20px;
}

.plate-row .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.15rem;
}

.plate-row .value {
  font-size: 0.95rem;
  color: #fff;
  line-height: 1.45;
}

.plate-row .value a {
  color: #fff;
}

.plate-row .value a:hover {
  color: var(--gold-400);
}

.hours-strip {
  margin-top: 1.6rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.hours-strip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  display: inline-block;
  margin-right: 0.4rem;
}

.map-frame {
  margin-top: 1.6rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.map-frame iframe {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
  filter: grayscale(0.15) contrast(1.05);
}

/* Form card */
.form-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 2.2rem;
  box-shadow: 0 24px 48px -32px rgba(15, 46, 77, 0.28);
}

.form-card h3 {
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--navy-950);
  margin-bottom: 0.3rem;
}

.form-card .form-sub {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 1.6rem;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-950);
  margin-bottom: 0.4rem;
}

.form-control,
.form-select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.72rem 0.9rem;
  font-size: 0.95rem;
  background-color: #FDFCF9;
}

.form-select {
  padding-right: 2.5rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(199, 154, 63, 0.18);
  background-color: #fff;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.captcha-box {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}

.captcha-pill {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  letter-spacing: 0.12em;
  background: var(--navy-950);
  color: var(--gold-100);
  border-radius: 10px;
  padding: 0.7rem 1.1rem;
  font-size: 1rem;
  user-select: none;
  min-width: 110px;
  text-align: center;
}

.captcha-refresh {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  flex-shrink: 0;
  cursor: pointer;
}

.captcha-refresh:hover {
  background: var(--gold-100);
  border-color: var(--gold-400);
}

.captcha-input {
  flex: 1;
}

.form-check-input:checked {
  background-color: var(--navy-950);
  border-color: var(--navy-950);
}

.form-check-label {
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.form-check-label a {
  color: var(--navy-900);
  font-weight: 600;
}

.btn-send {
  background: var(--navy-950);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.85rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.15s ease, transform 0.15s ease;
  cursor: pointer;
}

.btn-send:hover {
  background: var(--navy-800);
  color: #fff;
}

.btn-send:active {
  transform: translateY(1px);
}

.btn-send:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 0.9rem;
}

.invalid-msg {
  font-size: 0.78rem;
  color: #B3261E;
  margin-top: 0.3rem;
  display: none;
}

.is-invalid ~ .invalid-msg {
  display: block;
}

.toast-success {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--navy-950);
  color: #fff;
  padding: 1rem 1.3rem;
  border-radius: 12px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 80;
  max-width: 320px;
}

.toast-success.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-success i {
  color: #4ADE80;
  font-size: 1.3rem;
}

.toast-error {
  background: #7f1d1d;
}

.toast-error i {
  color: #fca5a5;
}

/* Enquire section */
.enquire-container {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #0e3970, #75e5e9);
  color: #fff;
}

.enquire-text {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

.enquire-button {
  display: inline-block;
  background: #0e3970;
  color: white;
  font-size: 16px;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.enquire-button:hover {
  background: #75e5e9;
  color: #0e3970;
}

/* Footer */
.footer {
  background: #0a0a23;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-content h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-content p {
  font-size: 18px;
  margin-bottom: 10px;
}

.footer-content i {
  margin-right: 10px;
}

.footer-bottom {
  background: #07071a;
  padding: 20px;
  font-size: 20px;
}

.footer-bottom a {
  color: #75e5e9;
}

/* Floating WhatsApp */
.fab-whatsapp {
  position: fixed;
  left: 1.4rem;
  bottom: 1.4rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 14px 28px -8px rgba(37, 211, 102, 0.55);
  z-index: 60;
  transition: transform 0.15s ease;
}

.fab-whatsapp:hover {
  transform: scale(1.06);
  color: #fff;
}

@media (max-width: 991px) {
  .hero {
    padding: 3.5rem 0 3rem;
    text-align: center;
  }

  .hero p.lead {
    margin-left: auto;
    margin-right: auto;
  }

  .section {
    padding: 3rem 0;
  }

  .form-card {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 120px;
  }

  .navbar {
    padding: 10px 20px;
  }

  .navbar-header {
    position: relative;
  }

  .navbar .logo img {
    height: 60px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
    width: 100%;
    text-align: center;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 1001;
  }

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

  .nav-links a {
    font-size: 16px;
    padding: 10px;
    border-bottom: 1px solid #eee;
  }

  .enquire-text {
    font-size: 20px;
  }

  .enquire-button {
    font-size: 16px;
    padding: 10px 15px;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 100px;
  }

  .navbar {
    padding: 8px 15px;
  }

  .navbar .logo img {
    height: 50px;
  }

  .nav-links a {
    font-size: 14px;
  }
}
