/* Main CSS styles for test web project */
:root {
  --primary-color: #3a86ff;
  --secondary-color: #8ecae6;
  --dark-color: #023047;
  --light-color: #f1faee;
}

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

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

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

ul {
  list-style: none;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.menu {
  display: flex;
}

.menu li {
  margin-left: 1rem;
}

.menu a {
  padding: 0.5rem;
}

.menu a:hover {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

/* Hero section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 60vh;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 0 2rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

#cta-btn {
  padding: 0.8rem 2rem;
  background: white;
  color: var(--primary-color);
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  cursor: pointer;
}

/* Features section */
.features {
  padding: 4rem 2rem;
}

.features h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature {
  background: white;
  padding: 2rem;
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.feature h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background: var(--dark-color);
  color: white;
  text-align: center;
  padding: 2rem;
}

/* Media queries */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
}
