/* ==========================================================================
   AL-ULA Architecture & Interior Design Platform
   Custom Top-Header, Full-Width Showcase & Elegant WhatsApp Integration
   ========================================================================== */

html {
  scroll-behavior: smooth;
}

body {
  padding-top: 84px;
  overflow-x: hidden;
}

/* Remove legacy left sidebar & legacy hamburger completely */
#colorlib-aside,
.js-colorlib-nav-toggle.colorlib-nav-toggle {
  display: none !important;
}

/* Expand main wrapper to full 100% viewport width */
#colorlib-main {
  width: 100% !important;
  float: none !important;
}

/* Keep content sections harmoniously proportioned on wide screens */
.colorlib-narrow-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5em;
}

@media screen and (max-width: 768px) {
  .colorlib-narrow-content {
    padding: 0 1.25em;
  }
}

/* Fix template debug border in original style.css */
.colorlib-counters .counter-wrap {
  border: none !important;
}

/* ==========================================================================
   Elegant Top Horizontal Header (#alula-header)
   ========================================================================== */
#alula-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 84px;
  z-index: 1050;
  background: rgba(36, 36, 36, 0.95);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
}

#alula-header.is-scrolled {
  background: rgba(26, 26, 26, 0.98);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
}

.alula-header-inner {
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media screen and (max-width: 768px) {
  .alula-header-inner {
    padding: 0 16px;
  }
}

/* Brand Logo */
.alula-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none !important;
  color: #ffffff !important;
}

.alula-logo-img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4), 0 0 0 1.5px rgba(255, 195, 0, 0.55);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.alula-logo-img--footer {
  width: 72px;
  height: 72px;
}

.alula-brand:hover .alula-logo-img {
  transform: scale(1.04);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.5), 0 0 0 2px #FFC300;
}

.alula-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}

.alula-brand-text {
  font-family: "Quicksand", Arial, sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1;
}

.alula-brand-sub {
  font-family: "Quicksand", Arial, sans-serif;
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FFC300;
  line-height: 1.1;
}

/* Horizontal Navigation Menu */
.alula-nav {
  display: flex;
  align-items: center;
}

.alula-nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.alula-nav ul li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.alula-nav ul li a {
  display: inline-block;
  font-family: "Quicksand", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: rgba(255, 255, 255, 0.72);
  padding: 8px 0;
  position: relative;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.alula-nav ul li a::after {
  content: "";
  position: absolute;
  height: 2px;
  bottom: 2px;
  left: 0;
  right: 0;
  background-color: #FFC300;
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.alula-nav ul li a:hover {
  color: #ffffff;
}

.alula-nav ul li a:hover::after {
  visibility: visible;
  transform: scaleX(1);
}

.alula-nav ul li.colorlib-active a {
  color: #FFC300;
  font-weight: 600;
}

.alula-nav ul li.colorlib-active a::after {
  visibility: visible;
  transform: scaleX(1);
}

/* Mobile Menu Button */
.alula-burger {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  width: 42px;
  height: 40px;
  padding: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.25s ease;
}

.alula-burger:hover,
.alula-burger:focus {
  border-color: #FFC300;
  outline: none;
}

.alula-burger-bars {
  width: 20px;
  height: 14px;
  position: relative;
  display: block;
}

.alula-burger-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ffffff;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.alula-burger-bars span:nth-child(1) {
  top: 0;
}

.alula-burger-bars span:nth-child(2) {
  top: 6px;
}

.alula-burger-bars span:nth-child(3) {
  top: 12px;
}

.alula-burger.is-open .alula-burger-bars span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.alula-burger.is-open .alula-burger-bars span:nth-child(2) {
  opacity: 0;
}

.alula-burger.is-open .alula-burger-bars span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

@media screen and (max-width: 900px) {
  .alula-burger {
    display: inline-flex;
  }

  .alula-nav {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    background: rgba(28, 28, 28, 0.98);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    padding: 20px 24px 28px;
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    display: block;
  }

  .alula-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .alula-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .alula-nav ul li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .alula-nav ul li:last-child {
    border-bottom: none;
  }

  .alula-nav ul li a {
    display: block;
    padding: 12px 0;
    font-size: 13px;
  }

  .alula-nav ul li a::after {
    display: none;
  }
}

/* ==========================================================================
   Unobstructed Full-Bleed Architectural Hero Showcase (#colorlib-hero)
   ========================================================================== */
#colorlib-hero {
  background: #1f1f1f;
  margin-bottom: 3em;
  position: relative;
  float: none;
  width: 100%;
}

#colorlib-hero .flexslider {
  background: #1f1f1f;
  height: 100%;
}

