/* 
  =========================================
  PREMIUM CONSTRUCTION COMPANY WEBSITE
  RESPONSIVE STYLESHEET (responsive.css)
  =========================================
*/

/* Laptop Displays & Smaller Desktops */
@media (max-width: 1200px) {
  :root {
    --max-width: 1000px;
  }
  
  .nav-list {
    gap: 20px;
  }
}

/* Tablet / Landscape Mobile (Toggle Hamburger Menu Active) */
@media (max-width: 992px) {
  :root {
    --header-height: 80px;
    --header-height-sticky: 70px;
  }

  /* Show Hamburger Toggle */
  .nav-toggle {
    display: flex;
  }

  /* Convert Main Navigation to Premium Mobile Drawer Overlay */
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: #0b0b0b;
    border-left: 1px solid var(--color-border-gold);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
    padding: 100px 40px 40px 40px;
    transition: right var(--transition-normal);
    z-index: 999;
    align-items: flex-start;
  }

  .main-nav.is-active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
  }

  .nav-link {
    font-size: 1.1rem;
    display: block;
    width: 100%;
    padding: 10px 0;
  }

  /* Push Header CTA to bottom of drawer or adjust header order */
  .header-actions .btn-cta {
    display: none; /* Hide on small screen header to save space */
  }

  .main-nav .btn-cta-mobile {
    display: flex;
    margin-top: 40px;
    width: 100%;
  }

  /* Hero Section Responsive */
  .hero-section {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 60px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-badge {
    align-self: center;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-features {
    align-items: center;
  }

  .hero-gallery {
    height: 420px;
    max-width: 600px;
    margin: 0 auto;
  }

  .hero-floating-badge {
    left: -2%;
    bottom: 8%;
    padding: 16px 20px;
  }

  .floating-badge-number {
    font-size: 1.8rem;
  }
}

/* Portrait Mobile Devices */
@media (max-width: 576px) {
  :root {
    --header-height: 70px;
    --header-height-sticky: 65px;
  }

  .logo-title {
    font-size: 1.1rem;
    letter-spacing: 1.5px;
  }

  .logo-subtitle {
    font-size: 0.55rem;
    letter-spacing: 2px;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
    border-width: 1px;
  }

  .main-nav {
    width: 100%; /* Full screen drawer on very small mobile */
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-actions-container {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn-hero-solid,
  .btn-hero-outline {
    width: 100%;
    padding: 14px 20px;
    text-align: center;
  }

  .hero-gallery {
    height: 280px;
  }

  .hero-floating-badge {
    padding: 10px 14px;
    gap: 10px;
    left: -10px;
    bottom: 5%;
  }

  .floating-badge-number {
    font-size: 1.5rem;
  }

  .floating-badge-text {
    font-size: 0.65rem;
    letter-spacing: 1px;
  }
}
/* =====================================================
   FOOTER - KHỐI LIÊN HỆ NẰM CỐ ĐỊNH BÊN PHẢI
   ===================================================== */

.lvt-footer-top {
    position: relative;
    display: flex !important;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

/* Phần thương hiệu bên trái */
.lvt-footer-brand {
    width: 45%;
    flex: 0 0 45%;
}

/* KHỐI LIÊN HỆ BÊN PHẢI */
.lvt-footer-contact {
    position: absolute !important;
    top: 0;
    right: 0;

    width: 40%;
    max-width: 480px;

    margin: 0 !important;
    padding: 0 0 0 50px !important;

    min-width: 0 !important;
}

/* Tiêu đề LIÊN HỆ */
.lvt-footer-contact h4 {
    margin: 0 0 25px 0;
    padding: 0;

    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Các dòng liên hệ */
.lvt-footer-contact .lvt-contact-item {
    display: flex;
    align-items: flex-start;

    width: 100%;
    margin-bottom: 20px;
}

/* Icon */
.lvt-footer-contact .lvt-contact-item i,
.lvt-footer-contact .lvt-contact-item svg {
    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 15px;

    border: 1px solid rgba(197, 168, 128, 0.35);
}

/* Nội dung */
.lvt-footer-contact .lvt-contact-item>div,
.lvt-footer-contact .lvt-contact-item span {
    min-width: 0;
}

/* Label */
.lvt-footer-contact .contact-label {
    display: block;

    margin-bottom: 5px;

    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;

    opacity: 0.55;
}

/* Text */
.lvt-footer-contact .contact-value {
    display: block;

    font-size: 14px;
    line-height: 1.6;

    word-break: break-word;
}


/* =====================================================
   DESKTOP LỚN
   ===================================================== */

@media (min-width: 1200px) {
    .lvt-footer-contact {
        right: 0;
        width: 42%;
        max-width: 500px;
        padding-left: 70px !important;
    }
}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 991px) {
    .lvt-footer-top {
        display: flex !important;
        flex-direction: column;
    }

    .lvt-footer-brand {
        width: 100%;
        flex: none;
        margin-bottom: 40px;
    }

    .lvt-footer-contact {
        position: static !important;

        width: 100%;
        max-width: none;

        padding: 0 !important;
    }
}

/* =========================================
   FIX ICON FOOTER - KHÔNG CHỒNG 2 Ô VUÔNG
   ========================================= */

.lvt-footer-contact .lvt-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
}

/* Chỉ để 1 khung duy nhất */
.lvt-footer-contact .lvt-contact-item i,
.lvt-footer-contact .lvt-contact-item svg {
    box-sizing: border-box;

    width: 42px !important;
    height: 42px !important;

    min-width: 42px;
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid rgba(197, 168, 128, 0.45) !important;
    outline: none !important;
    box-shadow: none !important;

    background: transparent;
}

/* Nếu icon đang có pseudo-element tạo thêm ô */
.lvt-footer-contact .lvt-contact-item i::before,
.lvt-footer-contact .lvt-contact-item i::after,
.lvt-footer-contact .lvt-contact-item svg::before,
.lvt-footer-contact .lvt-contact-item svg::after {
    border: none !important;
    box-shadow: none !important;
}

/* Nội dung bên phải icon */
.lvt-footer-contact .lvt-contact-item>div {
    flex: 1;
    min-width: 0;
}

/* Label */
.lvt-footer-contact .contact-label {
    margin: 0 0 5px;
}

/* Giá trị */
.lvt-footer-contact .contact-value {
    margin: 0;
    line-height: 1.6;
}