/* styles.css */
:root {
  --primary-color: #0A192F; /* Глубокий синий */
  --accent-color: #FF6B00;  /* Сигнальный оранжевый */
  --text-color: #333333;
  --light-bg: #F4F6F8;
  --white: #FFFFFF;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--white);
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Header & Nav */
header {
  background-color: var(--primary-color);
  padding: 1rem 5%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

header.scrolled {
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  padding: 0.5rem 5%;
}

.logo a {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  text-decoration: none;
  font-weight: 800;
}

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

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

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

/* Buttons */
.btn {
  background-color: var(--accent-color);
  color: var(--white);
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  transition: background 0.3s, transform 0.2s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #E65A00;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.8)), url('https://images.unsplash.com/photo-1632759145355-66774fdbaf74?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  margin-top: 60px; /* Offset for header */
}

.hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  max-width: 900px;
}

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

/* Section Common */
.section {
  padding: 5rem 5%;
}

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

/* Cards Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

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

input, select, textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: var(--font-body);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 3rem 5%;
  text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* In a real project, add a hamburger menu toggle */
  }
  .hero h1 {
    font-size: 2.2rem;
  }
}