/* ===============================
   REVIEWS.CSS - CLEAN & OPTIMIZED
   Version: 3.0
================================*/

/* ===============================
   CSS VARIABLES & RESET
================================*/
:root {
  --primary: #b300ff;
  --secondary: #ff00aa;
  --dark: #0d0718;
  --darker: #1a0f2d;
  --text: #e2d9f3;
  --text-light: #a0a0a0;
  --border: rgba(179, 0, 255, 0.3);
  --border-hover: rgba(179, 0, 255, 0.5);
  --shadow: rgba(179, 0, 255, 0.2);
  --gradient: linear-gradient(90deg, var(--primary), var(--secondary));
  --card-bg: rgba(13, 7, 24, 0.8);
  --card-bg-light: rgba(13, 7, 24, 0.6);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: system-ui, -apple-system, sans-serif;
}

body {
  line-height: 1.6;
  color: var(--text);
  background: var(--dark);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ===============================
   LAYOUT & CONTAINERS
================================*/
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===============================
   NAVIGATION
================================*/
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 5%;
  background: rgba(13, 7, 24, 0.95);
  backdrop-filter: blur(15px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  height: 70px;
}

.logo img {
  height: 45px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 12px var(--primary));
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

/* Desktop Navigation */
.nav-links {
  display: flex;
  list-style: none;
  gap: 2.2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--gradient);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mobile Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.burger span {
  height: 3px;
  width: 100%;
  background: var(--gradient);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* ===============================
   MOBILE SIDEBAR
================================*/
.sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85%;
  height: 100vh;
  background: var(--darker);
  z-index: 1001;
  transition: right 0.3s ease;
  padding: 80px 1.5rem 2rem;
  border-left: 1px solid var(--border);
  overflow-y: auto;
}

.sidebar.active {
  right: 0;
}

.sidebar-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.sidebar-close:hover {
  color: var(--secondary);
}

.sidebar-links {
  list-style: none;
  margin-bottom: 2rem;
}

.sidebar-links li {
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.sidebar-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
  transition: color 0.3s ease;
  display: block;
  padding: 0.5rem 0;
}

.sidebar-links a:hover,
.sidebar-links a.active {
  color: var(--secondary);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===============================
   MAIN REVIEWS SECTION
================================*/
.reviews-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
  padding: 8rem 1rem 4rem;
  min-height: 100vh;
}

.reviews-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.reviews-header {
  text-align: center;
  margin-bottom: 3rem;
}

.reviews-heading {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-family: 'Bebas Neue', system-ui;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.reviews-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--secondary);
  font-weight: 500;
}

/* ===============================
   REVIEW CONTENT
================================*/
.section-title {
  font-size: 1.8rem;
  color: var(--secondary);
  margin: 2rem 0 1rem;
  font-weight: 600;
}

.content-text {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.content-text a {
  color: #7d81ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.content-text a:hover {
  color: var(--primary);
}

/* ===============================
   REVIEWS CONTAINER
================================*/
.reviews-container {
  background: var(--card-bg-light);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin: 2rem 0;
}

.review-item {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.review-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px var(--shadow);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.reviewer-name {
  font-weight: 600;
  color: var(--secondary);
  font-size: 1.1rem;
}

.review-rating {
  color: #ffd700;
}

.review-date {
  font-size: 0.85rem;
  color: var(--text-light);
}

.review-text {
  color: var(--text);
  line-height: 1.6;
}

/* Review Meta Info */
.review-meta {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.model-name, .duration {
  color: var(--secondary);
  background: rgba(255, 0, 170, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* ===============================
   SKILLS SECTION
================================*/
.skills-section {
  background: var(--card-bg-light);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin: 2rem 0;
}

.skills-title {
  color: var(--secondary);
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.4rem;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.skill-name {
  flex: 1;
  font-weight: 500;
}

.skill-bar {
  flex: 3;
  height: 8px;
  background: rgba(179, 0, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: var(--gradient);
  border-radius: 4px;
}

.skill-percent {
  color: var(--secondary);
  font-weight: 600;
  min-width: 40px;
  text-align: right;
}

/* ===============================
   FEATURES GRID
================================*/
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.feature-title {
  color: var(--secondary);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

/* ===============================
   SIDEBAR COMPONENTS
================================*/
.sidebar-sticky {
  position: sticky;
  top: 6rem;
}

.comment-form-section {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.form-title {
  color: var(--secondary);
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1.3rem;
}

.sidebar-contact-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

.sidebar-contact-card h4 {
  color: var(--secondary);
  margin-bottom: 1rem;
  text-align: center;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  background: rgba(179, 0, 255, 0.1);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.contact-method i {
  color: var(--secondary);
  font-size: 1.2rem;
}

/* ===============================
   FOOTER
================================*/
.neon-footer {
  background: var(--dark);
  padding: 3rem 1rem 2rem;
  border-top: 1px solid var(--border);
  position: relative;
}

.neon-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand h5 {
  color: var(--secondary);
  font-size: 1.3rem;
  font-weight: 700;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--primary);
}

.footer-locations nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.footer-locations a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-locations a:hover {
  color: var(--secondary);
}

.footer-copyright {
  text-align: center;
  margin-top: 2rem;
}

.footer-copyright a {
  color: var(--secondary);
  text-decoration: none;
}

.footer-copyright a:hover {
  color: var(--primary);
}

/* ===============================
   UTILITY CLASSES
================================*/
.loading {
  opacity: 0;
}

.loaded {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===============================
   RESPONSIVE DESIGN
================================*/

/* Tablet */
@media (max-width: 1024px) {
  .reviews-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .reviews-sidebar {
    order: -1;
  }
  
  .sidebar-sticky {
    position: static;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .burger {
    display: flex;
  }

  .navbar {
    height: 60px;
    padding: 0.6rem 5%;
  }

  .logo img {
    height: 40px;
  }

  .reviews-section {
    padding: 6rem 1rem 2rem;
  }

  .reviews-heading {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .review-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .footer-main {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    gap: 1.5rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 0.5rem;
  }

  .reviews-section {
    padding: 5rem 0.5rem 1rem;
  }

  .reviews-heading {
    font-size: 2rem;
  }

  .reviews-container,
  .skills-section,
  .feature-card {
    padding: 1rem;
  }

  .features-grid {
    gap: 1rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}