/* layout.css — Structural rules for shared chrome and page grid */

/* =========================================================
   TOP BANNER
   ========================================================= */

.top-banner {
  width: 100%;
  background-color: var(--color-secondary);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Container inside top banner */
.top-banner .container {
  width: 100%;
}

/* Follow us + icons in ONE LINE */
.top-banner-content {
  width: 100%;
  min-height: 55px;

  display: flex;
  flex-direction: row;

  justify-content: flex-end;
  align-items: center;

  gap: 10px;
}

/* Follow us text */
.top-banner-content .follow-text {
  margin: 0;
  padding: 0;

  color: #ffffff;

  font-size: 12px;
  font-weight: 600;

  line-height: 1;

  white-space: nowrap;
}

/* Social icons container */
.top-banner-socials {
  list-style: none;

  display: flex;
  flex-direction: row;

  align-items: center;
  justify-content: flex-end;

  gap: 5px;

  margin: 0;
  padding: 0;
}

/* Individual social item */
.top-banner-socials li {
  margin: 0;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Social links */
.top-banner-socials li a {
  width: 30px;
  height: 30px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;

  text-decoration: none;

  font-size: 16px;

  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

/* Hover */
.top-banner-socials li a:hover {
  color: #ffffff;
  opacity: 0.8;

  transform: translateY(-2px);
}

/* SITE HEADER & NAVIGATION */
#site-header {
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

header {
  background-color: white;
  position: relative;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.site-logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s ease;
}

.site-logo:hover {
  color: var(--color-secondary);
}

.site-logo .logo-image {
  height: 35px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

/* HAMBURGER ICON */
.hamburger-icon {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 5px;
}

.hamburger-icon span {
  width: 25px;
  height: 3px;
  background-color: var(--color-text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* NAV MENU */
.nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0;
  align-items: center;
}

.nav-menu li {
  position: relative;
}

.nav-menu > li > a {
  display: block;
  padding: 15px 18px;
  color: var(--color-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu > li > a:hover,
.nav-menu li.active > a {
  color: var(--color-primary);
  background-color: rgba(193, 39, 45, 0.05);
}

.nav-menu li.active > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  background-color: var(--color-primary);
}

/* SUBMENU DROPDOWN */
.nav-menu li:has(> .submenu) > a::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 11px;
  margin-left: 6px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 220px;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.nav-menu li:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu li:hover > a:has(+ .submenu)::after {
  transform: rotate(180deg);
}

.submenu li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.submenu li:last-child {
  border-bottom: none;
}

.submenu li a {
  display: block;
  padding: 12px 20px;
  color: var(--color-text);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s ease;
}

.submenu li a:hover {
  color: var(--color-primary);
  background-color: rgba(193, 39, 45, 0.08);
  padding-left: 26px;
}

/* Main container */
main {
  /* max-width: var(--container-width); */
  margin: 0 auto;
  /* padding: 0 var(--container-padding); */
}

/* Page sections */
section {
  padding: var(--spacing-3xl) var(--container-padding);
}

section.hero {
  padding: 0;
  margin-bottom: var(--spacing-3xl);
}

/* Footer */
#site-footer {
  background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 100%);
  color: #e0e0e0;
}

footer {
  background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 100%);
  color: #e0e0e0;
  padding: 80px 20px 30px;
  margin-top: 100px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto 50px;
}

/* FOOTER COLUMNS */
.footer-column {
  display: flex;
  flex-direction: column;
}

/* COMPANY INFO COLUMN */
.footer-logo {
  margin-bottom: 20px;
}

.footer-logo .logo-img {
  max-width: 150px;
  height: auto;
  display: block;
  border: 2px solid var(--color-primary);
  padding: 10px;
  border-radius: 8px;
}

.footer-description {
  font-size: 14px;
  line-height: 1.8;
  color: #b0b0b0;
  margin-bottom: 20px;
  text-align: justify;
}

.footer-socials {
  display: flex;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-socials li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-socials li a:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

/* CONTACT & SERVICES COLUMNS */
.footer-title {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 25px;
  font-family: var(--font-family-heading);
}

.footer-address {
  font-size: 14px;
  line-height: 1.8;
  color: #b0b0b0;
  margin-bottom: 25px;
}

.footer-contact-item {
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer-contact-item strong {
  color: white;
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.footer-contact-item a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-item a:hover {
  color: white;
  text-decoration: underline;
}

.footer-contact-item span {
  color: #b0b0b0;
}

/* SERVICES LIST */
.footer-services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-services-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #b0b0b0;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  padding: 8px 0;
}

.footer-services-list li a:hover {
  color: white;
  padding-left: 5px;
}

.footer-services-list li a i {
  color: var(--color-primary);
  font-size: 12px;
}

/* FOOTER BOTTOM */
footer .footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: #808080;
}

footer .footer-bottom p {
  margin: 0;
}

footer .footer-bottom span {
  color: var(--color-secondary);
  font-weight: 600;
}

/* Floating buttons */
#floating-buttons {
  position: fixed;
  bottom: var(--spacing-xl);
  right: var(--spacing-xl);
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: var(--font-size-xl);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.floating-btn.call {
  background-color: var(--color-primary);
}

.floating-btn.whatsapp {
  background-color: var(--color-accent);
}

/* Responsive */
@media (max-width: 992px) {
  .hamburger-icon {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    max-height: 500px;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu > li > a {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-menu li.active > a::after {
    display: none;
  }

  .submenu {
    position: static;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transform: none;
    box-shadow: none;
    background-color: rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
  }

  .nav-menu li:hover .submenu {
    opacity: 0;
    visibility: hidden;
  }

  .nav-menu li.active .submenu {
    opacity: 1;
    visibility: visible;
    max-height: 400px;
  }

  .submenu li a {
    padding: 10px 20px 10px 40px;
  }

  .submenu li a:hover {
    padding-left: 40px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  footer {
    padding: 60px 20px 30px;
  }
}

@media (max-width: 768px) {
  .top-banner {
    gap: 10px;
    padding: 10px 15px;
  }

  .top-banner p {
    font-size: 12px;
  }

  .top-banner-socials {
    gap: 10px;
  }

  .top-banner-socials a {
    font-size: 12px;
  }

  header nav {
    padding: 12px 15px;
  }

  .site-logo {
    font-size: 18px;
  }

  .nav-menu > li > a {
    padding: 10px 15px;
    font-size: 13px;
  }

  .submenu li a {
    font-size: 12px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-title {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .footer-description {
    font-size: 13px;
  }

  .footer-address {
    font-size: 13px;
  }

  .footer-contact-item {
    font-size: 13px;
  }

  .footer-logo .logo-img {
    max-width: 130px;
  }
}

@media (max-width: 576px) {
  header nav {
    padding: 0;
  }

  .nav-menu {
    gap: 0;
  }

  #floating-buttons {
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
  }

  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: var(--font-size-lg);
  }

  section {
    padding: var(--spacing-2xl) var(--container-padding);
  }

  footer {
    padding: 40px 20px 20px;
    margin-top: 60px;
  }

  .footer-content {
    gap: 30px;
  }

  .footer-title {
    font-size: 15px;
  }

  .footer-description,
  .footer-address,
  .footer-contact-item,
  .footer-services-list li a {
    font-size: 12px;
  }

  .footer-socials {
    gap: 10px;
  }

  .footer-socials li a {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .footer-logo .logo-img {
    max-width: 110px;
  }

  footer .footer-bottom {
    padding-top: 20px;
    font-size: 12px;
  }
}
/* SITE HEADER & NAVIGATION */
.site-header {
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  position: relative;
}

.navbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* padding: 15px 20px; */
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.navbar-wrapper > .site-logo {
  flex-shrink: 0;
}

.navbar-wrapper > .hamburger-icon,
.navbar-wrapper > .nav-menu {
  margin-left: auto;
}

.site-logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s ease;
}

.site-logo:hover {
  color: var(--color-secondary);
}

/* HAMBURGER ICON */
.hamburger-icon {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 5px;
}

.hamburger-icon span {
  width: 25px;
  height: 3px;
  background-color: var(--color-text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* NAV MENU */
.nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 15px 18px;
  color: var(--color-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-item.active > .nav-link {
  color: var(--color-primary);
  background-color: rgba(193, 39, 45, 0.05);
}

.nav-item.active > .nav-link {
  color: var(--color-primary);
  background-color: rgba(193, 39, 45, 0.05);
}

.nav-item.active > .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  background-color: var(--color-primary);
  display: block;
}

/* SUBMENU DROPDOWN */
.nav-item.has-submenu > .nav-link::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 11px;
  margin-left: 6px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 220px;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.nav-item.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item.has-submenu:hover > .nav-link::after {
  transform: rotate(180deg);
}

.submenu li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.submenu li:last-child {
  border-bottom: none;
}

.submenu li a {
  display: block;
  padding: 12px 20px;
  color: var(--color-text);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s ease;
}

.submenu li a:hover {
  color: var(--color-primary);
  background-color: rgba(193, 39, 45, 0.08);
  padding-left: 26px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .hamburger-icon {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    max-height: 500px;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .submenu {
    position: static;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transform: none;
    box-shadow: none;
    background-color: rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
  }

  .nav-item.has-submenu.active .submenu {
    opacity: 1;
    visibility: visible;
    max-height: 400px;
  }

  .submenu li a {
    padding: 10px 20px 10px 40px;
  }

  .submenu li a:hover {
    padding-left: 40px;
  }
}

@media (max-width: 768px) {
  .top-banner-content {
    gap: 10px;
  }

  .top-banner p {
    font-size: 12px;
  }

  .top-banner-socials {
    gap: 10px;
  }

  .top-banner-socials a {
    font-size: 12px;
  }

  .navbar-wrapper {
    padding: 12px 15px;
  }

  .site-logo {
    font-size: 18px;
  }

  .nav-link {
    padding: 10px 15px;
    font-size: 13px;
  }
}