/* REPAIR PAGE - PROFESSIONAL COMMAND CENTER */
/*----------------------------------------------*/

:root {
  /* ADD THIS LINE BELOW TO FIX NAVBAR/FOOTER */
  --accent-color: #00cce7;

  --neon-cyan: #00cce7;
  --neon-blue: #2d5bf3;
  --deep-black: #050505;
  --panel-bg: #0f0f0f;
  --panel-border: 1px solid #333;
  --text-main: #ffffff;
  --text-dim: #b0b0b0;
}

body {
  background-color: var(--deep-black);
  color: var(--text-main);
  font-family: 'Nunito Sans', sans-serif;
  
  /* ADDED TO MATCH INDEX.HTML */
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75rem;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
}

/* HERO SECTION - Image restricted here only */
#repair-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.9)), url('../images/banner-support.webp') no-repeat center center;
  background-size: cover;
  border-bottom: 2px solid var(--neon-cyan);
}

.hero-title {
  font-size: 3.5rem;
  text-shadow: 0 0 20px rgba(0, 204, 231, 0.6);
  margin-bottom: 1rem;
}

/* DIAGNOSTIC GRID */
.diag-card {
  background-color: var(--panel-bg);
  border: var(--panel-border);
  padding: 30px 20px;
  text-align: center;
  border-radius: 8px;
  transition: all 0.3s ease;
  height: 100%;
  cursor: pointer;
}

.diag-card:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 204, 231, 0.2);
  transform: translateY(-5px);
}

.diag-icon {
  font-size: 3rem;
  color: var(--neon-cyan);
  margin-bottom: 15px;
}

/* UNIFIED SERVICE MODULES (Desktop & Laptop) */
.tech-module {
  background-color: var(--panel-bg);
  border: var(--panel-border);
  border-radius: 8px;
  padding: 0;
  /* Reset padding for header/body split */
  height: 100%;
  overflow: hidden;
  position: relative;
}

/* Decorative top bar */
.tech-module::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--neon-cyan);
}

.tech-module.laptop-variant::before {
  background: #d63384;
  /* Pink accent for laptop distinction */
}

.module-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 20px 25px;
  border-bottom: 1px solid #222;
}

.module-header h3 {
  margin: 0;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}

.module-body {
  padding: 25px;
}

/* List Styling */
.tech-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tech-list li {
  margin-bottom: 20px;
  padding-left: 15px;
  border-left: 2px solid #333;
  transition: all 0.3s;
}

.tech-list li:hover {
  border-left-color: var(--neon-cyan);
  padding-left: 20px;
}

.tech-list h5 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: #fff;
}

.tech-list p {
  font-size: 0.9rem;
  color: #c3c3c3;
  margin: 0;
}

/* Laptop Grid Items */
.grid-item {
  background: #111;
  border: 1px solid #222;
  padding: 15px;
  text-align: center;
  border-radius: 6px;
  transition: border 0.3s;
}

.grid-item:hover {
  border-color: #d63384;
}

/* PRICING TABLE (Readable) */
.price-table-container {
  background-color: var(--panel-bg);
  border: var(--panel-border);
  border-radius: 8px;
  padding: 30px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #222;
  transition: background 0.2s;
}

.price-row:last-child {
  border-bottom: none;
}

.price-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.service-name {
  font-size: 1.1rem;
  color: #e0e0e0;
  font-weight: 600;
}

.service-cost {
  font-family: 'Nunito Sans', sans-serif; /* Changed from Oswald to Nunito Sans */
  font-size: 1.3rem;
  color: var(--accent-color);
  font-weight: 800; /* Extra bold to keep it punchy */
  letter-spacing: 0.5px; /* Adds a tiny bit of space between numbers */
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

/* Update Grid Item to handle hover better */
.grid-item {
  background: #111;
  border: 1px solid #222;
  padding: 15px;
  text-align: center;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.grid-item:hover {
  border-color: var(--accent-color); /* Uses the variable we just fixed */
  background: #1a1a1a;
  transform: translateY(-2px);
}

/* Laptop specific hover color */
.laptop-variant .grid-item:hover {
  border-color: #d63384;
}

/* New Price Tag Style */
.price-tag {
    display: block;
    margin-top: 5px;
    font-size: 0.8rem;
    color: #888;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
}

.grid-item:hover .price-tag {
    color: #fff;
}

/* --- FIX: FONT READABILITY UPDATES --- */

/* 1. Make the Service Names (Battery, Screen, etc.) much bigger */
.grid-item .small {
    font-size: 1.2rem !important; /* Increased from 0.8rem */
    font-family: 'Oswald', sans-serif; /* Switch to the "strong" font */
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #ffffff !important; /* Pure white */
    margin-top: 5px;
    text-transform: uppercase; /* Makes it look like a proper label */
}

/* 2. Make the Price Tag bright Cyan and larger */
.price-tag {
    font-size: 1.1rem !important; /* Increased size */
    color: var(--accent-color) !important; /* Make it NEON CYAN instead of grey */
    font-weight: 700;
    margin-top: 5px;
    font-family: 'Nunito Sans', sans-serif;
}

/* 3. Make the Icons slightly larger to match the new text size */
.grid-item iconify-icon.h3 {
    font-size: 2.5rem !important;
    margin-bottom: 10px !important;
}

/* 4. Fix the "Other Repair Services" button specifically */
.col-12 .grid-item .small {
    font-size: 1.3rem !important; /* Make the bottom button even bigger */
    font-weight: 700;
}

/* 3. Fix the "Other Repair Services" (Dashed Box) Hover */
/* This ensures it doesn't flash brightly either */
.col-12 .grid-item {
    transition: all 0.3s ease;
    background-color: transparent;
    border: 1px dashed #444;
}

.col-12 .grid-item:hover {
    border-color: var(--accent-color);
    background-color: rgba(0, 204, 231, 0.05); /* Very subtle tint, not bright */
    box-shadow: 0 0 15px rgba(0, 204, 231, 0.1);
}