/* ========================================
   NAVIGATION STYLES - Clean Reset
======================================== */

/* Header Base Styles */
.header-area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: all 0.3s ease;
}

.header-wrapper {
  width: 100%;
}

/* Logo */
.logo {
  flex-shrink: 0;
}

.logo img {
  height: 50px;
  width: auto;
}

/* Desktop Navigation */
.main-nav .nav-list {
  gap: 40px;
  align-items: center;
}

.nav-link {
  color: #464646;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 0;
}

.nav-link:hover,
.nav-link.active {
  color: #ffce1e;
}

/* Header Button */
.header-btn {
  display: inline-block;
  padding: 10px 30px;
  border: 2px solid #ffce1e;
  border-radius: 50px;
  color: #181d27;
  background-color: #ffce1e;
  font-size: 15px;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}

.header-btn:hover {
  background-color: transparent;
  color: #ffce1e;
  border: 2px solid #ffce1e;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  background: transparent;
  border: none;
  position: relative;
  cursor: pointer;
  padding: 8px 12px;
  font-family: "Comic Neue", cursive;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  color: #333;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:focus {
  outline: none;
}

.menu-text {
  display: block;
  transition: all 0.3s ease;
}

/* Default state - always show MENU unless explicitly set to show CLOSE */
.mobile-menu-toggle .menu-text::after {
  content: "MENU";
}

/* Active state - only show CLOSE when menu is actually open */
.mobile-menu-toggle.menu-open .menu-text::after {
  content: "CLOSE";
}

/* Hover effect */
.mobile-menu-toggle:hover {
  color: #eb1f0b;
}

/* Sticky header text color */
.stick .mobile-menu-toggle {
  color: #333;
}

.stick .mobile-menu-toggle:hover {
  color: #eb1f0b;
}

/* Mobile Navigation */
.mobile-nav-collapse {
  margin-top: 20px;
}

.mobile-nav {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
}

.mobile-nav-list {
  margin: 0;
  padding: 0;
}

.mobile-nav-item {
  border-bottom: 1px solid #eee;
}

.mobile-nav-item:last-child {
  border-bottom: none;
}

.mobile-nav-link {
  display: block;
  padding: 15px 25px;
  color: #464646;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #eb1f0b;
  background: rgba(235, 31, 11, 0.05);
}

/* Sticky Header */
.header-area.stick {
  position: fixed;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  animation: slideDown 0.3s ease;
}

.stick .nav-link {
  color: #464646;
}

.stick .nav-link:hover,
.stick .nav-link.active {
  color: #ffce1e;
}

.stick .mobile-menu-toggle .menu-text {
  color: #333;
}

.stick .header-btn {
  border-color: #ffce1e;
  color: #181d27;
  background-color: #ffce1e;
}

.stick .header-btn:hover {
  background-color: transparent;
  color: #ffce1e;
  border: 2px solid #ffce1e;
}

/* Animations */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* High Resolution Display Adjustments */
@media (min-height: 1200px) {
  .slider-wrapper .single-slide {
    padding-top: 20vh;
    padding-bottom: 15vh;
  }

  .slide-content {
    min-height: calc(100vh - 35vh);
  }
}

@media (min-height: 1440px) {
  .slider-wrapper .single-slide {
    padding-top: 22vh;
    padding-bottom: 18vh;
  }

  .slide-content {
    min-height: calc(100vh - 40vh);
  }
}

/* 4K and Ultra-wide Displays */
@media (min-height: 1800px) {
  .slider-wrapper .single-slide {
    padding-top: 25vh;
    padding-bottom: 20vh;
  }

  .slide-content {
    min-height: calc(100vh - 45vh);
  }

  .slide-text h2 {
    font-size: 70px;
    line-height: 75px;
  }

  .slide-text p {
    font-size: 18px;
    line-height: 28px;
  }
}

/* Hero Section Responsive Styles */
@media (max-width: 1199px) {
  .main-nav .nav-list {
    gap: 25px;
  }

  .slide-content {
    gap: 40px;
  }

  .slide-text h2 {
    font-size: 50px;
    line-height: 55px;
  }

  .hero-image {
    min-width: 360px;
    max-width: 360px;
  }
}

@media (max-width: 991px) {
  .header-area {
    background: rgba(255, 255, 255, 0.95);
  }

  .single-slide {
    padding-top: 140px;
    padding-bottom: 60px;
  }

  .slide-content {
    flex-direction: column;
    gap: 50px;
    text-align: center;
  }

  .slide-caption {
    order: 1;
    justify-content: center;
  }

  .slide-text {
    text-align: center;
  }

  .hero-image {
    order: 2;
    min-width: 400px;
    max-width: 450px;
  }

  .slide-text h2 {
    font-size: 42px;
    line-height: 48px;
  }

  .slide-text p {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .header-area {
    padding: 15px 0;
  }

  .mobile-nav-collapse {
    margin-top: 15px;
  }

  .single-slide {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .slide-content {
    gap: 40px;
  }

  .slide-text h2 {
    font-size: 42px;
    line-height: 42px;
    margin-bottom: 15px;
  }

  .slide-text p {
    font-size: 16px;
    line-height: 22px;
    margin: 15px 0 25px;
  }

  .hero-image {
    min-width: 360px;
    min-height: 360px;
  }
}

@media (max-width: 480px) {
  .single-slide {
    padding-top: 100px;
    padding-bottom: 50px;
  }

  .slide-content {
    gap: 30px;
  }

  .slide-text h2 {
    font-size: 42px;
    line-height: 42px;
  }

  .hero-image {
    min-width: 360px;
    min-height: 360px;
  }
}

/* Override any conflicting Bootstrap styles */
.collapse:not(.show) {
  display: none;
}

.collapsing {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}

.collapse.show {
  display: block;
}

/* Critical Hero Image Size Override - Prevent any other CSS from making it smaller than 400px */
.hero-image,
#background-7 {
  min-width: 360px !important;
  min-height: 360px !important;
  background-size: contain !important;
  background-position: center !important;
  transform: none !important;
}

@media (max-width: 1366px) {
  .hero-image,
  #background-7 {
    width: 500px !important;
    height: 500px !important;
  }
}

@media (max-width: 1200px) {
  .hero-image,
  #background-7 {
    width: 450px !important;
    height: 450px !important;
  }
}

@media (max-width: 991px) {
  .hero-image,
  #background-7 {
    width: 400px !important;
    height: 400px !important;
  }
}

@media (max-width: 767px) {
  .hero-image,
  #background-7 {
    width: 400px !important;
    height: 400px !important;
    margin-left: 80px !important;
    margin-right: 20px !important;
  }
}

@media (max-width: 575px) {
  .hero-image,
  #background-7 {
    width: 360px !important;
    height: 360px !important;
    margin-left: 80px !important;
    margin-right: 20px !important;
  }
}
