/* =========================================================
   YIRO Publications — Main Stylesheet
   ========================================================= */

:root {
  --navy: #10233f;
  --navy-dark: #0a1830;
  --navy-light: #1c3a63;
  --gold: #c9992e;
  --gold-light: #e6c675;
  --green: #2f4a3c;
  --cream: #faf7f0;
  --grey-text: #4a4f57;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(16, 35, 63, 0.08);
  --radius: 12px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--grey-text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  color: var(--navy);
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

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

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--cream);
}

.section-title {
  text-align: center;
  margin-bottom: 15px;
  font-size: 2.4rem;
}

.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  color: var(--grey-text);
  font-size: 1.05rem;
}

.tagline-bar {
  height: 4px;
  width: 70px;
  background: var(--gold);
  margin: 0 auto 30px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-light);
}

.btn-block {
  width: 100%;
  display: block;
}

/* ---------- Top Info Bar ---------- */
.topbar {
  background: var(--navy-dark);
  color: #d8e0ec;
  font-size: 0.85rem;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.topbar-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.topbar-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar-info a { color: #d8e0ec; }
.topbar-social a {
  color: #d8e0ec;
  margin-left: 14px;
  font-size: 0.95rem;
}
.topbar-social a:hover { color: var(--gold); }

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 58px;
  width: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-text h1 {
  font-size: 1.3rem;
  color: var(--navy);
  letter-spacing: 0.5px;
}

.brand-text span {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: block;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li.active > a {
  color: var(--gold);
  background: rgba(201, 153, 46, 0.08);
}

/* dropdown */
.has-dropdown > a::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-left: 6px;
  font-size: 0.75rem;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: var(--shadow);
  border-radius: 8px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 500;
}
.dropdown-menu li a:hover {
  background: var(--cream);
  color: var(--gold);
}

.nav-cta {
  margin-left: 10px;
}

.nav-cta .btn {
  padding: 10px 22px;
  font-size: 0.88rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--navy);
  border-radius: 3px;
  transition: var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(120deg, rgba(10,24,48,0.92), rgba(16,35,63,0.85)), url('../images/hero-collage.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 110px 0;
  position: relative;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-content h2 {
  color: var(--gold-light);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.hero-content h1 {
  color: var(--white);
  font-size: 2.9rem;
  margin-bottom: 20px;
}

.hero-content p {
  color: #dbe3ef;
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image img {
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

/* ---------- Page Banner ---------- */
.page-banner {
  background: linear-gradient(120deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 70px 0 60px;
  text-align: center;
}
.page-banner h1 {
  color: var(--white);
  font-size: 2.4rem;
  margin-bottom: 12px;
}
.breadcrumb {
  color: #cfd8e6;
  font-size: 0.95rem;
}
.breadcrumb a { color: var(--gold-light); }

/* ---------- Cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 26px;
  transition: var(--transition);
  border-top: 4px solid var(--gold);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(16,35,63,0.14);
}
.card i {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 18px;
}
.card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.card p { font-size: 0.95rem; }

.img-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: var(--transition);
}
.img-card:hover { transform: translateY(-6px); }
.img-card img {
  height: 190px;
  width: 100%;
  object-fit: cover;
}
.img-card-body { padding: 22px; }
.img-card-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.img-card-body p { font-size: 0.92rem; }

/* ---------- Location Cards ---------- */
.location-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: center;
}
.location-card .loc-head {
  background: var(--navy);
  color: var(--white);
  padding: 18px;
}
.location-card .loc-head i {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 8px;
}
.location-card .loc-body {
  padding: 24px 20px;
}
.location-card.head-office .loc-head {
  background: var(--gold);
  color: var(--navy-dark);
}
.location-card.head-office .loc-head i { color: var(--navy-dark); }
.badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 30px;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---------- About / Split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.split h2 { margin-bottom: 18px; }
.split p { margin-bottom: 16px; }

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
.icon-list i {
  color: var(--gold);
  font-size: 1.1rem;
  margin-top: 4px;
}

/* ---------- Stats ---------- */
.stats-bar {
  background: var(--navy);
  color: var(--white);
  padding: 45px 0;
}
.stats-bar .grid-4 {
  text-align: center;
}
.stats-bar h3 {
  color: var(--gold-light);
  font-size: 2.2rem;
}
.stats-bar span {
  color: var(--white);
}
.stats-bar p {
  color: #cfd8e6;
  font-size: 0.9rem;
  margin-top: 6px;
}

/* ---------- Forms ---------- */
.form-wrapper {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 0.92rem;
}

.form-group label .req { color: #c0392b; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #dfe4ea;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--navy);
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,153,46,0.15);
}

.form-section-title {
  font-size: 1.1rem;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 8px;
  margin: 30px 0 20px;
}
.form-section-title:first-child { margin-top: 0; }

/* ---------- Offer / Payment box ---------- */
.offer-box {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px;
}
.offer-box h3 {
  color: var(--gold-light);
  margin-bottom: 18px;
}
.offer-box ul li {
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.15);
  display: flex;
  justify-content: space-between;
}
.price-highlight {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 1.4rem;
}
.strike { text-decoration: line-through; opacity: 0.6; }

.payment-box {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
}
.payment-box img {
  max-width: 220px;
  margin: 0 auto 16px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.bank-details {
  text-align: left;
  background: var(--white);
  border-radius: 8px;
  padding: 18px 20px;
  margin-top: 20px;
  font-size: 0.93rem;
}
.bank-details p { margin-bottom: 6px; }
.bank-details strong { color: var(--navy); }

/* ---------- CTA Band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--gold), var(--gold-light));
  color: var(--navy-dark);
  text-align: center;
  padding: 60px 0;
}
.cta-band h2 { color: var(--navy-dark); margin-bottom: 14px; }
.cta-band p { margin-bottom: 26px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: #c7d0de;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 20px;
  position: relative;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-brand img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
}
.footer-brand span {
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}
.footer-col p, .footer-col li {
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: #b8c2d4;
}
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-col ul li a { display: flex; gap: 8px; align-items: flex-start; }
.footer-col ul li i { color: var(--gold-light); margin-top: 4px; }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--navy-dark); }

.footer-bottom {
  text-align: center;
  padding: 22px 0;
  font-size: 0.85rem;
  color: #93a0b7;
}
.footer-bottom a { color: #b8c2d4; margin: 0 6px; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 46px;
  height: 46px;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 998;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------- Alert / success message ---------- */
.alert {
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 0.95rem;
}
.alert-success {
  background: #e5f7ea;
  color: #1e7e34;
  border: 1px solid #b6e6c4;
}

/* ---------- Floating book-order button ---------- */
.floating-order-btn {
  position: fixed;
  bottom: 26px;
  left: 26px;
  z-index: 998;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 14px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(201,153,46,0.5);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: pulse 2.2s infinite;
}
.floating-order-btn:hover { background: var(--gold-light); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(201,153,46,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(201,153,46,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,153,46,0); }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-30 { margin-top: 30px; }
.mb-30 { margin-bottom: 30px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content p { margin: 0 auto 30px; }
  .hero-buttons { justify-content: center; }
  .hero-image { order: -1; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 24px 30px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    transition: right 0.35s ease;
    overflow-y: auto;
  }
  .nav-menu.open { right: 0; }
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a { padding: 14px 10px; border-bottom: 1px solid #eee; }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    padding-left: 12px;
  }
  .has-dropdown.open .dropdown-menu { display: block; }
  .has-dropdown > a::after { float: right; }
  .nav-cta { margin: 16px 0 0; width: 100%; }
  .nav-cta .btn { width: 100%; }
  .nav-toggle { display: flex; }
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 900;
  }
  .nav-overlay.show { display: block; }
}

@media (max-width: 768px) {
  .section { padding: 55px 0; }
  .section-title { font-size: 1.8rem; }
  .hero { padding: 70px 0; }
  .hero-content h1 { font-size: 2.1rem; }
  .grid-3, .grid-4, .grid-2, .split, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .split { text-align: left; }
  .split img { order: -1; }
  .topbar .container { flex-direction: column; align-items: flex-start; }
  .floating-order-btn span { display: none; }
  .floating-order-btn { padding: 14px; }
  .page-banner h1 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .brand-text h1 { font-size: 1.05rem; }
  .brand img { height: 46px; width: 46px; }
  .form-wrapper { padding: 24px 18px; }
  .hero-content h1 { font-size: 1.7rem; }
}
