/* ============================================================
   PIXELS NETWORKS - MASTER LUXURY MARINE DESIGN SYSTEM (style.css)
   Colors: Neon Lime (#C3FF00), Neon Pink (#FE1181)
   Rule: STRICTLY 0% COLOR GRADIENTS - SOLID ACCENTS ONLY
   Theme: Luxury Second Life Waterways & Marine Floating Architecture
   ============================================================ */

/* --- LOCAL FONTS DECLARATIONS --- */
@font-face {
  font-family: 'Bungee';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Bungee-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Roboto-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Roboto-Bold.ttf') format('truetype');
}

/* --- THEME VARIABLES (DARK MODE DEFAULT) --- */
:root {
  --bg-main: #050811;
  --bg-surface: #0B101D;
  --bg-card: #111827;
  --bg-glass: rgba(11, 16, 29, 0.88);
  
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --border-dim: #1E293B;
  
  --lime: #C3FF00;
  --pink: #FE1181;
  
  --font-brand: 'Bungee', sans-serif, cursive;
  --font-body: 'Roboto', sans-serif;
  
  --shadow-lime: 0 0 20px rgba(195, 255, 0, 0.35);
  --shadow-pink: 0 0 20px rgba(254, 17, 129, 0.35);
}

/* --- LIGHT MODE OVERRIDES (ULTRA HIGH CONTRAST & LEGIBILITY) --- */
[data-theme="light"] {
  --bg-main: #F1F5F9;
  --bg-surface: #E2E8F0;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.94);
  
  --text-main: #0F172A;
  --text-muted: #334155;
  --border-dim: #CBD5E1;
  
  --shadow-lime: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-pink: 0 4px 20px rgba(254, 17, 129, 0.15);
}

/* --- GLOBAL RESET & BASE STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-font {
  font-family: var(--font-brand);
  letter-spacing: 1px;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- TOP ANNOUNCEMENT BANNER --- */
.top-announcement-bar {
  background-color: #0A0F1D;
  border-bottom: 2px solid var(--lime);
  color: #FFFFFF;
  padding: 10px 20px;
  font-size: 0.9rem;
  text-align: center;
  position: relative;
  z-index: 1001;
  font-weight: 500;
}

.top-announcement-bar a {
  color: var(--lime);
  font-weight: bold;
  text-decoration: underline;
  margin-left: 8px;
}

.top-announcement-bar .close-banner-btn {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--pink);
  font-size: 1.2rem;
  cursor: pointer;
}

/* --- HEADER & STICKY GLASS NAVIGATION --- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dim);
}

.header-container {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
}

/* LOGO BRANDING */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  font-family: var(--font-brand);
  font-size: 1.9rem;
  line-height: 1;
}

.logo-text .pixels {
  color: var(--lime);
}

.logo-text .networks {
  color: var(--pink);
}

.logo-slogan {
  display: block;
  font-size: 0.75rem;
  font-family: var(--font-body);
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

/* NAV LINKS */
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-brand);
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--text-main);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: var(--lime);
  transition: width 0.3s ease;
  border-radius: 2px;
}

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

.nav-link.pink-accent::after {
  background-color: var(--pink);
}

/* THEME TOGGLE BUTTON */
.theme-toggle-btn {
  background: var(--bg-card);
  border: 2px solid var(--lime);
  color: var(--lime);
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-brand);
  font-size: 0.85rem;
  font-weight: bold;
}

.theme-toggle-btn:hover {
  background: var(--lime);
  color: #000000;
  box-shadow: var(--shadow-lime);
}

[data-theme="light"] .theme-toggle-btn {
  border-color: var(--pink);
  color: var(--pink);
}

[data-theme="light"] .theme-toggle-btn:hover {
  background: var(--pink);
  color: #000000;
  box-shadow: var(--shadow-pink);
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-dim);
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 1;
  object-fit: cover;
  filter: brightness(0.40) contrast(1.1);
}

.hero-overlay-content {
  position: relative;
  z-index: 2;
  max-width: 1050px;
  padding: 60px 24px;
}

.hero-title {
  font-size: 3.8rem;
  color: #FFFFFF;
  text-shadow: 0 4px 25px rgba(0,0,0,0.95);
  margin-bottom: 14px;
}

.hero-slogan {
  font-size: 1.4rem;
  color: var(--lime);
  margin-bottom: 36px;
  font-weight: 300;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* GLOBAL SEARCH BAR */
.global-search-container {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  background: var(--bg-glass);
  border: 2px solid var(--lime);
  border-radius: 35px;
  padding: 8px 20px;
  box-shadow: var(--shadow-lime);
}

.search-input-wrapper input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 1.1rem;
  padding: 10px;
  font-family: var(--font-body);
}

.search-dropdown-results {
  position: absolute;
  top: 115%;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 2px solid var(--lime);
  border-radius: 14px;
  max-height: 420px;
  overflow-y: auto;
  z-index: 100;
  box-shadow: 0 12px 35px rgba(0,0,0,0.9);
  display: none;
  text-align: left;
}

.search-dropdown-results.active {
  display: block;
}

.search-category-group {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-dim);
}

.search-category-title {
  font-family: var(--font-brand);
  font-size: 0.85rem;
  color: var(--pink);
  margin-bottom: 8px;
}

.search-result-item {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--text-main);
  font-size: 0.95rem;
}

.search-result-item:hover {
  background: var(--bg-surface);
  color: var(--lime);
}

.search-highlight {
  background-color: var(--lime);
  color: #000000;
  font-weight: bold;
  padding: 0 4px;
  border-radius: 3px;
}

