
:root {
  --navy: #002349;
  --light-grey: #adadad;
  --gold: #a38d31;
  --black: #000;
  --white: #fff;
  --shadow: rgba(0,0,0,0.18);
  --shadow-dark: rgba(0,0,0,0.3);
  --gradient-gold: linear-gradient(90deg, var(--navy), var(--gold));
}

/* ===================================================
   RESET & BASE
   =================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

header {
  width: 100%;
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1.6;
  color: #333;
  transition: background 0.3s, color 0.3s;
}

img {
  max-width: 100%;
  display: block;
}

iframe {
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

.home {
  background: #f8f8f8;
  overflow-x: hidden;
}

/* ===================================================
   TOP NAV
   =================================================== */

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 5%;
  background: var(--navy);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 8px 40px var(--shadow);
  transition: background 0.3s, box-shadow 0.3s;
}

.top-nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(163,141,49,0.6),
    transparent
  );
}

/* ===================================================
   LOGO
   =================================================== */

.logo-wrapper {
  flex-shrink: 0;
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.1)
  );
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(163,141,49,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-wrapper:hover {
  transform: scale(1.05) rotate(-1deg);
  box-shadow: 0 8px 20px var(--shadow-dark);
}

.logo-img {
  height: 68px;
  width: auto;
  border-radius: 14px;
  object-fit: cover;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35));
  transition: transform 0.3s ease;
}

.logo-wrapper:hover .logo-img {
  transform: scale(1.03);
}

/* ===================================================
   MAIN NAV
   =================================================== */

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1.8rem;
}

.main-nav a {
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.2rem 0;
  white-space: nowrap;
  transition: color 0.3s, transform 0.3s;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: var(--gold);
}

.main-nav a:hover::after {
  width: 100%;
}

/* CTA */

.main-nav .nav-cta {
  background: linear-gradient(135deg, var(--gold), #c8aa4a);
  color: #fff !important;
  padding: 0.6rem 1.3rem !important;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.main-nav .nav-cta::after {
  display: none !important;
}

.main-nav .nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(163,141,49,0.4) !important;
  color: #fff !important;
}

/* ===================================================
   DROPDOWN
   =================================================== */

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 12px;
}

.dropbtn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.2rem 0;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
}

.dropbtn:hover {
  color: var(--gold);
}

.dropbtn .caret {
  transition: transform 0.3s ease;
}

.dropdown:hover .dropbtn .caret {
  transform: rotate(180deg);
}

.dropdown-content {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 220px;
  background: rgba(0, 35, 73, 0.98);
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  border-radius: 14px;
  border: 1px solid rgba(163,141,49,0.2);
  overflow: hidden;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown-content a {
  display: block;
  padding: 12px 18px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.25s ease,
              color 0.25s ease,
              padding-left 0.25s ease;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background: rgba(163, 141, 49, 0.15);
  color: var(--gold);
  padding-left: 24px;
}

/* ===================================================
   HAMBURGER
   =================================================== */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  padding: 6px;
  z-index: 110;
  background: none;
  border: none;
  gap: 5px;
  flex-shrink: 0;
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  display: block;
  transition: 0.35s cubic-bezier(0.77, 0, 0.175, 1);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================================================
   MOBILE OVERLAY
   =================================================== */

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 90;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}

.mobile-overlay.show {
  opacity: 1;
}

/* ===================================================
   MOBILE DRAWER
   =================================================== */

.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100dvh;
  background: var(--navy);
  z-index: 100;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  border-left: 1px solid rgba(163,141,49,0.2);
  overflow-y: auto;
  padding-bottom: 2rem;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(163,141,49,0.2);
  flex-shrink: 0;
}

.drawer-logo {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.drawer-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  font-size: 22px;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.2s;
}

.drawer-close:hover {
  color: var(--gold);
}

.drawer-nav {
  flex: 1;
  padding: 0.5rem 0;
}

.drawer-nav a {
  display: flex;
  align-items: center;
  padding: 0.9rem 1.5rem;
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.2s,
              color 0.2s,
              padding-left 0.2s;
}

.drawer-nav a:hover {
  background: rgba(163,141,49,0.1);
  color: var(--gold);
  padding-left: 1.9rem;
}

