/* Yorka Services - Professional B2B Website Styles */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  /* Elegant professional B2B palette */
  --primary: #1e3a5f;
  --primary-light: #2d5a8f;
  --primary-dark: #0f1f3f;
  --accent: #0891b2;
  --accent-light: #06b6d4;
  --background: #ffffff;
  --foreground: #1a1a2e;
  --muted: #f5f5f7;
  --muted-foreground: #6b7280;
  --border: #e5e7eb;
  --radius: 0.5rem;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
}

html {
  scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (min-width: 768px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 1.75rem; }
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

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

.logo-icon {
  display: none;
}

.nav-menu {
  display: none;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .nav-menu { display: flex; }
}

.nav-menu a {
  color: var(--foreground);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.nav-menu a:hover {
  background: var(--muted);
  color: var(--primary);
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
  margin-top: 0.5rem;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: calc(var(--radius) - 2px);
  transition: background 0.2s ease;
}

.dropdown-item:hover {
  background: var(--muted);
}

.dropdown-item-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.dropdown-item-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.4;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-menu-toggle { display: none; }
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  background: white;
}

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

.mobile-menu a {
  display: block;
  padding: 0.875rem 1rem;
  color: var(--foreground);
  font-weight: 500;
  border-radius: var(--radius);
  margin: 0.25rem 0;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-menu a:hover {
  background: var(--muted);
  padding-left: 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
  transition: left 0.4s ease;
}

.btn-primary:hover::before {
  left: 0;
}

.btn-primary:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.4);
}

.btn-primary * {
  position: relative;
  z-index: 1;
}

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

.btn-outline:hover {
  background: var(--muted);
  border-color: var(--primary);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.95) 0%, rgba(15, 31, 63, 0.98) 100%);
  padding: 5rem 0;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/hero-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}

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

@media (min-width: 768px) {
  .hero { padding: 8rem 0; }
}

.hero-content {
  max-width: 48rem;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* Sections */
section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  section { padding: 6rem 0; }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

.section-alt {
  background: linear-gradient(180deg, rgba(245, 245, 247, 0.3) 0%, rgba(255, 255, 255, 1) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

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

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Cards */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  box-shadow: 0 20px 60px rgba(30, 58, 95, 0.15);
  transform: translateY(-8px);
  border-color: var(--accent);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card-icon-primary {
  background: rgba(30, 58, 95, 0.1);
  color: var(--primary);
}

.card-icon-accent {
  background: rgba(8, 145, 178, 0.1);
  color: var(--accent);
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

.card-link:hover {
  color: var(--accent);
}

/* Feature List */
.feature-list {
  list-style: none;
  margin: 1rem 0;
}

.feature-list li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.feature-list .icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  margin-top: 0.25rem;
}

/* Stats */
.stats {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.stat-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

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

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

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

.form-error {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Contact Info */
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: var(--radius);
  background: rgba(30, 58, 95, 0.1);
  color: var(--primary);
}

.contact-icon.accent {
  background: rgba(8, 145, 178, 0.1);
  color: var(--accent);
}

.contact-info-content h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-info-content p {
  color: var(--muted-foreground);
  margin: 0;
}

/* Footer */
.footer {
  background: rgba(245, 245, 247, 0.5);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer h3 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
}

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

.footer ul a {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer ul a:hover {
  color: var(--foreground);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

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

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-muted { color: var(--muted-foreground); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }


/* Additional Visual Enhancements */
.section-header h2 {
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

/* Stats Enhancement */
.stats {
  position: relative;
}

.stats::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  opacity: 0.05;
  border-radius: 50%;
  z-index: -1;
}

.stat-number {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Service Cards with Images */
.service-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  transition: transform 0.4s ease;
}

.card:hover .service-card-image {
  transform: scale(1.05);
}

/* Enhanced Buttons */
.btn {
  position: relative;
  z-index: 1;
}

.btn svg {
  transition: transform 0.3s ease;
}

.btn:hover svg {
  transform: translateX(4px);
}

/* Feature List Enhancement */
.feature-list li {
  transition: transform 0.2s ease;
}

.feature-list li:hover {
  transform: translateX(4px);
}

/* Navbar Enhancement */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Footer Enhancement */
.footer {
  background: linear-gradient(180deg, rgba(245, 245, 247, 0.5) 0%, rgba(255, 255, 255, 1) 100%);
}

/* Accent Line */
.accent-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 1rem 0;
}

/* Comprehensive Mobile Responsive Design */
@media (max-width: 768px) {
  /* Typography */
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1.1rem; }

  /* Container */
  .container {
    padding: 0 1rem;
  }

  /* Hero Section */
  .hero {
    padding: 3rem 0;
  }

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

  .hero p {
    font-size: 1rem;
    padding: 0 0.5rem;
  }

  /* Sections */
  .section {
    padding: 2.5rem 0;
  }

  .section-alt {
    padding: 2.5rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

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

  .section-header p {
    font-size: 0.9rem;
    padding: 0 0.5rem;
  }

  /* Grids */
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  /* Cards */
  .card {
    padding: 1.5rem;
  }

  .service-card-image {
    height: 180px;
  }

  /* Stats */
  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.875rem;
  }

  /* Logo */
  .logo img {
    height: 32px;
  }

  .logo span {
    font-size: 1rem;
  }

  /* Buttons */
  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    width: 100%;
  }

  .hero .btn {
    width: 100%;
    max-width: 300px;
  }

  /* Navigation */
  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .mobile-menu.active {
    display: flex;
  }

  /* Dropdown */
  .dropdown-content {
    position: static;
    box-shadow: none;
    padding: 0;
    margin-top: 0.5rem;
  }

  /* Contact Info */
  .contact-info-item {
    flex-direction: row;
    align-items: flex-start;
  }

  .contact-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  /* Footer */
  .footer {
    padding: 2rem 0 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Forms */
  .form-input,
  .form-textarea,
  .form-select {
    font-size: 16px; /* Prevents zoom on iOS */
  }

  /* Card Icons */
  .card-icon {
    width: 3rem;
    height: 3rem;
  }

  /* Feature List */
  .feature-list {
    font-size: 0.9rem;
  }

  /* Why Choose Cards */
  .why-choose-card {
    padding: 1.5rem;
  }

  /* Hero Background */
  .hero::before {
    opacity: 0.2;
  }

  /* Section Header Underline */
  .section-header h2::after {
    width: 40px;
    height: 3px;
  }
}

/* Extra Small Devices */
@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.1rem; }

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

  .hero p {
    font-size: 0.9rem;
  }

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

  .stat-number {
    font-size: 1.75rem;
  }

  .card {
    padding: 1.25rem;
  }

  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}
