/* ============================================
   ITSupport - Dark Professional Website
   Theme: Deep Black & Bold Red
   ============================================ */

:root {
  /* Deep Black Colors */
  --primary-dark: #0d0d0d;
  --primary-dark-2: #1a1a1a;
  --primary-dark-3: #262626;
  --primary-dark-4: #323232;
  --primary-red: #e63946;
  --primary-red-dark: #c41e3a;
  --primary-red-light: #ff5757;
  
  /* Text Colors */
  --text-light: #d0d0d0;
  --text-lighter: #a0a0a0;
  --text-dark: #ffffff;
  
  /* Borders */
  --border-dark: #404040;
  
  /* Status Colors */
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
  --info: #17a2b8;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  
  /* Typography */
  --font-family-base: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-family-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-family-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.125rem;
  --font-size-h1: 3.5rem;
  --font-size-h2: 2.5rem;
  --font-size-h3: 1.75rem;
  --line-height-base: 1.7;
  --line-height-heading: 1.2;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.15s ease-out;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(230, 57, 70, 0.1);
  --shadow-md: 0 8px 24px rgba(230, 57, 70, 0.15);
  --shadow-lg: 0 16px 48px rgba(230, 57, 70, 0.2);
  --shadow-red: 0 8px 24px rgba(230, 57, 70, 0.3);
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-light);
  background: #0a0a0a;
  overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  line-height: var(--line-height-heading);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}

h1 {
  font-size: var(--font-size-h1);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-dark);
}

h2 {
  font-size: var(--font-size-h2);
  color: var(--text-dark);
  font-weight: 800;
}

h3 {
  font-size: var(--font-size-h3);
  color: var(--text-dark);
}

p {
  margin: 0 0 1rem 0;
  color: var(--text-light);
  letter-spacing: 0.3px;
}

a {
  color: var(--primary-red);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-red-light);
  text-decoration: underline;
}

ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-sm {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

.row.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.row.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Margin Utilities */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-lg { margin-top: 2rem; }
.mt-xl { margin-top: 3rem; }
.mt-2xl { margin-top: 4rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-lg { margin-bottom: 2rem; }
.mb-xl { margin-bottom: 3rem; }
.mb-2xl { margin-bottom: 4rem; }

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

.hidden {
  display: none !important;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
  border-bottom: 3px solid var(--primary-red);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -1px;
}

.logo span {
  color: var(--text-dark);
}

.logo strong {
  color: var(--primary-red);
}

nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 0;
  margin: 0;
  padding: 0;
}

nav li {
  margin: 0;
}

nav a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: var(--transition-fast);
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 3px;
  background: var(--primary-red);
  border-radius: 2px;
  opacity: 0;
  transition: var(--transition-fast);
}

nav a:hover,
nav a.active {
  background: rgba(230, 57, 70, 0.15);
  color: var(--primary-red);
}

nav a.active::after {
  opacity: 1;
}

/* Language Switcher */
.language-switcher {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.language-switcher button {
  background: transparent;
  border: 2px solid var(--primary-red);
  color: var(--primary-red);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.language-switcher button:hover,
.language-switcher button.active {
  background: var(--primary-red);
  color: #fff;
  box-shadow: 0 4px 16px rgba(230, 57, 70, 0.4);
}

/* Mobile Navigation Toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--primary-red);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
  border-bottom: 3px solid var(--primary-red);
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container-sm {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: var(--text-dark);
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.btn-primary {
  background: var(--primary-red);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--primary-red-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(230, 57, 70, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-red);
  border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
  background: var(--primary-red);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
}

.btn-block {
  width: 100%;
}

/* ============================================
   CARDS
   ============================================ */

.card {
  background: linear-gradient(135deg, #1a1a1a 0%, #262626 100%);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
  border: 1px solid var(--border-dark);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-red);
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  box-shadow: 0 12px 40px rgba(230, 57, 70, 0.25);
  transform: translateY(-6px);
}

.card:hover::before {
  opacity: 1;
}

.card-header {
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
  color: #fff;
  padding: var(--spacing-lg);
  border-bottom: 1px solid var(--border-dark);
}

.card-header h3 {
  color: var(--primary-red);
  font-weight: 700;
  margin: 0;
}

.card-body {
  padding: var(--spacing-lg);
  color: var(--text-light);
}

.card-footer {
  background-color: var(--primary-dark-3);
  border-top: 1px solid var(--border-dark);
  padding: var(--spacing-lg);
}

/* Service Card with Icon */
.service-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #262626 100%);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border-dark);
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: var(--primary-red);
  opacity: 0;
  border-radius: 50%;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(230, 57, 70, 0.3);
  border-color: var(--primary-red);
}

.service-card:hover::before {
  opacity: 0.08;
}

.service-icon {
  font-size: 2.5rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.service-card h3 {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0;
  position: relative;
  z-index: 1;
}

.service-card p {
  color: var(--text-light);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.contact-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #262626 100%);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  border: 1px solid var(--border-dark);
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 300px;
  height: 300px;
  background: var(--primary-red);
  opacity: 0;
  border-radius: 50%;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 56px rgba(230, 57, 70, 0.35);
  border-color: var(--primary-red);
}

.contact-card:hover::before {
  opacity: 0.08;
}

.contact-icon {
  font-size: 3.5rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-card h3 {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0;
  position: relative;
  z-index: 1;
}

.contact-card p {
  color: var(--text-light);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.contact-card p.hours {
  color: var(--primary-red);
  font-weight: 700;
  font-size: 1.2rem;
}

.contact-link {
  color: var(--primary-red);
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
  transition: var(--transition-fast);
  display: inline-block;
  padding: 0.75rem 0;
  position: relative;
  z-index: 1;
}

.contact-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-red);
  opacity: 0;
  transition: var(--transition-fast);
}

.contact-link:hover::after {
  opacity: 1;
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
  padding: 4rem 0;
  position: relative;
  background: #0a0a0a;
}

.section-alt {
  background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
  border-top: 2px solid var(--primary-red);
  border-bottom: 2px solid var(--primary-red);
}

section h2 {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1.5rem;
  color: var(--text-dark);
  font-weight: 800;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--primary-red);
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(230, 57, 70, 0.4);
}

/* ============================================
   SERVICE AREA BADGE
   ============================================ */

.service-area {
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.12) 0%, rgba(20, 20, 20, 0.06) 100%);
  border: 2px solid var(--primary-red);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
  backdrop-filter: blur(10px);
}