.drawer-section-label {
  padding: 0.5rem 1.5rem;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.drawer-sub a {
  padding-left: 2rem;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.drawer-sub a:hover {
  padding-left: 2.5rem;
}

.drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(163,141,49,0.15);
  flex-shrink: 0;
}

.drawer-cta {
  display: block;
  background: linear-gradient(135deg, var(--gold), #c8aa4a);
  color: #fff;
  text-align: center;
  padding: 0.85rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s ease,
              box-shadow 0.2s ease;
}

.drawer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(163,141,49,0.4);
}

/* ===================================================
   HERO SECTION
   =================================================== */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-left,
.hero-right {
  position: relative;
  min-height: 100%;
}

.hero-left img,
.hero-right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out,
              transform 1.2s ease;
}

.hero-left img.active,
.hero-right img.active {
  opacity: 1;
  transform: scale(1.05);
}

.hero-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f7f9fc 100%
  );
  color: var(--navy);
  padding: 3rem;
  position: relative;
  z-index: 2;
}

.hero-center::before,
.hero-center::after {
  content: "";
  position: absolute;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: rgba(0, 35, 73, 0.15);
}

.hero-center::before {
  left: 0;
}

.hero-center::after {
  right: 0;
}

.tagline {
  font-size: 0.85rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.5px;
  color: var(--navy);
}

/* ===================================================
   ABOUT SECTION
   =================================================== */

.about-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 80vh;
  margin: 4rem 5% 6rem;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 90px var(--shadow);
}

.about-left {
  background: var(--navy);
  color: var(--white);
  padding: 6rem 5rem;
  display: flex;
  align-items: center;
}

.about-left h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.5px;
}

.about-right {
  background: var(--white);
  padding: 6rem;
}

.about-right h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 500;
  margin-bottom: 2rem;
  position: relative;
}

.about-right h2::before {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}

.about-right p {
  font-size: 1.08rem;
  line-height: 1.9;
  color: #333;
  margin-bottom: 1.5rem;
  max-width: 650px;
}

.about-right strong {
  color: var(--navy);
  font-weight: 600;
}

.about-right em {
  display: block;
  margin-top: 2rem;
  font-size: 1.15rem;
  color: var(--gold);
  font-style: italic;
}

/* ===================================================
   BRANCHES
   =================================================== */

.branches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  padding: 5rem 5%;
  max-width: 1400px;
  margin: 0 auto 6rem;
  background: #fafafa;
}

.branch {
  background: #ffffff;
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 25px 70px rgba(0,0,0,0.06);
  transition: box-shadow 0.35s ease,
              transform 0.35s ease;
  position: relative;
  overflow: hidden;
}

.branch::before {
  content: "";
  position: absolute;
  top: 0;
  left: 3rem;
  right: 3rem;
  height: 1px;
  background: rgba(0,35,73,0.25);
}

.branch:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 90px rgba(0,35,73,0.15);
}

.branch h2 {
  color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.branch p {
  margin-bottom: 1rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #444;
}

.branch a {
  color: var(--navy);
  border-bottom: 1px solid rgba(0,35,73,0.25);
  padding-bottom: 2px;
  transition: color 0.3s,
              border-color 0.3s;
}

.branch a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.branch-map iframe {
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: 14px;
  margin: 2rem 0;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

.branch:hover .branch-map iframe {
  transform: scale(1.02);
}

.branch-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.branch-social-icons img {
  width: 38px;
  height: 38px;
  transition: transform 0.25s ease;
}

.branch-social-icons a:hover img {
  transform: translateY(-2px);
}

/* ===================================================
   FOOTER
   =================================================== */

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
  padding: 4rem 5% 2rem;
  background: var(--navy);
  color: #fff;
  border-top: 4px solid var(--gold);
}

.footer-column h2,
.footer-column h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.footer-column h2 span {
  color: var(--gold);
  font-weight: 600;
}

.footer-column .tagline {
  font-style: italic;
  color: #adadad;
  margin: 1rem 0 2rem;
  line-height: 1.4;
  font-size: 0.95rem;
}

.footer-column a {
  display: block;
  color: var(--light-grey);
  line-height: 1.8;
  transition: all 0.3s;
}

.footer-column a:hover {
  color: var(--gold);
  text-shadow: 0 0 6px var(--gold);
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons img {
  width: 36px;
  height: 36px;
  transition: transform 0.3s,
              filter 0.3s;
}

.social-icons a:hover img {
  transform: scale(1.15);
  filter: drop-shadow(0 0 6px var(--gold));
}

.branch-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.branch-toggle .branch-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--gold);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
}