/* --- BUTTON SYSTEM (0% GRADIENTS) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-brand);
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  font-weight: bold;
  text-transform: uppercase;
}

.btn-lime {
  background: var(--bg-card);
  border-color: var(--lime);
  color: var(--lime);
}

.btn-lime:hover {
  background: var(--lime);
  color: #000000;
  box-shadow: var(--shadow-lime);
  transform: translateY(-2px);
}

.btn-pink {
  background: var(--bg-card);
  border-color: var(--pink);
  color: var(--pink);
}

.btn-pink:hover {
  background: var(--pink);
  color: #000000;
  box-shadow: var(--shadow-pink);
  transform: translateY(-2px);
}

/* LIGHTMODE BUTTON ENHANCEMENTS */
[data-theme="light"] .btn-lime {
  background: #FFFFFF;
  border-color: var(--lime);
  color: #0F172A;
}

[data-theme="light"] .btn-lime:hover {
  background: var(--lime);
  color: #000000;
}

[data-theme="light"] .btn-pink {
  background: #FFFFFF;
  border-color: var(--pink);
  color: #0F172A;
}

[data-theme="light"] .btn-pink:hover {
  background: var(--pink);
  color: #000000;
}

/* --- SECTION CONTAINERS & WAVE DIVIDERS --- */
.section-wrapper {
  max-width: 1600px;
  margin: 0 auto;
  padding: 90px 32px;
  position: relative;
}

.section-header {
  margin-bottom: 50px;
  text-align: center;
}

.section-title {
  font-size: 2.6rem;
  color: var(--lime);
  margin-bottom: 10px;
}

.section-title.pink-title {
  color: var(--pink);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.15rem;
}

/* --- THE FLEET (PRODUCT SHOWCASE GRID) --- */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  color: var(--text-muted);
  font-family: var(--font-brand);
  padding: 10px 24px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.85rem;
}

.tab-btn:hover,
.tab-btn.active {
  border-color: var(--lime);
  color: var(--lime);
  box-shadow: var(--shadow-lime);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 36px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--lime);
  box-shadow: var(--shadow-lime);
}

.product-card-image-wrapper {
  position: relative;
  width: 100%;
  height: 230px;
  background: #000000;
  overflow: hidden;
}

.product-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-image {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-brand);
  font-size: 0.75rem;
  padding: 5px 12px;
  border-radius: 4px;
  color: #000000;
  font-weight: bold;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  animation: neonPulse 2.5s infinite alternate;
}

@keyframes neonPulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.06); }
}

.product-card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-title {
  font-size: 1.45rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.product-card-title a:hover {
  color: var(--lime);
}

.product-card-teaser {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.product-card-footer {
  display: flex;
  gap: 12px;
}

/* --- TECH-SPEC INFO CARDS --- */
.tech-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
  margin: 36px 0;
}

.spec-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-dim);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.spec-box:hover {
  border-color: var(--lime);
  box-shadow: var(--shadow-lime);
}

.spec-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.spec-value {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  color: var(--lime);
  margin-top: 6px;
}

/* --- CAPTAIN'S GUIDE (FAQS) --- */
.faq-accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: 10px;
  margin-bottom: 18px;
  overflow: hidden;
}

.faq-header {
  padding: 22px 26px;
  font-family: var(--font-brand);
  font-size: 1.1rem;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-header:hover,
.faq-accordion-item.active .faq-header {
  color: var(--lime);
}

.faq-body {
  padding: 0 26px 22px 26px;
  color: var(--text-muted);
  display: none;
}

.faq-accordion-item.active .faq-body {
  display: block;
}

/* --- LIGHTBOX MODAL --- */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.94);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content-img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border: 2px solid var(--lime);
  border-radius: 10px;
  box-shadow: var(--shadow-lime);
}

.lightbox-close-btn {
  position: absolute;
  top: 24px;
  right: 32px;
  font-family: var(--font-brand);
  font-size: 2.2rem;
  color: var(--pink);
  background: none;
  border: none;
  cursor: pointer;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-card);
  border: 2px solid var(--lime);
  color: var(--lime);
  font-family: var(--font-brand);
  font-size: 1.8rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-arrow.prev { left: 32px; }
.lightbox-arrow.next { right: 32px; }

/* --- FLOATING SAIL TO TOP BUTTON --- */
.sail-to-top-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--bg-card);
  border: 2px solid var(--lime);
  color: var(--lime);
  font-family: var(--font-brand);
  padding: 12px 20px;
  border-radius: 30px;
  cursor: pointer;
  z-index: 999;
  display: none;
  box-shadow: var(--shadow-lime);
}

.sail-to-top-btn:hover {
  background: var(--lime);
  color: #000000;
}

/* --- TOAST NOTIFICATIONS --- */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 3000;
}

.toast {
  background: var(--bg-card);
  border: 2px solid var(--lime);
  color: var(--lime);
  padding: 16px 28px;
  border-radius: 10px;
  font-family: var(--font-brand);
  font-size: 0.95rem;
  margin-top: 10px;
  box-shadow: var(--shadow-lime);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* --- PRINT / PDF OPTIMIZATIONS --- */
@media print {
  header.site-header,
  .hero-video-bg,
  .global-search-container,
  .theme-toggle-btn,
  .sail-to-top-btn,
  .top-announcement-bar,
  footer {
    display: none !important;
  }
  
  body {
    background: #FFFFFF !important;
    color: #000000 !important;
  }

  .section-wrapper {
    padding: 0 !important;
  }
}
