/* =========================
   GLOBAL STYLES
========================= */

:root {
  /* NAVBAR HEIGHT (single source of truth) */
  --navbar-height: 110px;

  --primary-cream: #f7f4ef;
  --primary-red: #e74514;
  --primary-black: #000000;
  --dark-bg: #1a1a1a;
  --darker-bg: #0d0d0d;
  --text-light: #ffffff;
  --text-gray: #b0b0b0;
}

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

body {
  font-family: "Inter", "Roboto", sans-serif;
  background-color: var(--darker-bg);
  color: var(--text-light);
  line-height: 1.5;
  overflow-x: hidden;
  letter-spacing: 0.3px;
}

/* =========================
   GLOBAL PAGE OFFSET
========================= */

.page-offset {
  padding-top: var(--navbar-height);
}

/* =========================
   HEADINGS & LINKS
========================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  letter-spacing: 0.6px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* =========================
   HEADER / NAVBAR
========================= */

.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--navbar-height);
  z-index: 1000;
  background-color: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(167, 34, 29, 0.2);
}

.navbar {
  padding: 0.5rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-logo {
  height: 80px;
  width: auto;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.navbar-logo:hover {
  transform: scale(1.05);
}

/* =========================
   CENTER NAV
========================= */

.navbar-center {
  gap: 1.2rem;
}

.navbar-nav {
  gap: 0.5rem;
}

.nav-link {
  color: var(--text-light);
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-red);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--primary-red);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

/* =========================
   ENQUIRY BUTTON
========================= */

.btn-enquiry,
.btn-enquiry-mobile {
  background-color: #16a34a;
  color: #ffffff;
  font-weight: 600;
  border-radius: 5px;
  border: none;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.btn-enquiry {
  padding: 0.6rem 1.75rem;
}

.btn-enquiry-mobile {
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
}

.btn-enquiry:hover,
.btn-enquiry-mobile:hover {
  background-color: #15803d;
  color: #ffffff;
  transform: translateY(-2px);
}

/* =========================
   MOBILE ACTIONS
========================= */

.mobile-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* =========================
   HAMBURGER
========================= */

.navbar-toggler {
  border: 2px solid var(--primary-red);
  background: transparent;
  border-radius: 5px;
}

.navbar-toggler-icon {
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(167,34,29,1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* =========================
   FONT AWESOME
========================= */

.fa-whatsapp {
  color: #ffffff;
}

.fa-solid,
.fa-regular,
.fa-brands {
  color: var(--primary-red);
}

/* =========================
   FOOTER
========================= */

.main-footer {
  background-color: var(--darker-bg);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(167, 34, 29, 0.2);
  margin-top: 4rem;
}

.footer-main-row {
  justify-content: space-between;
}

.footer-brand {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary-red);
}
.footer :hover {
  color: var(--primary-cream);
}
.footer-description {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--primary-red);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.7rem;
  color: var(--text-gray);
}

.footer-links i {
  color: var(--primary-red);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary-red);
  padding-left: 4px;
}

/* Social icons row */
.footer-social-row {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(167, 34, 29, 0.2);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--primary-red);
}

.social-icon:hover i {
  color: #ffffff;
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-top: 1.5rem;
}

/* =========================
   GLOBAL BUTTONS
========================= */

.btn-custom {
  background-color: var(--primary-red);
  color: #ffffff;
  padding: 0.75rem 2rem;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-custom:hover {
  background-color: #8a1c18;
  transform: translateY(-2px);
}

.btn-custom-outline {
  border: 2px solid #ffffff;
  color: #ffffff;
  padding: 0.75rem 2rem;
  border-radius: 5px;
}

.btn-custom-outline:hover {
  background-color: #ffffff;
  color: var(--primary-black);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px) {
  :root {
    --navbar-height: 80px;
  }

  .navbar-logo {
    height: 70px;
  }

  .navbar-collapse {
    background-color: rgba(13, 13, 13, 0.98);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
  }

  .nav-link::after {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --navbar-height: 70px;
  }

  .navbar-logo {
    height: 60px;
  }

  .main-footer {
    text-align: center;
  }

  .footer-links {
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  :root {
    --navbar-height: 70px;
  }

  .navbar-logo {
    height: 50px;
  }

  .btn-enquiry-mobile {
    font-size: 0.8rem;
  }
}
