/* =============================================================
   AMASIKO GROUP — GLOBAL STYLESHEET
   Author: Amasiko Web Team
   ============================================================= */

/* ── GOOGLE FONTS ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ── CSS VARIABLES ────────────────────────────────────────── */
:root {
  --navy:        #1C3D52;
  --navy-deep:   #0f2333;
  --navy-mid:    #254e6b;
  --navy-light:  #3a6b8a;
  --gold:        #C9A84C;
  --gold-light:  #e0c06a;
  --gold-pale:   #f5e9c8;
  --gold-dark:   #a8862f;
  --white:       #ffffff;
  --off-white:   #F9F7F4;
  --gray-light:  #EDECEA;
  --gray:        #9AA5AD;
  --text:        #1e2d38;
  --text-light:  #5a6e7a;
  --text-muted:  #8a9ba6;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Outfit', sans-serif;

  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition:  0.35s var(--ease);
  --shadow-xs:   0 1px 6px rgba(28,61,82,0.06);
  --shadow-sm:   0 4px 16px rgba(28,61,82,0.10);
  --shadow-md:   0 10px 40px rgba(28,61,82,0.15);
  --shadow-lg:   0 24px 64px rgba(28,61,82,0.22);
  --shadow-gold: 0 8px 32px rgba(201,168,76,0.30);

  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   24px;
  --radius-xl:   40px;

  --container:   1300px;
  --header-h:    80px;
}

/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  border: none;
  outline: none;
}

/* ── CONTAINER ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* ── PRELOADER ────────────────────────────────────────────── */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy-deep);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  opacity: 0;
  animation: plFadeUp 0.8s var(--ease) 0.3s forwards;
}
.preloader-logo span { color: var(--gold); }
.preloader-bar {
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin-top: 16px;
  animation: plExpand 1.2s var(--ease) 0.8s forwards;
  border-radius: 2px;
}
@keyframes plFadeUp { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform: translateY(0); } }
@keyframes plExpand { from { width: 0; } to { width: 160px; } }

/* ── TOP BAR ──────────────────────────────────────────────── */
.topbar {
  background: var(--navy-deep);
  padding: 9px 0;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar-info { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.topbar-info a { color: rgba(255,255,255,0.55); display: flex; align-items: center; gap: 7px; transition: var(--transition); }
.topbar-info a:hover { color: var(--gold); }
.topbar-info i { color: var(--gold); font-size: 0.7rem; }
.topbar-social { display: flex; align-items: center; gap: 10px; }
.topbar-social a {
  width: 28px; height: 28px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.75rem;
  transition: var(--transition);
}
.topbar-social a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }

/* ── NAVBAR ───────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
  backdrop-filter: blur(12px);
}
.navbar.scrolled {
  border-bottom-color: rgba(28,61,82,0.10);
  box-shadow: var(--shadow-sm);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
  flex-shrink: 0;
  display: flex; align-items: center; gap: 10px;
}
.nav-brand img { height: 44px; width: auto; }
.nav-brand span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 15px;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--navy); background: var(--off-white); }
.nav-link .chevron { font-size: 0.6rem; transition: transform 0.3s ease; }
.nav-item:hover > .nav-link .chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: var(--white);
  border: 1px solid rgba(28,61,82,0.09);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 270px;
  padding: 10px 0;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all 0.28s var(--ease);
  pointer-events: none;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 20px;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text-light);
  border-left: 3px solid transparent;
  transition: var(--transition);
}
.dropdown a i { color: var(--gold); font-size: 0.65rem; width: 14px; text-align: center; }
.dropdown a:hover { color: var(--navy); background: var(--off-white); border-left-color: var(--gold); padding-left: 26px; }

/* CTA Button */
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy);
  color: var(--white) !important;
  padding: 11px 24px;
  border-radius: var(--radius-xl);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  transition: var(--transition);
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--gold); color: var(--navy-deep) !important; transform: translateY(-2px); box-shadow: var(--shadow-gold); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--gray-light);
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.mobile-menu.open { max-height: 600px; }
.mobile-menu-inner { padding: 16px 0 24px; }
.mobile-menu-inner a {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 24px;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--gray-light);
  transition: var(--transition);
}
.mobile-menu-inner a:hover { color: var(--gold); padding-left: 30px; }
.mobile-menu-inner a.indent { padding-left: 44px; font-size: 0.78rem; font-weight: 500; color: var(--text-light); }
.mobile-menu-inner a.indent::before { content: '↳'; color: var(--gold); }
.mobile-cta { margin: 16px 24px 0; }
.mobile-cta a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--navy); color: var(--white) !important;
  padding: 14px 24px; border-radius: var(--radius-xl);
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  border-bottom: none !important;
}
.mobile-cta a:hover { background: var(--gold); color: var(--navy-deep) !important; padding-left: 24px !important; }

