/* Общий стиль */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0D1117; /* глубокий графит */
    color: #EDEDED;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.logo {
    max-width: 400px;
    height: auto;
    transition: transform 1s ease;

}

.logo:hover {
    transform: scale(1.05); /* Лёгкий zoom при наведении */
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0D1117 0%, #1E2633 100%);
    color: #fff;
    padding: 150px 20px 100px 20px;
    text-align: center;
    position: relative;
}
/* Иллюстрация в hero */
.hero-illustration {
    border-radius: 50%;           /* круг */
    border: 6px solid #58a6ff;    /* акцентная рамка */
    padding: 6px;
    max-width: 420px;             /* увеличиваем размер */
    width: 100%;                  /* адаптивность */
    height: auto;
    margin: 20px auto;
    display: block;
    transition: transform 0.5s ease;
    box-shadow: 0 8px 1000px rgba(0, 0, 0, 100);
}

.hero-illustration:hover {
    transform: scale(1.05);       /* лёгкий zoom при наведении */
}

.hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('/static/img/noise-texture.png') repeat; /* лёгкая текстура */
    opacity: 0.05;
    pointer-events: none;
}

.hero h1 {
    font-size: clamp(1.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: #CFCFCF;
}

.hero .btn {
    padding: 14px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    background: linear-gradient(135deg, #CFAE70, #A98245);
    border: none;
    color: #0D1117;
    transition: all 0.3s ease;
}

.hero .btn:hover {
    background: linear-gradient(135deg, #E1C184, #CFAE70);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(207, 174, 112, 0.4);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;   /* центр на мобильных */
    text-align: center;
}

@media (min-width: 768px) {
    .hero-content {
        align-items: flex-start; /* на десктопе слева */
        text-align: left;
    }
}

/* Заголовки h2 всех секций */
h2 {
    color: #fff;
    font-weight: 700;
    /*text-transform: uppercase;*/  /* оставляем закомментированным, если не нужен верхний регистр */
    letter-spacing: 1px;
    margin-bottom: 1rem;
}
.gold-title {
    color: #CFAE70;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Cases Section */
.cases-section {
    background: linear-gradient(135deg, #0D1117 0%, #1E1E24 100%);
    color: #EDEDED;
}




.case-card h5 {

    font-weight: 600;
    margin-bottom: 15px;
}

.case-card p {
    color: #ccc;
    font-size: 0.95rem;
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.6);
    border-color: #CFAE70;
}


/* Capabilities / Products Section */
.capabilities-section {
    background: linear-gradient(135deg, #0D1117 0%, #1E1E24 100%);
    color: #EDEDED;
}



.capability-card {
    border: 1px solid #2C2F36; /* лёгкий контур, чтобы карточка не сливалась */
    background-color: #1E1E24; /* чуть светлее фона, но тёмно */
    color: #EDEDED;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5); /* тёмный эффект */
}


.capability-icon {
  width: 50px;
  height: auto;
}

/* Зигзаг-секция услуг */
.services-detailed {
  background: #0D1117; /* тот же тёмный фон, что и у остальных секций */
  color: #EDEDED;
}

.services-detailed h4 {
  font-weight: 600;
  margin-bottom: 15px;
}

.services-detailed p {
  color: #cccccc;
}


.img-circle {
  border-radius: 50%;
  object-fit: cover;
  width: 100%;
  max-width: 350px;
  height: 350px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
  display: block;
  margin: 0 auto; /* центрирует внутри колонки */
}
.img-circle:hover {
  transform: scale(1.05);
}


/* Blog Section */
.blog-section {
    background: linear-gradient(135deg, #0D1117 0%, #1E1E24 100%);
    color: #EDEDED;
}

.blog-card {
    border: 1px solid #2C2F36;
    background-color: #1E1E24;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
    border-color: #CFAE70;
}

.blog-card .card-body {
    padding: 20px;
}

.blog-card .card-title {
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

.blog-card .card-text {
    color: #ccc;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

/* Кнопка в блоге */
.btn-blog {
    display: inline-block;
    padding: 10px 25px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    background: linear-gradient(135deg, #CFAE70, #A98245);
    border: none;
    color: #0D1117;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-blog:hover {
    background: linear-gradient(135deg, #E1C184, #CFAE70);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(207, 174, 112, 0.3);
}



/* Contact Form – единый стиль для всех полей */
.contact-form input,
.contact-form textarea,
.contact-form select.form-select {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #1E2633;
    color: #fff; /* основной текст */
    padding: 12px;
    transition: all 0.3s;
    appearance: none; /* убираем стандартную стрелку для select */
}

/* Placeholder / подсказка */
.contact-form input::placeholder,
.contact-form textarea::placeholder,
.contact-form select.form-select option[value=""],
.contact-form select.form-select:invalid {
    color: #888;
}

/* Hover и фокус для полей */
.contact-form input:hover,
.contact-form textarea:hover,
.contact-form select.form-select:hover,
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select.form-select:focus {
    border-color: #CFAE70;
    box-shadow: 0 0 5px rgba(207, 174, 112, 0.5);
    outline: none;
}

/* Кнопка отправки */
.contact-form button {
    background: linear-gradient(135deg, #CFAE70, #A98245);
    border: none;
    color: #0D1117;
    font-weight: 600;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
}

.contact-form button:hover {
    background: linear-gradient(135deg, #E1C184, #CFAE70);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #0D1117;
    color: #aaa;
    padding: 30px 0;
    text-align: center;
}

footer a {
    color: #CFAE70;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

footer a:hover {
    color: #E1C184;
}
