:root {
  --primary-color: #2980B9;
  --secondary-color: #16A085;
  --accent-color: #577BC1;
  --light-color: #EAE4D5;
  --dark-color: #000957;
  --gradient-primary: linear-gradient(135deg, #2980B9 0%, #16A085 100%);
  --hover-color: #2471A3;
  --background-color: #B6B09F;
  --text-color: #4B5563;
  --border-color: rgba(41, 128, 185, 0.2);
  --divider-color: rgba(22, 160, 133, 0.1);
  --shadow-color: rgba(22, 160, 133, 0.15);
  --highlight-color: #ECE852;
  --main-font: 'Oswald', sans-serif;
  --alt-font: 'Lato', serif;
}

/* Загальні стилі */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--alt-font);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

/* Header стилі */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

.logo img {
  height: 42px;
  width: auto;
}

/* Гамбургер меню */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  margin: 3px 0;
  transition: 0.3s;
}

.navigation ul {
  list-style: none;
  display: flex;
  gap: 1.8rem;
}

.navigation a {
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

/* Neomorphism стилі */
.neomorphism {
  background: var(--light-color);
  border-radius: 18px;
  box-shadow:
    9px 9px 18px var(--shadow-color),
    -9px -9px 18px rgba(255, 255, 255, 0.4);
}

.neomorphism-inset {
  background: var(--light-color);
  border-radius: 18px;
  box-shadow:
    inset 9px 9px 18px var(--shadow-color),
    inset -9px -9px 18px rgba(255, 255, 255, 0.4);
}

/* Hero секція */
.hero {
  background: url('./img/bg.jpg') center/cover no-repeat fixed;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 9, 87, 0.45);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 2rem;
}

.hero h1 {
  font-family: var(--main-font);
  font-size: 3.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  letter-spacing: 1px;
}

/* Features секція */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2.2rem;
  padding: 2rem 0;
}

.feature-item {
  padding: 2.2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-6px);
}

.feature-icon {
  font-size: 3.2rem;
  margin-bottom: 1.2rem;
  color: var(--primary-color);
}

/* CTA секції */
.cta-section {
  background: url('./img/bg.jpg') center/cover no-repeat fixed;
  position: relative;
  padding: 4.5rem 0;
  text-align: center;
  color: white;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 9, 87, 0.65);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Форма */
.contact-form {
  background: var(--background-color);
  padding: 2.2rem;
  border-radius: 18px;
  max-width: 520px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.1rem;
  border: 2px solid var(--border-color);
  border-radius: 11px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--light-color);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.1);
}

.btn-primary {
  padding: 1.1rem 2.2rem;
  border: none;
  border-radius: 11px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

/* Footer */
footer {
  background: var(--dark-color);
  color: white;
  padding: 2.2rem 0;
}

footer .logo img {
  filter: brightness(0) invert(1);
}

/* Адаптивні стилі */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
  }

  .navigation ul {
    flex-direction: column;
    padding: 1rem;
  }

  #menu-toggle:checked+.hamburger+.navigation {
    display: block;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .two-column {
    flex-direction: column;
  }

  .contact-section {
    flex-direction: column;
  }
}