/*
Theme Name: Сайт по стилю
Theme URI: 
Author: Дмитрий Костерин
Author URI: https://dkosterin.ru
Description: Сайт по стилю
Version: 1.0
License: GNU General Public License v2 or later
*/

/* ----- ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ ЦВЕТОВ ----- */
:root {
  --deep-slate: #22333d;
  --oxblood: #73383f;
  --warm-mushroom: #ad9d8e;
  --dusty-rose: #d1c7bd;
  --soft-apricot: #f7e0c6;
  --warm-cream: #f1e8e3;
  --shadow-sm: 0 8px 20px rgba(34, 51, 61, 0.08);
  --shadow-lg: 0 25px 45px rgba(34, 51, 61, 0.15);
  --glass-border: rgba(209, 199, 189, 0.5);
}

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

body {
  font-family: "Roboto", sans-serif;
  background-color: var(--warm-cream);
  color: var(--deep-slate);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Декоративные фоны */
.bg-blob {
  position: absolute;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(
    circle at 30% 40%,
    var(--soft-apricot) 0%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: -1;
  opacity: 0.7;
  filter: blur(45px);
}

.container {
  max-width: 1300px;
  margin: auto;
  padding: 0 2rem;
  position: relative;
}

/* Типографика */
h1,
h2,
h3 {
  font-family: "Forum", serif;
  font-weight: 400;
}

.section-title {
  font-size: clamp(2.4rem, 6vw, 3.5rem);
  margin-bottom: 2.5rem;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-title i {
  color: var(--oxblood);
  font-size: 2.8rem;
  opacity: 0.8;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--oxblood);
  color: var(--warm-cream);
  padding: 1rem 2.5rem;
  border-radius: 60px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1);
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(115, 56, 63, 0.25);
  backdrop-filter: blur(10px);
  font-size: 1rem;
}

.btn i {
  font-size: 1.1rem;
}

.btn:hover {
  background: var(--deep-slate);
  transform: translateY(-4px);
  box-shadow: 0 20px 35px rgba(34, 51, 61, 0.35);
}

.btn-outline-light {
  background: transparent;
  border: 1.5px solid var(--warm-cream);
  color: var(--warm-cream);
  box-shadow: none;
  font-size: 1.2rem;
}

.btn-outline-light:hover {
  background: var(--warm-cream);
  color: var(--deep-slate);
}

/* ----- БЛОК 1: ИМЯ / АВАТАР ----- */
.hero-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 90vh;
  position: relative;
}

.hero-content {
  flex: 1 1 400px;
  z-index: 2;
  padding: 2rem 0;
}

.hero-badge {
  display: inline-block;
  text-transform: uppercase;
  background: var(--dusty-rose);
  padding: 0.4rem 1.4rem;
  border-radius: 30px;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--oxblood);
  margin-bottom: 1.8rem;
  backdrop-filter: blur(5px);
}

.hero-badge i {
  margin-right: 6px;
}

.hero-content h1 {
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--deep-slate);
  margin-bottom: 0.7rem;
}

.hero-content .subtitle {
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--oxblood);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hero-content .motto {
  font-size: 1.6rem;
  color: var(--deep-slate);
  text-transform: uppercase;
}

.motto i {
  color: var(--oxblood);
  opacity: 0.6;
}

.hero-visual {
  flex: 1 1 400px;
  display: flex;
  justify-content: right;
  position: relative;
}

.hero-image-stack {
  position: relative;
  height: 600px;
  width: 450px;
}

.custom-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50% 20% 50% 20% / 40% 30% 70% 60%;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--warm-cream);
  background: var(--dusty-rose);
}

/* ----- БЛОК 2: ЗНАКОМСТВО ----- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 5rem auto;
}

.intro-text-big {
  font-size: 1.7rem;
  font-weight: 320;
  color: var(--deep-slate);
}

.intro-text-big i {
  color: var(--oxblood);
  margin-right: 0.5rem;
}

.intro-text-big .arrow-link {
  color: var(--oxblood);
  margin-left: 0.3rem;
}

.intro-text-big .spacer {
  margin-top: 1.5rem;
}

.highlight {
  background: linear-gradient(
    120deg,
    var(--soft-apricot) 0%,
    var(--soft-apricot) 60%
  );
  padding: 0.2rem 0.5rem;
  font-weight: 400;
}

.photo-cluster {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.photo-cluster img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--warm-cream);
  transition: all 0.3s ease;
}

.photo-cluster img:nth-child(2) {
  margin-top: 2.5rem;
  border-radius: 70% 30% 30% 70% / 60% 60% 40% 40%;
}

/* ----- БЛОК 3: ТЕСТ ----- */
.test-block {
  background: var(--deep-slate);
  color: var(--warm-cream);
  border-radius: 70px 20px 70px 20px;
  padding: 4rem 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 5rem auto;
  justify-content: space-between;
  background-image: radial-gradient(
    circle at 10% 20%,
    var(--oxblood) 15%,
    transparent 70%
  );
}

.test-content i {
  font-size: 2.8rem;
  color: var(--soft-apricot);
  margin: 0.4em 0.2em;
  transition: 0.25s;
}

.test-content a:hover i {
  color: var(--oxblood);
}

.test-content h2 {
  font-size: 2.4rem;
  font-weight: 320;
}

.test-content .test-subtitle {
  margin: 1rem 0 2rem;
  opacity: 0.9;
}

.test-arrow {
  font-size: 3rem;
  color: var(--soft-apricot);
  opacity: 0.7;
}

/* ----- БЛОК 4: ПРОБЛЕМЫ ----- */
.issues-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 3rem auto;
}