.branch-toggle .branch-btn.active,
.branch-toggle .branch-btn:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(163,141,49,0.4);
}

.branch-details p {
  margin: 0.5rem 0;
  line-height: 1.6;
  transition: opacity 0.3s;
  font-size: 0.95rem;
}

.branch-map {
  margin-top: 1rem;
  width: 100%;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
}

.branch-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 5%;
  background: var(--navy);
  color: var(--light-grey);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  border-top: 1px solid var(--gold);
}

/* ===================================================
   LARGE LAPTOPS
   =================================================== */

@media (max-width: 1200px) {
  .main-nav {
    gap: 1.2rem;
  }

  .about-right,
  .about-left {
    padding: 4rem;
  }

  .branch {
    padding: 2.5rem;
  }
}

/* ===================================================
   TABLETS
   =================================================== */

@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-left,
  .hero-right {
    display: none;
  }

  .hero-center {
    min-height: 100vh;
    padding: 4rem 2rem;
  }

  .about-split {
    grid-template-columns: 1fr;
  }

  .about-left,
  .about-right {
    padding: 4rem 2.5rem;
  }

  .main-nav {
    gap: 1rem;
  }

  .main-nav a,
  .dropbtn {
    font-size: 0.88rem;
  }

  .branches {
    grid-template-columns: 1fr;
  }
}

/* ===================================================
   MOBILE NAVIGATION
   =================================================== */

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-overlay {
    display: block;
  }

  .mobile-drawer {
    display: flex;
  }

  .top-nav {
    padding: 0.9rem 5%;
  }

  .logo-img {
    height: 52px;
  }

  .hero-center {
    padding: 3rem 1.5rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .tagline {
    font-size: 0.75rem;
    letter-spacing: 2px;
  }

  .about-split {
    margin: 3rem 4% 4rem;
    border-radius: 20px;
  }

  .about-left,
  .about-right {
    padding: 3rem 1.5rem;
  }

  .branches {
    padding: 4rem 4%;
    gap: 2rem;
  }

  .branch {
    padding: 2rem 1.5rem;
    border-radius: 20px;
  }

  .branch::before {
    left: 1.5rem;
    right: 1.5rem;
  }

  .branch-map iframe {
    height: 220px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 3rem 5%;
  }
}

/* ===================================================
   SMALL MOBILE
   =================================================== */

@media (max-width: 480px) {
  .top-nav {
    padding: 0.8rem 4%;
  }

  .logo-img {
    height: 46px;
  }

  .hero-center {
    padding: 2rem 1.2rem;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 10vw, 2.8rem);
    line-height: 1.15;
  }

  .tagline {
    font-size: 0.72rem;
    letter-spacing: 1.5px;
  }

  .about-left,
  .about-right {
    padding: 2.5rem 1.2rem;
  }

  .about-right p {
    font-size: 1rem;
    line-height: 1.8;
  }

  .branches {
    padding: 3rem 4%;
  }

  .branch {
    padding: 1.6rem 1.2rem;
  }

  .branch-map iframe {
    height: 200px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    padding: 3rem 4%;
    gap: 1.5rem;
  }

  .footer-bottom {
    padding: 1.2rem 4%;
    font-size: 0.82rem;
  }

  .mobile-drawer {
    width: 100%;
    max-width: 100%;
  }
}

/* ===================================================
   EXTRA SMALL DEVICES
   =================================================== */

@media (max-width: 360px) {
  .hero-center,
  .about-left,
  .about-right,
  .branch {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .branch h2 {
    font-size: 1.4rem;
  }

  .drawer-nav a {
    font-size: 14px;
  }
}