.service-area h4 {
  color: var(--primary-red);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-area p {
  color: var(--text-light);
  margin: 0.5rem 0;
  font-weight: 600;
}

.service-area .location {
  color: var(--primary-red);
  font-weight: 700;
  font-size: 1.1rem;
}

.service-area .remote {
  color: var(--text-dark);
  font-weight: 700;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: linear-gradient(180deg, #0d0d0d 0%, #000000 100%);
  color: var(--text-light);
  padding: 3rem 0 1rem;
  border-top: 3px solid var(--primary-red);
}

footer .container {
  margin-bottom: 2rem;
}

footer h4 {
  color: var(--primary-red);
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

footer p {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

footer a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition-fast);
}

footer a:hover {
  color: var(--primary-red);
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer li {
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

footer hr {
  border: none;
  border-top: 1px solid rgba(230, 57, 70, 0.3);
  margin: 2rem 0;
}

footer .text-center p {
  color: var(--text-lighter);
  font-size: 0.9rem;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */

.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary-red);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(230, 57, 70, 0.4);
  z-index: 999;
}

.scroll-to-top:hover {
  background: var(--primary-red-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(230, 57, 70, 0.5);
}

.scroll-to-top:not(.hidden) {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
  margin-bottom: var(--spacing-lg);
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--text-light);
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

input,
textarea,
select {
  width: 100%;
  padding: var(--spacing-md);
  border: 2px solid var(--border-dark);
  border-radius: 8px;
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  transition: var(--transition-fast);
  background-color: var(--primary-dark-3);
  color: var(--text-light);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
}

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

input::placeholder,
textarea::placeholder {
  color: var(--text-lighter);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .row.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --font-size-h1: 2.5rem;
    --font-size-h2: 1.75rem;
    --spacing-2xl: 2rem;
  }

  nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 100%);
    flex-direction: column;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
    z-index: 999;
  }

  nav.active {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  nav a {
    color: var(--text-light);
  }

  .nav-toggle {
    display: block;
  }

  .container {
    padding: 0 var(--spacing-lg);
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: var(--font-size-base);
  }

  .row {
    grid-template-columns: 1fr;
  }

  .row.cols-2,
  .row.cols-3 {
    grid-template-columns: 1fr;
  }

  section h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-2xl: 1.5rem;
    --font-size-h1: 1.5rem;
    --font-size-h2: 1.25rem;
    --font-size-h3: 1.1rem;
  }

  .hero {
    padding: 2rem 0;
    min-height: 400px;
  }

  .btn {
    padding: 0.75rem 1.5rem;
  }

  footer .row.cols-3 {
    grid-template-columns: 1fr;
  }

  .service-area {
    padding: 1rem;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.error {
  border-color: var(--danger) !important;
}

.form-error {
  color: var(--danger);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: block;
}

.form-success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary-red);
  color: #fff;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-danger {
  background: var(--primary-red);
}

.badge-success {
  background: var(--success);
}
