/* ===================================================================
   EVENTPRO - Common Styles (style.css)
   Shared: variables, reset, navbar, section utilities, footer,
   floating buttons, mobile sticky, responsive
   =================================================================== */

:root {
  --red: #e63946;
  --red-dark: #c1121f;
  --red-light: #ff4d5a;
  --dark: #0f0f0f;
  --dark-2: #161616;
  --dark-3: #1e1e1e;
  --white: #ffffff;
  --bg-light: #f9f9f9;
  --text-dark: #1a1a1a;
  --text-body: #555555;
  --text-light: #888888;
  --text-white: rgba(255, 255, 255, 0.95);
  --text-white-muted: rgba(255, 255, 255, 0.6);
  --border: #e8e8e8;
  --border-dark: rgba(255, 255, 255, 0.08);
  --shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 15px 50px rgba(0, 0, 0, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: "Be Vietnam Pro", sans-serif;
  color: var(--text-body);
  overflow-x: hidden;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 700;
}

a {
  text-decoration: none;
}

/* ===== NAVBAR (transparent → dark on scroll) ===== */
.navbar {
  background: transparent;
  padding: 12px 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: var(--dark);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-dark);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/*.nav-brand {
  position: absolute;
  left: 15px;
}*/

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.2);
  outline: none;
  box-shadow: none;
}
.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}
.navbar-collapse {
  background: var(--dark);
  padding: 15px;
  border-radius: 8px;
  margin-top: 10px;
  flex-grow: 1;
  display: flex;
  justify-content: center;

}
.navbar.scrolled .navbar-collapse {
  background: transparent;
  padding: 0;
  margin-top: 0;
  border-radius: 0;
}
@media (min-width: 992px) {
  .navbar-collapse {
    background: transparent;
    padding: 0;
    margin-top: 0;
    border-radius: 0;
  }
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0;
/*  padding-left: 80px;*/
}

.nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 18px 18px !important;
  transition: color 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
  color: var(--red) !important;
}

/* Dropdown styling */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

.dropdown-menu {
  background: var(--dark-2);
  border: 1px solid var(--border-dark);
  border-radius: 0 0 4px 4px;
  padding: 8px 0;
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.dropdown-item {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  padding: 10px 20px;
  font-weight: 500;
  transition: all 0.3s;
}
.dropdown-item:hover {
  background: rgba(230, 57, 70, 0.1);
  color: var(--red);
}

.dropdown-toggle::after {
  border-top-color: rgba(255, 255, 255, 0.6);
  margin-left: 6px;
}

/* ===== SECTION UTILITIES ===== */
.sec-light {
  background: var(--white);
}
.sec-dark {
  background: var(--dark);
}
.sec-dark-2 {
  background: var(--dark-2);
}
.sec-padding {
  padding: 90px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-label::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--red);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.25;
}
.section-title .hl {
  color: var(--red);
}

.section-desc {
  font-size: 0.95rem;
  max-width: 560px;
  line-height: 1.8;
}
.section-desc.center {
  margin: 0 auto;
}

/* Light section text */
.sec-light .section-title {
  color: var(--text-dark);
}
.sec-light .section-desc {
  color: var(--text-body);
}

/* Dark section text */
.sec-dark .section-title,
.sec-dark-2 .section-title {
  color: var(--white);
}
.sec-dark .section-desc,
.sec-dark-2 .section-desc {
  color: var(--text-white-muted);
}

/* ===== FOOTER (dark) ===== */
.footer {
  background: var(--dark);
  padding: 55px 0 20px;
}
.footer-brand {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 10px;
}
.footer-brand span {
  color: var(--red);
}
.footer h5 {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin-bottom: 9px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.84rem;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--red);
}
.footer-social a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 5px;
  transition: all 0.3s;
}
.footer-social a:hover {
  border-color: var(--red);
  color: var(--red);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  margin-top: 35px;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== FLOATING ===== */
.floating-buttons {
  position: fixed;
  bottom: 28px;
  right: 22px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.float-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}
.float-btn:hover {
  transform: scale(1.1);
  color: var(--white);
}
.float-btn-phone {
  background: var(--red);
}
.float-btn-zalo {
  background: #0068ff;
}
.float-btn-top {
  background: var(--dark-3);
  display: none;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white) !important;
}
.float-btn-top:hover {
  background: var(--red);
  border-color: var(--red);
}

/* Mobile sticky */
.mobile-sticky {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  background: var(--white);
  border-top: 1px solid var(--border);
  z-index: 997;
  padding: 8px 0;
}
.mobile-sticky a {
  flex: 1;
  text-align: center;
  color: var(--text-body);
  font-size: 0.65rem;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.mobile-sticky a i {
  font-size: 1rem;
  color: var(--red);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .hero-video-wrap video {
    filter: brightness(0.3);
  }
  .section-title {
    font-size: 2rem;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-item.large {
    grid-column: span 2;
    grid-row: span 1;
  }
  .nav-brand {
/*    position: static;*/
    flex-shrink: 0;
  }
  .navbar .container {
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-stats {
    gap: 25px;
    flex-wrap: wrap;
  }
  .hero-stat h3 {
    font-size: 1.8rem;
  }
  .sec-padding {
    padding: 60px 0;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }
  .portfolio-item.large {
    grid-column: span 2;
  }
  .floating-buttons {
    bottom: 75px;
    right: 15px;
  }
  .mobile-sticky {
    display: flex;
  }
  .footer {
    padding-bottom: 70px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-btns {
    flex-direction: column;
  }
  .btn-red,
  .btn-outline-w {
    width: 100%;
    justify-content: center;
  }
}