/* ── PAGE HERO ────────────────────────────────────────────── */
.page-hero {
  position: relative;
  height: clamp(400px, 55vh, 600px);
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.page-hero-img {
  position: absolute; inset: 0;
  background-color: var(--navy-deep);
  background-size: cover;
  background-position: center;
  transition: transform 8s ease;
}
.page-hero:hover .page-hero-img { transform: scale(1.04); }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,22,35,0.92) 0%, rgba(10,22,35,0.55) 50%, rgba(10,22,35,0.25) 100%);
}
.page-hero-content {
  position: relative; z-index: 2;
  padding: 60px 0 56px;
  width: 100%;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 18px;
}
.breadcrumb a { color: rgba(255,255,255,0.45); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--gold); font-size: 0.55rem; }
.breadcrumb-current { color: var(--gold); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  opacity: 0;
  animation: heroUp 0.9s var(--ease) 0.3s forwards;
}
.page-hero h1 em { font-style: italic; color: var(--gold-light); }
.page-hero-sub {
  font-size: 1.05rem; font-weight: 300;
  color: rgba(255,255,255,0.65);
  max-width: 580px; line-height: 1.7;
  opacity: 0;
  animation: heroUp 0.9s var(--ease) 0.5s forwards;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 40%, transparent 100%);
}
@keyframes heroUp { from { opacity:0; transform: translateY(24px); } to { opacity:1; transform: translateY(0); } }

/* ── SECTION UTILITIES ────────────────────────────────────── */
.section { padding: 100px 0; }
.section-sm { padding: 72px 0; }
.section-lg { padding: 130px 0; }

.section-tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.section-tag::before { content: ''; width: 36px; height: 2px; background: var(--gold); flex-shrink: 0; }
.section-tag.center { flex-direction: row-reverse; }
.section-tag.center::before { display: none; }
.section-tag.center::after { content: ''; width: 36px; height: 2px; background: var(--gold); flex-shrink: 0; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-title.light { color: var(--white); }

.divider {
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px; margin-top: 22px;
}
.divider.center { margin-left: auto; margin-right: auto; }

/* ── REVEAL ANIMATIONS ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  border-radius: var(--radius-xl);
  transition: var(--transition); cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--gold); color: var(--navy-deep); transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-dark); color: var(--white); transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-3px); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: var(--white); color: var(--navy); transform: translateY(-3px); border-color: var(--white); }
.btn-sm { padding: 10px 22px; font-size: 0.74rem; }
.btn i { font-size: 0.75rem; transition: transform 0.3s ease; }
.btn:hover i { transform: translateX(4px); }

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  background: var(--navy-deep);
  padding: 90px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 60px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-logo {
  font-family: var(--font-display);
  font-size: 1.7rem; font-weight: 700;
  color: var(--white); margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.footer-brand-logo img { height: 42px; }
.footer-brand-logo span { color: var(--gold); }
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.85;
  margin-bottom: 28px;
  max-width: 300px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45); font-size: 0.85rem;
  transition: var(--transition);
}
.footer-socials a:hover { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); transform: translateY(-3px); }
.footer-col h5 {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-col ul li a i { color: var(--gold); font-size: 0.58rem; }
.footer-col ul li a:hover { color: var(--gold); padding-left: 5px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 18px; }
.footer-contact-item i { color: var(--gold); font-size: 0.85rem; margin-top: 3px; flex-shrink: 0; }
.footer-contact-item span, .footer-contact-item a {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.65; display: block;
}
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom {
  padding: 26px 0;
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.28); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.78rem; color: rgba(255,255,255,0.28); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--gold); }

/* ── BACK TO TOP ──────────────────────────────────────────── */
.back-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 990;
  width: 46px; height: 46px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transition: var(--transition);
}
.back-top.visible { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--gold); color: var(--navy-deep); transform: translateY(-4px); }

/* ── BADGES / TAGS ────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: var(--radius-xl);
}
.badge-navy { background: rgba(28,61,82,0.1); color: var(--navy); }
.badge-gold { background: rgba(201,168,76,0.12); color: var(--gold-dark); }
.badge-green { background: rgba(39,174,96,0.12); color: #1a8a4a; }
.badge-red { background: rgba(220,53,69,0.12); color: #b91c1c; }

/* ── CARD COMPONENT ───────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-light);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }

/* ── CTA STRIP ────────────────────────────────────────────── */
.cta-strip {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  padding: 80px 0; text-align: center;
}
.cta-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700; color: var(--navy-deep);
  margin-bottom: 16px;
}
.cta-strip p { font-size: 1rem; color: rgba(17,37,53,0.65); margin-bottom: 36px; max-width: 520px; margin-inline: auto; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .section { padding: 72px 0; }
  .section-lg { padding: 90px 0; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 56px 0; }
  .page-hero { height: clamp(320px, 50vh, 450px); }
}
