/* Base & Color Scheme */
:root {
  --primary: #1c75bc;
  --secondary: #def3ff;
  --text-main: #1c75bc;
  --text-secondary: #000000;
  --gray-bg: #f5f5f5;
  --gray-border: #dcdcdc;
  --bg: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.site {
  margin: 0;
  font-family:
    "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  color: var(--text-secondary);
  background: var(--bg);
}

.container-1200 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

/* --- Top Bar --- */
.top-bar {
  background-color: #fbb040;
  padding: 8px 0;
}

.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu-toggle {
  display: none;
}

.top-bar__left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-bar__left .phone-icon {
  width: 18px;
  height: 18px;
  color: #ffffff;
}

.top-bar__phone-number {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.top-bar__promo {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-left: 10px;
  padding-left: 15px;
  border-left: 2px solid rgba(255, 255, 255, 0.5);
}

/* --- Social Circle Icons --- */
.top-bar__socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.social-circle:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.social-circle svg {
  width: 16px;
  height: 16px;
}

.social-yt {
  background-color: #cd201f;
}
.social-ig {
  background-color: #e4405f;
}
.social-fb {
  background-color: #3b5998;
}

/* --- Main Header & Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.main-header {
  background: #9e1f63;
  width: 100%;
  position: sticky !important;
  top: 0;
  z-index: 1000;
}

.main-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: block;
  padding: 15px 0;
}

.site-logo img {
  height: 50px;
}

.main-nav__menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 700;
}

.main-nav__menu > li > a {
  display: flex;
  align-items: center;
  padding: 20px 14px;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.arrow {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 8px;
  margin-bottom: 3px;
}

.main-nav__menu > li:hover > a,
.main-nav__menu > li.active > a {
  background-color: rgba(255, 255, 255, 0.15);
  color: #fbb040;
}

.has-dropdown {
  position: relative;
}

.dropdown {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  padding: 0;
  margin: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 10;
}

.has-dropdown:hover .dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 5px 20px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--gray-border);
  background-color: #9e1f63;
}

.dropdown li:last-child a {
  border-bottom: none;
}

.dropdown li a:hover {
  background-color: #9e1f63;
  color: #fbb040;
}

/* =========================================
   FOOTER STYLES
   ========================================= */

/* --- Top CTA Bar --- */
.footer-cta {
  background-color: #0c0c0c;
  color: #ffffff;
  font-size: 20px;
}

.footer-cta__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 32px; /* aligns with container */
  padding-right: 0; /* lets the blue button touch the edge */
}

.footer-cta__text .text-primary {
  color: var(--primary);
  font-weight: 700;
}

/* The Blue Slanted Button */
.footer-cta__button-wrapper {
  background-color: var(--primary);
  padding: 20px 40px 20px 60px;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.footer-cta__button {
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
  display: block;
}

/* --- Main Footer (Blue Area) --- */
.site-footer {
  background-color: var(--primary);
  color: #ffffff;
  padding-top: 60px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-heading {
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 20px;
  letter-spacing: 0.5px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Contact List */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-contact-list svg {
  width: 16px;
  height: 16px;
  fill: #ffffff;
}

/* Social Boxes */
.footer-social-boxes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-box {
  display: inline-flex;
  width: max-content;
  min-width: 150px;
  text-decoration: none;
  color: #ffffff;
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.social-box:hover {
  transform: translateX(5px);
}

.social-box .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.social-box .icon svg {
  width: 16px;
  height: 16px;
  fill: #ffffff;
}

.social-box .text {
  background-color: #111111;
  display: flex;
  align-items: center;
  padding: 0 15px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex-grow: 1;
}

/* Specific Social Colors */
.fb-box .icon {
  background-color: #3b5998;
}
.ig-box .icon {
  background-color: #e4405f;
}
.yt-box .icon {
  background-color: #cd201f;
}

/* Links Column */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 0.8;
}

/* Facebook Widget Placeholder */
.fb-widget-container {
  background: #ffffff;
  padding: 5px;
  border-radius: 3px;
  min-height: 150px;
}

/* --- Skyline graphic & Bottom Bar --- */
.footer-skyline {
  width: 100%;
  height: 80px; /* Adjust based on your actual image height */
  background-position: bottom center;
  background-repeat: repeat-x;
  background-size: contain;
  /* Important: Put a skyline.png in your public/img folder */
}

.footer-bottom {
  background-color: #000000;
  color: #a0a0a0;
  padding: 20px 0;
  font-size: 13px;
}

.footer-bottom__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text-primary {
  color: var(--primary) !important;
}

/* --- Scroll To Top Button --- */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background-color: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
}

.scroll-to-top:hover {
  background-color: #155a91; /* Slightly darker blue */
  transform: translateY(-3px);
}

/* --- Responsive Layout (Mobile & Tablet) --- */
@media (max-width: 991px) {
  /* Header Responsive (Kept from before) */
  .top-bar__inner {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 15px 10px;
    align-items: center;
  }
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: #4a4a4a;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
  }
  .top-bar__left {
    grid-column: 2;
    grid-row: 1;
    justify-content: center;
    flex-wrap: wrap;
  }
  .top-bar__promo {
    display: none;
  }
  .top-bar__socials {
    grid-column: 2;
    grid-row: 2;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 10px;
  }
  .main-header__inner {
    flex-direction: column;
  }
  .site-logo {
    padding: 20px 0;
    text-align: center;
  }
  .site-logo img {
    margin: 0 auto;
  }
  .main-nav {
    width: 100%;
    display: none;
    border-top: 1px solid var(--gray-border);
  }
  .main-nav.nav-open {
    display: block;
  }
  .main-nav__menu {
    flex-direction: column;
  }
  .main-nav__menu > li > a {
    padding: 5px 20px !important;
    border-bottom: 1px solid var(--gray-border);
  }
  .dropdown {
    position: static;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    display: none;
    background: var(--gray-bg);
  }
  .has-dropdown:hover .dropdown {
    display: block;
  }
  .dropdown li a {
    padding-left: 40px;
  }

  /* Footer Responsive */
  .footer-cta__inner {
    flex-direction: column;
    text-align: center;
    padding-left: 0;
  }
  .footer-cta__text {
    padding: 20px 15px;
  }
  .footer-cta__button-wrapper {
    width: 100%;
    clip-path: none;
    padding: 20px;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .footer-contact-list li {
    justify-content: center;
  }
  .footer-social-boxes {
    align-items: center;
  }
  .footer-bottom__inner {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
