/* ==========================================================================
   NYTESCORT.COM - Header Section Stylesheet (Black & White Theme)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@500;700&display=swap');

/* --- Design Tokens --- */
:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0c;
  --bg-card: #121215;
  --bg-card-hover: #1c1c22;
  
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  
  --border-light: rgba(255, 255, 255, 0.2);
  --border-strong: #ffffff;
  --border-subtle: #27272a;
  
  --accent-white: #ffffff;
  --accent-black: #000000;
  
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  --shadow-glow: 0 0 25px rgba(255, 255, 255, 0.12);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.8);
}

/* --- Global Reset & Base Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Header Outer Container --- */
.site-header {
  width: 100%;
  background: radial-gradient(circle at 50% 0%, #1a1a1f 0%, #08080a 60%, #000000 100%) !important;
  border-bottom: 1px solid var(--border-subtle);
  position: relative !important;
  top: auto !important;
  left: auto !important;
  padding-bottom: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
}

/* Subtle background pattern overlay */
.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.6;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   1. TOP NAVIGATION BAR
   ========================================================================== */
.top-nav-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 20px;
}

/* Centered Menu Button */
.btn-menu-toggle {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--text-primary);
  border-radius: 6px;
  padding: 6px 24px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.btn-menu-toggle:hover {
  background: var(--accent-white);
  color: var(--accent-black);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

/* Navigation Links List */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
}

.nav-link:hover {
  color: var(--accent-white);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-white);
  transition: width 0.25s ease-in-out;
}

.nav-link:hover::after {
  width: 100%;
}

.dropdown-arrow {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.nav-item:hover .dropdown-arrow {
  transform: translateY(2px);
}

/* Dynamic dropdown sub-menu (B&W styled) */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 170px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-card);
  z-index: 100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}

.dropdown-menu a {
  display: block;
  padding: 8px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

.dropdown-menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

/* ==========================================================================
   2. HERO CONTENT SECTION
   ========================================================================== */
.hero-content {
  text-align: center;
  padding: 36px 0 20px 0;
  max-width: 1000px;
  margin: 0 auto;
}

/* Main Heading */
.hero-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1.3;
  margin-bottom: 16px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.1rem;
  }
}

/* Subtitle Description */
.hero-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 860px;
  margin: 0 auto 12px auto;
  font-weight: 400;
}

/* Secondary Note Line */
.hero-note {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 24px;
}

.highlight-badge {
  color: var(--accent-black);
  background-color: var(--accent-white);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: lowercase;
  display: inline-block;
}

/* Email Rent Banner Box */
.email-banner-box {
  display: inline-block;
  background-color: rgba(18, 18, 21, 0.9);
  border: 1.5px solid var(--border-light);
  border-radius: 6px;
  padding: 10px 24px;
  margin-bottom: 28px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
  transition: var(--transition-fast);
}

.email-banner-box:hover {
  border-color: var(--accent-white);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

.email-text {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.email-text span {
  color: var(--accent-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Call to Action Buttons Row */
.cta-button-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 36px;
  border-radius: 50px;
  border: 1.5px solid var(--text-primary);
  background: transparent;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.btn-pill svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.btn-pill:hover {
  background-color: var(--accent-white);
  color: var(--accent-black);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-pill:hover svg {
  transform: scale(1.1);
}

/* ==========================================================================
   3. SEARCH / FILTER BAR SECTION
   ========================================================================== */
.filter-section {
  max-width: 1100px;
  margin: 0 auto;
}

.filter-heading {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 20px;
  text-align: center;
}

.filter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 860px) {
  .filter-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

.filter-control-group {
  display: flex;
  width: 100%;
  height: 44px;
}

.filter-select-wrapper {
  flex: 1;
  position: relative;
}

.filter-select {
  width: 100%;
  height: 100%;
  background-color: #0c0c0e;
  color: var(--text-primary);
  border: 1.5px solid var(--border-light);
  border-right: none;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  padding: 0 36px 0 16px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 500;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  outline: none;
  transition: var(--transition-fast);
}

.filter-select:focus {
  border-color: var(--accent-white);
}

/* Select Arrow Icon */
.filter-select-wrapper::after {
  content: '▼';
  font-size: 0.65rem;
  color: var(--text-secondary);
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Attached GO Button */
.btn-go {
  background-color: var(--accent-white);
  color: var(--accent-black);
  border: 1.5px solid var(--accent-white);
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  padding: 0 22px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-go:hover {
  background-color: #e4e4e7;
  border-color: #e4e4e7;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   4. FLOATING ACTION BUTTONS (BOTTOM RIGHT)
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.btn-float {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-float svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.btn-float-whatsapp {
  background-color: #ffffff;
  color: #000000;
  border: 1.5px solid #ffffff;
}

.btn-float-whatsapp:hover {
  transform: scale(1.12);
  background-color: #e4e4e7;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.btn-float-phone {
  background-color: #18181b;
  color: #ffffff;
  border: 1.5px solid #ffffff;
}

.btn-float-phone:hover {
  transform: scale(1.12);
  background-color: #27272a;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* Mobile Responsiveness adjustments */
@media (max-width: 600px) {
  .nav-list {
    gap: 14px;
  }
  
  .nav-link {
    font-size: 0.85rem;
  }
  
  .hero-title {
    font-size: 1.35rem;
  }
  
  .hero-subtitle {
    font-size: 0.88rem;
  }
  
  .email-banner-box {
    padding: 8px 16px;
  }
  
  .email-text {
    font-size: 0.9rem;
  }

  .btn-pill {
    padding: 8px 24px;
    font-size: 0.88rem;
  }
  
  .floating-actions {
    bottom: 16px;
    right: 16px;
  }
  
  .btn-float {
    width: 46px;
    height: 46px;
  }
  
  .btn-float svg {
    width: 22px;
    height: 22px;
  }
}
