/*
* Elite Interiors - Современный сайт студии дизайна интерьеров
* Ретро стиль с элементами нео-брутализма
* Нейтральная цветовая схема
*/

/* ==================== */
/* Переменные и основные настройки */
/* ==================== */

:root {
  /* Основные цвета */
  --primary-color: #b8a68f;
  --primary-dark: #9a8a75;
  --primary-light: #d8c6b0;
  
  /* Нейтральные цвета */
  --neutral-100: #ffffff;
  --neutral-200: #f5f5f5;
  --neutral-300: #e0e0e0;
  --neutral-400: #cccccc;
  --neutral-500: #999999;
  --neutral-600: #666666;
  --neutral-700: #444444;
  --neutral-800: #333333;
  --neutral-900: #1a1a1a;
  
  /* Акцентные цвета */
  --accent-color: #d9ae94;
  --accent-dark: #c79880;
  --accent-light: #e9c4af;
  
  /* Цвета для нео-брутализма */
  --neo-border: #1a1a1a;
  --neo-shadow: rgba(0, 0, 0, 0.2);
  
  /* Тени */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  
  /* Границы и скругления */
  --border-radius-sm: 2px;
  --border-radius-md: 4px;
  --border-radius-lg: 8px;
  
  /* Шрифты */
  --heading-font: 'Oswald', sans-serif;
  --body-font: 'Nunito', sans-serif;
  
  /* Переходы */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Размеры */
  --container-max-width: 1200px;
  --header-height: 80px;
  --section-spacing: 5rem;
}

/* ==================== */
/* Глобальные стили */
/* ==================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--neutral-800);
  background-color: var(--neutral-100);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--neutral-900);
}

h1 {
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h2 {
  font-size: 2.5rem;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--neutral-700);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-normal);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

section {
  padding: 5rem 0;
  position: relative;
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==================== */
/* Кнопки и формы */
/* ==================== */

.btn, 
button, 
input[type="submit"] {
  display: inline-block;
  font-family: var(--heading-font);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.8rem 2rem;
  border: 2px solid transparent;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  box-shadow: 4px 4px 0 var(--neo-border);
}

.btn:hover, 
button:hover, 
input[type="submit"]:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--neo-border);
}

.btn:active, 
button:active, 
input[type="submit"]:active {
  transform: translate(0, 0);
  box-shadow: 2px 2px 0 var(--neo-border);
}

.btn-primary, 
.btn-primary:hover {
  background-color: var(--primary-color);
  color: var(--neutral-100);
  border-color: var(--neo-border);
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: var(--neutral-100);
}

.form-control, 
.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--neutral-300);
  border-radius: var(--border-radius-sm);
  font-family: var(--body-font);
  font-size: 1rem;
  transition: border var(--transition-fast);
}

.form-control:focus, 
.form-select:focus {
  border-color: var(--primary-color);
  outline: none;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-check-input {
  margin-top: 0.25rem;
}

/* ==================== */
/* Header и навигация */
/* ==================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-normal);
}

.navbar {
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}

.navbar-brand {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
  font-family: var(--heading-font);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 0.5rem 1rem;
  color: var(--neutral-800) !important;
  position: relative;
}

.navbar-nav .nav-link:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: all var(--transition-normal);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover:after {
  width: 80%;
}

/* ==================== */
/* Hero Section */
/* ==================== */

.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: var(--neutral-100);
  text-align: center;
  margin-top: 0;
  padding: 0;
}