#colorlib-hero .flexslider .slides {
  height: 100%;
}

#colorlib-hero .flexslider .slides li {
  height: 100%;
  background-position: center center;
  background-size: cover;
  position: relative;
}

/* Subtle bottom ambient gradient only for crisp control contrast — zero obstruction */
#colorlib-hero .flexslider .slides li .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.26) 0%,
    rgba(0, 0, 0, 0.03) 22%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
}

/* Slide indicator dots at bottom-left */
#colorlib-hero .flexslider .flex-control-nav {
  bottom: 28px;
  left: 36px;
  top: auto;
  right: auto;
  z-index: 20;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

#colorlib-hero .flexslider .flex-control-nav li {
  display: inline-block;
  margin: 0;
}

#colorlib-hero .flexslider .flex-control-nav li a {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  border: 2px solid transparent;
  transition: all 0.25s ease;
}

#colorlib-hero .flexslider .flex-control-nav li a.flex-active {
  background: #FFC300;
  border-color: #FFC300;
  transform: scale(1.2);
}

/* Subtle architectural prev/next arrows on hero hover */
#colorlib-hero .flexslider .flex-direction-nav {
  display: block;
}

#colorlib-hero .flexslider .flex-direction-nav a {
  width: 44px;
  height: 44px;
  margin: -22px 0 0;
  background: rgba(28, 28, 28, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  text-indent: 0 !important;
  font-size: 0 !important;
  color: #ffffff !important;
  transition: opacity 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

#colorlib-hero:hover .flexslider .flex-direction-nav a {
  opacity: 1;
}

#colorlib-hero .flexslider .flex-direction-nav a:hover {
  background: rgba(28, 28, 28, 0.9);
  border-color: #FFC300;
}

#colorlib-hero .flexslider .flex-direction-nav a::before {
  font-family: "icomoon" !important;
  font-size: 16px !important;
  line-height: 1;
  color: #ffffff !important;
  text-shadow: none !important;
}

#colorlib-hero .flexslider .flex-direction-nav a.flex-prev {
  left: 28px !important;
}

#colorlib-hero .flexslider .flex-direction-nav a.flex-prev::before {
  content: "\e0c2";
}

#colorlib-hero .flexslider .flex-direction-nav a.flex-next {
  right: 28px !important;
}

#colorlib-hero .flexslider .flex-direction-nav a.flex-next::before {
  content: "\e0c3";
}

@media screen and (max-width: 768px) {
  #colorlib-hero .flexslider .flex-control-nav {
    left: 20px;
    bottom: 22px;
  }
  #colorlib-hero .flexslider .flex-direction-nav {
    display: none;
  }
}

/* ==========================================================================
   Elegant Non-Intrusive WhatsApp Contact Badge (#alula-whatsapp-btn)
   Replaces the old intrusive yellow box cleanly in the hero corner & pages
   ========================================================================== */
.alula-whatsapp-btn {
  position: fixed;
  right: 32px;
  bottom: 26px;
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 20px 7px 7px;
  border-radius: 999px;
  background: rgba(28, 28, 28, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.26);
  text-decoration: none !important;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

.alula-whatsapp-btn:hover,
.alula-whatsapp-btn:focus {
  transform: translateY(-3px);
  background: rgba(22, 22, 22, 0.96);
  border-color: rgba(37, 211, 102, 0.65);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34), 0 0 0 4px rgba(37, 211, 102, 0.15);
  text-decoration: none !important;
}

.alula-whatsapp-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #25D366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.38);
}

.alula-whatsapp-icon svg {
  width: 21px;
  height: 21px;
  fill: #ffffff;
  display: block;
}