.issue-item {
  background: rgba(241, 232, 227, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 1.8rem 2.2rem;
  display: flex;
  align-items: center;
  gap: 1.8rem;
  transition: 0.25s;
}

.issue-item:hover {
  background: var(--warm-cream);
  border-color: var(--oxblood);
  transform: translateX(10px);
}

.issue-icon {
  font-size: 2.2rem;
  color: var(--oxblood);
  width: 50px;
  text-align: center;
}

.issue-text strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 420;
  margin-bottom: 0.3rem;
}

/* ----- БЛОК 5: ПОДХОД ----- */
.philosophy {
  text-align: center;
  position: relative;
  margin: 5rem auto;
}

.big-quote {
  font-size: 8rem;
  color: var(--dusty-rose);
  line-height: 0.5;
  opacity: 0.5;
}

.philosophy blockquote {
  font-size: 2.2rem;
  font-weight: 320;
  max-width: 800px;
  margin: -1rem auto 2rem;
}

.philosophy-subtitle {
  font-size: 1.3rem;
}

.philosophy-subtitle i {
  color: var(--oxblood);
}

.philosophy-images {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.philosophy-img {
  width: 300px;
  height: 300px;
  object-fit: cover;
}

.philosophy-img:first-of-type {
  border-radius: 40% 60% 70% 30%;
}

.philosophy-img:last-of-type {
  border-radius: 60% 40% 30% 70%;
  margin-top: 40px;
}

/* ----- БЛОК 6: УСЛУГИ ----- */
.services-original {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.service-card {
  background: var(--warm-cream);
  border: 1px solid var(--dusty-rose);
  border-radius: 50px 20px 50px 20px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
  background: rgba(241, 232, 227, 0.6);
  backdrop-filter: blur(8px);
}

.service-card:hover {
  border-color: var(--oxblood);
  box-shadow: var(--shadow-lg);
}

.service-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.service-header i {
  font-size: 2.2rem;
  color: var(--oxblood);
}

.price-tag {
  font-size: 2rem;
  font-weight: 350;
  color: var(--deep-slate);
  margin: 1rem 0;
}

.service-desc {
  margin: 1rem 0;
}

.btn-service {
  margin-top: auto;
}

/* ----- БЛОК 7: СОЦСЕТИ ----- */
.social-block {
  background: var(--oxblood);
  border-radius: 90px 20px 90px 20px;
  padding: 3.5rem;
  margin: 5rem auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  color: var(--warm-cream);
}

.social-block-title {
  font-size: 2rem;
  font-weight: 300;
}

.social-link-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.4rem;
  text-decoration: none;
  color: var(--soft-apricot);
  transition: color 0.3s;
}

.social-link-item:hover {
  color: var(--warm-cream);
}

/* ----- БЛОК 8: ФИНАЛ ----- */
footer {
  height: 100vh;
  align-items: center;
  display: flex;
  justify-content: center;
}

.finale-block {
  text-align: center;
  padding: 5rem 0;
}

.finale-quote-icon {
  font-size: 3rem;
  color: var(--dusty-rose);
}

.finale-text {
  font-size: 2.2rem;
  font-weight: 300;
  margin: 1rem 0;
}

.finale-motto {
  font-size: 2rem;
  font-style: italic;
  color: var(--oxblood);
}

.social-links-footer {
  display: flex;
	    flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin: 2.5rem 0;
  font-size: 1.2rem;
}

.social-links-footer img {
    width: 20px;
}

.social-links-footer a {
  color: var(--deep-slate);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
}

.social-links-footer a:hover {
  color: var(--oxblood);
}

.finale-credit {
  margin-top: 1rem;
}

.finale-credit span {
  font-weight: 400;
}

footer .custom-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-top: 2rem;
  border: 2px solid var(--dusty-rose);
}

/* ----- АНИМАЦИЯ ПОЯВЛЕНИЯ ПРИ СКРОЛЛЕ ----- */
.section-animate {
  opacity: 0;
  transform: translateY(70px);
  transition:
    opacity 1s ease-out,
    transform 0.8s ease-out;
}

.section-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----- АДАПТИВ ----- */

@media (max-width: 992px) {
  .hero-visual {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    gap: 2rem;
    flex-direction: column;
  }

  .photo-cluster {
    justify-content: center;
  }

  .social-block {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .hero-content {
    order: 2;
  }

  .hero-visual {
    margin-top: 30px;
  }

  .custom-logo {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 576px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    flex-direction: column;
  }

  .photo-cluster {
    justify-content: center;
  }

  .social-block {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .hero-image-stack {
    height: auto;
    width: 90%;
  }

  .hero-content .subtitle {
    font-size: 1.3rem;
    gap: 1.2rem;
  }

  .intro-text-big {
    font-size: 1.2rem;
  }

  .photo-cluster img:first-of-type {
    margin-left: -10%;
  }

  .photo-cluster img:last-of-type {
    margin-left: 10%;
  }

  .test-block {
    padding: 2rem;
  }

  .test-content h2 {
    font-size: 1.6rem;
    font-weight: 320;
  }

  .btn {
    padding: 0.6rem 1.3rem;
  }

  .btn-outline-light {
    font-size: 0.9rem;
  }

  .hero-content .motto {
    font-size: 1.4rem;
  }

  .philosophy blockquote {
    font-size: 1.7rem;
  }

  .philosophy-images {
    flex-direction: column;
    align-items: center;
  }

  .philosophy-img {
    width: 250px;
    height: 250px;
  }

  .philosophy-img:first-of-type {
    margin-left: 10%;
  }

  .philosophy-img:last-of-type {
    margin-left: -10%;
  }

  .section-title {
    text-align: center;
  }

  .finale-text {
    font-size: 1.7rem;
  }

  .finale-motto {
    font-size: 1.8rem;
  }

  footer {
    height: auto;
  }
}
