/* ==========================================================================
   NEOTECH AV SOLUTIONS - Master Stylesheet
   ========================================================================== */

/* --- 1. Variables & Theme --- */
:root {
  /* Colors - Bright & Airy */
  --bg-main: #FDFDFD;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --text-main: #334155;
  --text-muted: #64748B;
  --accent-cyan: #0EA5E9;
  --accent-blue: #0369A1;
  --accent-purple: #38BDF8;
  --border-subtle: rgba(15, 23, 42, 0.06);
  --border-highlight: rgba(14, 165, 233, 0.2);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #0EA5E9, #0369A1);
  --grad-text: linear-gradient(to right, #0F172A, #0EA5E9);

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout & Spacing */
  --container-max: 1200px;
  --section-pad: 3.5rem 0;
  --radius-sm: 6px;
  --radius-lg: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- 2. Global Reset & Base --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- 3. Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 4rem auto;
  font-size: 1.1rem;
}

/* --- 4. Layout Utilities --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* --- 5. Components --- */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--grad-primary);
  color: #FFF;
  box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(37, 99, 235, 0.3);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn-outline:hover {
  background: rgba(37, 99, 235, 0.05);
  transform: translateY(-1px);
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-4px);
  box-shadow: 0 15px 50px rgba(0,0,0,0.05);
}

header {
  position: fixed;
  top: 1.5rem;
  width: 100%;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}

header.scrolled {
  top: 0;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 50px;
  padding: 0.2rem 3rem;
  max-width: 95%;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

header.scrolled .nav-container {
  max-width: 100%;
  border-radius: 0;
  padding: 0 3rem;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-container .logo {
  display: flex;
  align-items: center;
  height: 55px;
  overflow: hidden;
}

.logo-img {
  height: 220px;
  object-fit: contain;
  margin-top: 15px;
  z-index: 10;
  position: relative;
  transition: all 0.3s ease;
}

.nav-links {
  display: flex;
  gap: 2rem;
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  padding: 0.5rem;
  border-radius: 0;
  transition: all 0.3s ease;
  text-decoration: none;
}

.nav-links a:hover, .nav-links a.active {
  color: #000;
  background: transparent;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #1e293b;
}

/* --- 7. Hero Section --- */
.hero {
  min-height: 100vh;
  margin-top: 0;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 160px; /* Push content down to avoid massive header */
  background-image: linear-gradient(rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.7)), url('assets/dark_networking_hero_bg.png');
  background-size: cover;
  background-position: center;
}

.hero::before {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 4px 10px rgba(0, 0, 0, 0.6);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8), 0 2px 5px rgba(0, 0, 0, 0.5);
  font-weight: 500;
}

.hero-btns {
  display: flex;
  gap: 1rem;
}

/* --- 8. About Us --- */
.about {
  padding: var(--section-pad);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.about-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.about-list i {
  color: var(--accent-cyan);
}

/* --- 9. Services --- */
.services {
  padding: var(--section-pad);
  background: var(--bg-main);
}

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.service-features li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features li::before {
  content: "▹";
  color: var(--accent-cyan);
}

/* --- 10. Process & Industries --- */
.process {
  padding: var(--section-pad);
}

.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 4rem;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--border-subtle);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
}

.step-icon {
  width: 80px;
  height: 80px;
  background: var(--bg-main);
  border: 2px solid var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  font-size: 1.5rem;
  color: var(--text-main);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
}

.process-step h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0 1rem;
}

/* --- 11. Project Showcase --- */
.showcase {
  padding: var(--section-pad);
  background: #F8FAFC;
}

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,255,255,0.95), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-img {
  transform: scale(1.05);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay h3 {
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

/* --- 12. Contact --- */
.contact {
  padding: var(--section-pad);
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  gap: 1rem;
}

.form-input {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-body);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

/* --- 13. Footer & WhatsApp --- */
footer {
  background: #F8F9FA;
  padding: 4rem 0 2rem 0;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-about p {
  color: var(--text-muted);
  margin-top: 1rem;
  font-size: 0.9rem;
}

.footer-links h4 {
  margin-bottom: 1.5rem;
}

.footer-links ul li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-blue);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 100;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* --- 14. Utilities & Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- 15. Responsive --- */
@media (max-width: 992px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; gap: 2rem; }
  .process-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 4rem 0;
  }
  .container {
    padding: 0 1.25rem;
  }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn { text-align: center; width: 100%; }
  
  .glass-card { padding: 1.5rem; }
  .glass-card[style] { padding: 2rem 1.5rem !important; }
  
  .about-grid { gap: 2rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-group { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  
  header {
    padding: 0;
  }
  
  .nav-container, header.scrolled .nav-container {
    padding: 0.5rem 1.5rem;
    border-radius: 0;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.85);
  }
  
  .nav-container .logo {
    height: 45px;
    overflow: hidden;
  }
  
  .logo-img {
    height: 144px;
    margin-top: 10px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    flex-direction: column;
    padding: 1.5rem;
    text-align: center;
    border: none;
    border-bottom: 1px solid var(--border-subtle);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    z-index: 999;
  }

  .nav-links.show {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }
}

@media (max-width: 480px) {
  .client-logos > div {
    width: 100% !important;
    max-width: 220px;
    height: auto !important;
    padding: 1rem !important;
    aspect-ratio: 220 / 120;
  }
  .client-logos img {
    height: auto !important;
    max-height: 70px !important;
  }
}
