/* Generated by Gemini 2.5 Flash */

/* === БАЗОВІ КОЛЬОРИ === */
:root {
  --bg-light: #F6F4F5;
  --accent-pink: #E7DADF;
  --accent-turquoise: #C3E5E2;
  --text-dark: #2F2F2F;
  --text-gray: #5A6A6C; 
  --brand-color: #C3E5E2;
}

/* === БАЗОВІ НАЛАШТУВАННЯ === */
body {
  margin: 0;
  font-family: "Inter", "Lora", sans-serif;
  background: linear-gradient(rgba(246, 244, 245, 0.92), rgba(246, 244, 245, 0.92)), url("organic-pattern.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed; 
  color: var(--text-dark);
  line-height: 1.6;
}

/* === КОНТЕЙНЕР === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === HEADER === */
.header {
  position: sticky; 
  top: 0;
  z-index: 100;
  padding: 22px 0;
  background-image: url("organic-pattern.jpg");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6); 
  backdrop-filter: blur(12px); 
  -webkit-backdrop-filter: blur(12px);
  z-index: -1; 
}

.header-inner {
  position: relative;
  z-index: 2; 
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-dark);
}

.nav {
  display: flex;
  align-items: center;
}

.nav a {
  margin-left: 32px;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 16px;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--accent-turquoise);
}

.header.scrolled {
  padding: 15px 0; 
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.header.scrolled::before {
  background: rgba(255, 255, 255, 0.85); 
}

/* === ЛЕЙАУТ СЕКЦІЙ (HERO ТА ABOUT) === */
.hero-inner,
.about-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.hero-text,
.about-text {
  flex: 1;
}

/* === HERO === */
.hero {
  padding: 80px 0;
  background: transparent; 
}

.hero h1 {
  font-size: 44px;
  margin-bottom: 20px;
  color: var(--text-dark);
  line-height: 1.2;
}

.hero p {
  font-size: 20px;
  color: var(--text-gray);
  max-width: 600px;
  margin-bottom: 30px;
}

/* === КНОПКИ === */
.btn-primary {
  display: inline-block;
  background: var(--accent-turquoise);
  color: var(--text-dark);
  padding: 16px 32px;
  border-radius: 30px; 
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(195, 229, 226, 0.6); 
  text-align: center;
}

.btn-primary:hover {
  background: #A8D1CE; 
  transform: translateY(-2px); 
  box-shadow: 0 6px 16px rgba(195, 229, 226, 0.9); 
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text-dark);
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-turquoise);
  text-align: center;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(195, 229, 226, 0.2);
  transform: translateY(-2px);
}

.action-buttons-vertical {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
  max-width: 320px;
}

/* === СПИСОК ЕКСПЕРТНОСТІ === */
.expertise-list {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.expertise-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--text-dark);
  font-weight: 500;
}

.expertise-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #3b8882; /* Темніший колір для контрасту галочки */
  font-weight: bold;
  font-size: 18px;
}

/* === СЕКЦІЇ === */
.work-with,
.about {
  padding: 80px 0;
}

/* === КАРТКИ === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.card {
  background: #fff;
  padding: 30px 25px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  border-top: 4px solid var(--accent-turquoise); 
  height: 100%;
  box-sizing: border-box;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08); 
  border-top-color: var(--accent-pink); 
}

/* === PHOTO BLOCKS === */
.hero-photo,
.about-photo {
  flex: 1;
  width: 100%;
  max-width: 500px;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.hero-photo img,
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top; 
  border-radius: 20px;
  display: block;
}

/* === FOOTER === */
footer {
  position: relative;
  z-index: 1;
  background-image: url("organic-pattern.jpg");
  background-size: cover;
  background-position: center;
  color: var(--text-dark);
  text-align: center;
  padding: 40px 0;
  font-size: 15px;
  margin-top: 40px;
  border-top: 1px solid rgba(0,0,0,0.05);
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7); 
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: -1;
}

footer .container {
  position: relative;
  z-index: 2;
}

footer .social-links {
  margin-top: 15px;
}

footer .social-links a {
  text-decoration: none;
  color: var(--text-dark); 
  margin: 0 10px;
  transition: color 0.2s ease;
  font-weight: 500;
}

footer .social-links a:hover {
  color: #3b8882; 
}

/* === BURGER MENU === */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 101;
}

.burger span {
  width: 25px;
  height: 2px;
  background: var(--text-dark);
  transition: 0.3s;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === MOBILE NAV === */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 20px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  box-shadow: 0 10px 15px rgba(0,0,0,0.05);
  box-sizing: border-box;
  z-index: 99;
}

.mobile-nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 500;
}

.mobile-nav.open {
  display: flex;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .burger {
    display: flex;
  }
  .hero {
    padding: 40px 0;
  }
  .work-with,
  .about {
    padding: 50px 0;
  }
  .hero-inner,
  .about-inner {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero-photo,
  .about-photo {
    max-width: 100%;
    height: 350px;
    margin-top: 10px;
  }
  .action-buttons-vertical {
    margin: 30px auto 0 auto; /* Центруємо кнопки на мобільному */
    align-items: center;
  }
  .expertise-list li {
    text-align: left; /* Залишаємо текст списку вирівняним по лівому краю для читабельності */
  }
}