.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  color: var(--neutral-100);
  font-size: 4rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p.lead {
  color: var(--neutral-100);
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

@media (max-width: 992px) {
  .hero-section h1 {
    font-size: 3rem;
  }
  
  .hero-section p.lead {
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
}

/* ==================== */
/* About Section */
/* ==================== */

.about-section .image-container {
  position: relative;
  overflow: hidden;
  border: 4px solid var(--neo-border);
  box-shadow: 8px 8px 0 var(--neo-shadow);
  margin-bottom: 1.5rem;
}

.about-section img {
  transition: transform var(--transition-slow);
}

.about-section .image-container:hover img {
  transform: scale(1.05);
}

.about-section h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

/* ==================== */
/* Services Section */
/* ==================== */

.services-section {
  background-color: var(--neutral-200);
}

.services-section .card {
  height: 100%;
  border: 2px solid var(--neo-border);
  border-radius: var(--border-radius-sm);
  box-shadow: 6px 6px 0 var(--neo-shadow);
  transition: all var(--transition-normal);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-section .card:hover {
  transform: translateY(-10px);
}

.services-section .card-image {
  width: 100%;
  overflow: hidden;
  height: 220px;
}

.services-section .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.services-section .card:hover .card-image img {
  transform: scale(1.1);
}

.services-section .card-content {
  padding: 1.5rem;
  text-align: center;
}

.services-section h3 {
  font-size: 1.5rem;
  color: var(--neutral-900);
  margin-bottom: 1rem;
}

/* ==================== */
/* Methodology Section */
/* ==================== */

.methodology-section .image-container {
  position: relative;
  overflow: hidden;
  border: 4px solid var(--neo-border);
  box-shadow: 8px 8px 0 var(--neo-shadow);
  margin-bottom: 1.5rem;
}

.methodology-section .accordion-button {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--neutral-800);
  background-color: var(--neutral-200);
  padding: 1rem 1.5rem;
}

.methodology-section .accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: var(--neutral-100);
}

.methodology-section .accordion-button:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

/* ==================== */
/* Statistics Section */
/* ==================== */

.statistics-section {
  position: relative;
  background-color: var(--neutral-900);
  color: var(--neutral-100);
  text-align: center;
}

.statistics-section h2 {
  color: var(--neutral-100);
}

.statistics-section h2::after {
  background-color: var(--neutral-100);
}

.statistics-section .stat-item {
  padding: 2rem 1rem;
}

.statistics-section .display-4 {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.statistics-section p {
  color: var(--neutral-300);
  font-size: 1.25rem;
  margin: 0;
}

/* ==================== */
/* Gallery Section */
/* ==================== */

.gallery-section .carousel-item {
  height: 500px;
}

.gallery-section .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-section .carousel-caption {
  background: rgba(0, 0, 0, 0.6);
  border-radius: var(--border-radius-sm);
  padding: 1.5rem;
  bottom: 3rem;
}

.gallery-section .card {
  border: 2px solid var(--neo-border);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--neo-shadow);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-section .card:hover {
  transform: translateY(-5px);
}

.gallery-section .card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.gallery-section .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-section .card:hover .card-image img {
  transform: scale(1.1);
}

.gallery-section .card-content {
  text-align: center;
}

/* ==================== */
/* Resources Section */
/* ==================== */

.resources-section {
  background-color: var(--neutral-200);
}

.resources-section .card {
  height: 100%;
  border: 2px solid var(--neo-border);
  border-radius: var(--border-radius-sm);
  box-shadow: 6px 6px 0 var(--neo-shadow);
  transition: all var(--transition-normal);
}

.resources-section .card:hover {
  transform: translateY(-5px);
}

.resources-section .card-body {
  padding: 2rem;
}

.resources-section h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.resources-section ul li a {
  display: inline-block;
  position: relative;
  padding-left: 1.5rem;
  color: var(--neutral-800);
  transition: all var(--transition-normal);
}

.resources-section ul li a:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  transition: all var(--transition-normal);
}

.resources-section ul li a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

/* ==================== */
/* Sustainability Section */
/* ==================== */

.sustainability-section .image-container {
  position: relative;
  overflow: hidden;
  border: 4px solid var(--neo-border);
  box-shadow: 8px 8px 0 var(--neo-shadow);
  margin-bottom: 1.5rem;
}

.sustainability-section h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.sustainability-section ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.sustainability-section ul li {
  margin-bottom: 0.5rem;
}

/* ==================== */
/* Pricing Section */
/* ==================== */

.pricing-section {
  background-color: var(--neutral-200);
}

.pricing-section .card {
  height: 100%;
  border: 2px solid var(--neo-border);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--neo-shadow);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.pricing-section .card:hover {
  transform: translateY(-10px);
}

.pricing-section .card-header {
  background-color: var(--neutral-900);
  color: var(--neutral-100);
  padding: 2rem 1rem;
}

.pricing-section .card-header h3 {
  color: var(--neutral-100);
  margin-bottom: 0.5rem;
}

.pricing-section .price {
  font-size: 1.75rem;
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}

.pricing-section .card-body {
  flex-grow: 1;
  padding: 2rem;
}

.pricing-section .card-footer {
  background-color: var(--neutral-100);
  padding: 1.5rem;
  border-top: none;
}

/* ==================== */
/* Insights Section */
/* ==================== */

.insights-section .card {
  height: 100%;
  border: 2px solid var(--neo-border);
  border-radius: var(--border-radius-sm);
  box-shadow: 6px 6px 0 var(--neo-shadow);
  transition: all var(--transition-normal);
}

.insights-section .card:hover {
  transform: translateY(-5px);
}

.insights-section .card-body {
  padding: 2rem;
}

.insights-section h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

/* ==================== */
/* Media Section */
/* ==================== */

.media-section {
  background-color: var(--neutral-200);
}

.media-section .image-container {
  position: relative;
  overflow: hidden;
  border: 4px solid var(--neo-border);
  box-shadow: 8px 8px 0 var(--neo-shadow);
  margin-bottom: 1.5rem;
}

.media-section h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.media-section .logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.media-section .logos img {
  margin-right: 1.5rem;
  margin-bottom: 1rem;
  transition: all var(--transition-normal);
  filter: grayscale(100%);
}

.media-section .logos img:hover {
  filter: grayscale(0);
  transform: scale(1.05);
}

/* ==================== */
/* Contact Section */
/* ==================== */

.contact-section .contact-info {
  margin-bottom: 2rem;
}

.contact-section h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.contact-section p {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.contact-section p i {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

.contact-section .map-container {
  border: 4px solid var(--neo-border);
  box-shadow: 6px 6px 0 var(--neo-shadow);
  overflow: hidden;
}

.contact-section .contact-form {
  background-color: var(--neutral-200);
  padding: 2rem;
  border: 2px solid var(--neo-border);
  border-radius: var(--border-radius-sm);
  box-shadow: 6px 6px 0 var(--neo-shadow);
}

/* ==================== */
/* Footer */
/* ==================== */

.footer {
  background-color: var(--neutral-900);
  color: var(--neutral-300);
  padding: 4rem 0 2rem;
}

.footer h3 {
  color: var(--neutral-100);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
}

.footer p {
  color: var(--neutral-400);
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer ul li a {
  color: var(--neutral-400);
  transition: all var(--transition-normal);
  display: inline-block;
  position: relative;
}

.footer ul li a:hover {
  color: var(--neutral-100);
  transform: translateX(5px);
}

.footer hr {
  border-color: var(--neutral-700);
  opacity: 0.3;
}

/* ==================== */
/* Дополнительные страницы */
/* ==================== */

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.success-page .success-card {
  max-width: 600px;
  padding: 3rem;
  background-color: var(--neutral-100);
  border: 2px solid var(--neo-border);
  border-radius: var(--border-radius-sm);
  box-shadow: 8px 8px 0 var(--neo-shadow);
}

.success-page h1 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

/* Privacy & Terms Pages */
.privacy-page, .terms-page {
  padding-top: 100px;
}

.privacy-page .content, .terms-page .content {
  background-color: var(--neutral-100);
  padding: 2rem;
  border: 2px solid var(--neo-border);
  border-radius: var(--border-radius-sm);
  box-shadow: 8px 8px 0 var(--neo-shadow);
}

.privacy-page h1, .terms-page h1 {
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.privacy-page h2, .terms-page h2 {
  font-size: 1.75rem;
  margin-top: 2rem;
}

/* ==================== */
/* Анимации */
/* ==================== */

/* Анимация частиц */
@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* Создаем псевдоэлементы для анимации частиц */
.hero-section::before,
.statistics-section::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 50px;
  width: 15px;
  height: 15px;
  background-color: var(--primary-light);
  border-radius: 50%;
  z-index: 1;
  opacity: 0.6;
  animation: float 8s infinite ease-in-out;
}

.hero-section::after,
.statistics-section::after {
  content: '';
  position: absolute;
  bottom: 100px;
  right: 100px;
  width: 25px;
  height: 25px;
  background-color: var(--accent-light);
  border-radius: 50%;
  z-index: 1;
  opacity: 0.4;
  animation: float 10s 1s infinite ease-in-out;
}

/* ==================== */
/* Медиа запросы */
/* ==================== */

@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .navbar-collapse {
    background-color: var(--neutral-100);
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-md);
  }
  
  .methodology-section .image-container {
    margin-bottom: 2rem;
  }
  
  .contact-section .contact-info {
    margin-bottom: 3rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero-section {
    height: 80vh;
  }
  
  .statistics-section .stat-item {
    margin-bottom: 2rem;
  }
  
  .gallery-section .carousel-item {
    height: 300px;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero-section {
    height: 70vh;
  }
  
  .btn, button, input[type="submit"] {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
}