.alula-whatsapp-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.alula-whatsapp-label {
  font-family: "Quicksand", Arial, sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.2px;
  color: #FFC300;
  margin-bottom: 2px;
}

.alula-whatsapp-number {
  font-family: "Quicksand", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.9px;
  color: #ffffff;
}

@media screen and (max-width: 576px) {
  .alula-whatsapp-btn {
    right: 16px;
    bottom: 16px;
    padding: 6px 15px 6px 6px;
    gap: 9px;
  }
  .alula-whatsapp-icon {
    width: 36px;
    height: 36px;
  }
  .alula-whatsapp-number {
    font-size: 13px;
  }
}

/* ==========================================================================
   Portfolio Filter Bar & Interactive Modal (Platform Enhancements)
   ========================================================================== */
.alula-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2.5em;
}

.alula-filter-btn {
  background: #fafafa;
  border: 1px solid #e6e6e6;
  color: #333333;
  font-family: "Quicksand", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 9px 20px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.alula-filter-btn:hover,
.alula-filter-btn.is-active {
  background: #242424;
  border-color: #242424;
  color: #FFC300;
}

.project {
  cursor: pointer;
}

/* Architectural Modal Overlay */
.alula-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 15, 15, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.alula-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.alula-modal-card {
  background: #ffffff;
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  transform: translateY(16px);
  transition: transform 0.25s ease;
}

.alula-modal-backdrop.is-open .alula-modal-card {
  transform: translateY(0);
}

.alula-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(24, 24, 24, 0.85);
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.alula-modal-close:hover {
  background: #FFC300;
  color: #000000;
}

.alula-modal-media {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center center;
  background-color: #1e1e1e;
}

@media screen and (max-width: 600px) {
  .alula-modal-media {
    height: 240px;
  }
}

.alula-modal-body {
  padding: 28px 32px 32px;
}

.alula-modal-tag {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #999999;
  display: block;
  margin-bottom: 8px;
}

.alula-modal-body h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.alula-modal-body p {
  margin-bottom: 22px;
  color: rgba(0, 0, 0, 0.72);
}

.alula-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Contact Page Map & Form Alert */
.alula-map-wrap {
  width: 100%;
  height: 460px;
  background: #eaeaea;
  overflow: hidden;
}

.alula-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(20%) contrast(1.03);
}

.alula-form-status {
  margin-top: 16px;
  padding: 15px 20px;
  border-left: 4px solid #25D366;
  background: #f3fbf6;
  color: #1b4332;
  font-size: 14.5px;
  font-weight: 500;
  display: none;
}

.alula-form-status.is-error {
  border-left-color: #d9534f;
  background: #fdf4f4;
  color: #842029;
}

.alula-form-status.is-visible {
  display: block;
}

/* Country Code + Phone Input Group */
.alula-phone-group {
  display: flex;
  align-items: stretch;
  width: 100%;
  direction: ltr;
}

.alula-country-select {
  width: 138px !important;
  flex-shrink: 0;
  border-right: 1px solid #e2e2e2 !important;
  padding: 6px 10px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #222222 !important;
  background-color: #f2f2f2 !important;
  cursor: pointer;
}

.alula-phone-input {
  flex: 1 1 auto;
  min-width: 0;
  direction: ltr;
  text-align: left;
}

/* ==========================================================================
   Site Footer (#alula-footer) — Flush Left-to-Right Matching Top Header
   ========================================================================== */
.alula-footer {
  background: #242424;
  color: rgba(255, 255, 255, 0.6);
  padding: 3em 0 2.2em;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.alula-footer-inner {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 24px;
}

@media screen and (max-width: 768px) {
  .alula-footer-inner {
    padding: 0 16px;
  }
}

.alula-footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 2em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.alula-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.alula-footer-links a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  transition: color 0.25s ease;
}

.alula-footer-links a:hover {
  color: #FFC300;
}

.alula-footer-bottom {
  padding-top: 1.6em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

.alula-footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
}

.alula-footer-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.alula-footer-social a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 16px;
  transition: color 0.25s ease;
}

.alula-footer-social a:hover {
  color: #FFC300;
}
