/* Critical CSS - Above the fold styles */
/* CSS Variables */
:root {
  --primary-color: #FF5722;
  --secondary-color: #2196F3;
  --accent-color: #4CAF50;
  --text-dark: #212121;
  --text-light: #666666;
  --bg-light: #F5F5F5;
  --bg-white: #FFFFFF;
  --border-radius: 8px;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 20px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
}

/* Reset and base styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

/* Skip to content link for accessibility */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-to-content:focus {
  top: 0;
}

/* Header styles */
.header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.header-top {
  background-color: var(--text-dark);
  color: white;
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.header-top-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-contact a {
  color: white;
  text-decoration: none;
  margin-left: 1rem;
}

.header-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 1.5rem;
  font-weight: bold;
}

.logo img {
  height: 40px;
  width: auto;
  margin-right: 0.5rem;
}

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

.nav-list {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover, .nav-link:focus {
  color: var(--primary-color);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* Hero section */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(33,150,243,0.9) 0%, rgba(255,87,34,0.9) 100%), url('../images/hero-bg.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

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

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
  min-width: 44px;
  min-height: 44px;
}

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

.btn-primary:hover, .btn-primary:focus {
  background-color: #E64A19;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover, .btn-secondary:focus {
  background-color: rgba(255,255,255,0.9);
  transform: translateY(-2px);
}

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

/* Desktop navigation */
@media (min-width: 768px) {
  .nav {
    display: block;
  }

  .mobile-menu-toggle {
    display: none;
  }

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

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

@media (min-width: 1024px) {
  .hero {
    min-height: 600px;
  }
}
