/* ================================================
   DOMINION CITY GLOBAL SERVICES - MAIN STYLESHEET
   Modern Industrial Design System
   ================================================ */

/* ============ ROOT VARIABLES ============ */
:root {
  --primary-dark: #0f3b5b;      /* Deep blue */
  --primary-light: #1a5f8f;     /* Light blue */
  --accent-orange: #ff8c42;     /* Professional orange */
  --neutral-dark: #2c3e50;      /* Dark grey */
  --neutral-light: #ecf0f1;     /* Light grey */
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-light: #555555;
  --success: #27ae60;
  --warning: #f39c12;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s ease-in-out;
}

/* ============ GLOBAL STYLES ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--white);
}

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

a:hover {
  color: var(--accent-orange);
}

/* ============ TYPOGRAPHY ============ */
h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  text-align: center;
}

h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--neutral-dark);
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.8rem;
}

h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--neutral-dark);
}

p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1rem;
}

small {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 0.375rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  font-size: 1rem;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary-dark);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--accent-orange);
  color: var(--white);
}

.btn-secondary:hover {
  background: #ff7a1f;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.btn-small {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* ============ CONTAINER & LAYOUT ============ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section.light-bg {
  background: var(--neutral-light);
}

.section.dark-bg {
  background: var(--primary-dark);
  color: var(--white);
}

.section.dark-bg h2 {
  color: var(--white);
}

.section.dark-bg h3 {
  color: var(--neutral-light);
}

.section.dark-bg p {
  color: rgba(255, 255, 255, 0.9);
}

/* ============ HEADER & NAVIGATION ============ */
header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  line-height: 1;
}

.logo img {
  width: 110px;
  height: auto;
  display: block;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--accent-orange);
}

nav a.active {
  color: var(--accent-orange);
  border-bottom: 2px solid var(--accent-orange);
  padding-bottom: 0.25rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary-dark);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ============ HERO SECTION ============ */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 140, 66, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 140, 66, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  animation: slideUp 0.8s ease-out;
}

.hero h1 {
  color: var(--white);
  font-size: 4rem;
  margin-bottom: 1rem;
}

.hero .subheading {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero .btn {
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}

/* ============ FEATURES GRID ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  border-top: 4px solid var(--accent-orange);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.feature-card h3 {
  color: var(--primary-dark);
}

/* ============ SERVICE CARDS ============ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin: 3rem 0;
}

.service-card {
  background: var(--white);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 2rem;
  text-align: center;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.service-header-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.service-header h3 {
  color: var(--white);
  margin: 0;
}

.service-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-body p {
  margin-bottom: 1rem;
}

.service-benefits {
  margin-top: auto;
}

.service-benefits h5 {
  color: var(--accent-orange);
  margin-bottom: 1rem;
}

.service-benefits ul {
  list-style: none;
  padding: 0;
}

.service-benefits li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-light);
}

.service-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-weight: bold;
}

/* ============ INDUSTRY CARDS ============ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.industry-card {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 0.5rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 140, 66, 0.1);
  transition: var(--transition);
}

.industry-card:hover::before {
  left: 0;
}

.industry-card-content {
  position: relative;
  z-index: 1;
}

.industry-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.industry-card h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.industry-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

/* ============ CONTACT FORM ============ */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--primary-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid var(--neutral-light);
  border-radius: 0.375rem;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

.form-submit .btn {
  min-width: 300px;
}

/* ============ FOOTER ============ */
footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.9);
  padding: 60px 0 20px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-section ul li a:hover {
  color: var(--accent-orange);
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact-icon {
  width: 24px;
  height: 24px;
  background: var(--accent-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.75rem;
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* ============ BREADCRUMB ============ */
.breadcrumb {
  background: var(--neutral-light);
  padding: 1.5rem 0;
  margin-bottom: 3rem;
}

.breadcrumb-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  list-style: none;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
  content: '/';
  margin: 0 0.75rem;
  color: var(--text-light);
}

.breadcrumb-list a {
  color: var(--primary-dark);
}

.breadcrumb-list a:hover {
  color: var(--accent-orange);
}

/* ============ UTILITY CLASSES ============ */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

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

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }

.text-muted {
  color: var(--text-light);
}

.text-accent {
  color: var(--accent-orange);
}

.highlight {
  color: var(--accent-orange);
  font-weight: 600;
}

/* ============ ANIMATIONS ============ */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.4rem;
  }

  .hero {
    padding: 60px 0;
  }

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

  .hero .subheading {
    font-size: 1.1rem;
  }

  .section {
    padding: 60px 0;
  }

  .logo img {
    width: 88px;
    height: auto;
  }

  nav {
    gap: 1rem;
  }

  nav a {
    font-size: 0.85rem;
  }

  .nav-toggle {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 112px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 1rem;
  }

  nav.active {
    display: flex;
  }

  nav a {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--neutral-light);
  }

  .features-grid,
  .service-grid,
  .industry-grid {
    grid-template-columns: 1fr;
  }

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

  .form-submit .btn {
    min-width: 100%;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero .btn {
    width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }

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

  .hero .subheading {
    font-size: 1rem;
  }

  .section {
    padding: 40px 0;
  }

  .header-content {
    padding: 0.75rem 0;
  }

  .logo img {
    width: 74px;
    height: auto;
  }

  .feature-card,
  .service-card,
  .industry-card {
    padding: 1.5rem;
  }

  .service-header {
    padding: 1.5rem;
  }
}
