:root {
  /* Цветовая палитра (нейтральная) */
  --color-primary: #3a3a3a;
  --color-primary-dark: #242424;
  --color-secondary: #606060;
  --color-accent: #9a8c98;
  --color-accent-light: #c9ada7;
  --color-light: #f2f2f2;
  --color-white: #ffffff;
  --color-dark: #333333;
  --color-darker: #222222;
  --color-black: #000000;
  --color-border: #e0e0e0;
  --color-error: #e74c3c;
  --color-success: #27ae60;
  
  /* Тени */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  
  /* Скругления */
  --radius-sm: 3px;
  --radius-md: 5px;
  --radius-lg: 8px;
  
  /* Анимации */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Шрифты */
  --font-heading: 'Inter', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
}

/* Базовые стили */
body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

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

p {
  margin-bottom: 1.5rem;
}

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

a:hover {
  color: var(--color-accent);
}

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

.section-padding {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  text-align: center;
  font-weight: 700;
}

.section-description {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--color-secondary);
}

.bg-light {
  background-color: var(--color-light);
}

/* Кнопки */
.btn, 
button, 
input[type="submit"] {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: var(--color-primary);
  border: 2px solid var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline-primary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background-color: transparent;
  border: 2px solid var(--color-white);
  color: var(--color-white);
}

.btn-outline-light:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Хедер и навигация */
header {
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  z-index: 1000;
}

header.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-primary);
}

.navbar-nav .nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-dark);
  margin: 0 0.5rem;
  position: relative;
  transition: color var(--transition-fast);
}

.navbar-nav .nav-link:hover {
  color: var(--color-primary);
}

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

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

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

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

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

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--color-white);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-section p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: var(--color-white);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Parallax Effect */
.parallax-section {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Process Section */
.process-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  height: 100%;
  position: relative;
  text-align: center;
  transition: transform var(--transition-normal);
}

.process-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.process-number {
  position: absolute;
  top: -15px;
  right: -15px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  z-index: 2;
}

.process-icon {
  margin: 0 auto 1.5rem;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.progress {
  height: 8px;
  background-color: var(--color-light);
  border-radius: var(--radius-sm);
  margin-top: 1.5rem;
  overflow: hidden;
}

.progress-bar {
  background-color: var(--color-accent);
  border-radius: var(--radius-sm);
}

/* Portfolio Section */
.property-card {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.property-card .card-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

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

.property-card:hover .card-img-top {
  transform: scale(1.05);
}

.property-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 3;
}

.property-card .card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.property-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.property-location {
  color: var(--color-secondary);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.property-features {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  color: var(--color-secondary);
  font-size: 0.9rem;
}

.property-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
  margin-top: auto;
}

/* Resources Section */
.resource-card {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.resource-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.resource-card .card-image {
  height: 200px;
  overflow: hidden;
}

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

.resource-card:hover .card-img-top {
  transform: scale(1.05);
}

.resource-card .card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.resource-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.resource-card p {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Team Section */
.team-card {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.team-card .card-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

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

.team-card:hover .card-img-top {
  transform: scale(1.05);
}

.team-card .card-content {
  padding: 1.5rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-position {
  color: var(--color-secondary);
  margin-bottom: 1rem;
  font-style: italic;
}

.team-contact {
  margin-top: 1rem;
}

.team-contact a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.team-contact a:hover {
  color: var(--color-accent);
}

/* Workshops Section */
.workshop-card {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.workshop-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.workshop-card .card-image {
  height: 250px;
  overflow: hidden;
}

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

.workshop-card:hover .card-img-top {
  transform: scale(1.05);
}

.workshop-card .card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.workshop-date {
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.workshop-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.workshop-details {
  display: flex;
  justify-content: space-between;
  margin: 1.5rem 0;
  color: var(--color-secondary);
  font-size: 0.9rem;
}

/* Gallery Section */
.gallery-container {
  display: flex;
  flex-wrap: wrap;
}

.gallery-item {
  margin-bottom: 2rem;
  transition: transform var(--transition-normal);
}

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

.gallery-item .image-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  height: 250px;
  box-shadow: var(--shadow-md);
}

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

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--color-white);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  margin-bottom: 0.5rem;
  color: var(--color-white);
}

.gallery-overlay p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Accolades Section */
.accolade-card {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.accolade-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.accolade-card .card-image {
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accolade-card .card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.accolade-card .card-content {
  padding: 1.5rem;
  text-align: center;
  flex-grow: 1;
}

.accolade-year {
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Partners Section */
.partner-logo {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: transform var(--transition-normal);
}

.partner-logo:hover {
  transform: translateY(-5px);
}

.partner-logo img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
  filter: grayscale(100%);
  transition: filter var(--transition-normal);
}

.partner-logo:hover img {
  filter: grayscale(0%);
}

.partner-logo p {
  text-align: center;
  margin-bottom: 0;
  color: var(--color-secondary);
}

/* Careers Section */
.career-card {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
  height: 100%;
}

.career-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.career-card .card-content {
  padding: 2rem;
}

.career-location {
  color: var(--color-secondary);
  margin-bottom: 1rem;
  font-style: italic;
}

.career-requirements {
  margin: 1.5rem 0;
}

.career-requirements h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.career-requirements ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.career-requirements li {
  margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-info {
  height: 100%;
}

.contact-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  height: 100%;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-detail i {
  margin-right: 1rem;
  color: var(--color-primary);
  font-size: 1.5rem;
}

.contact-detail p {
  margin-bottom: 0.5rem;
}

.contact-hours {
  margin-top: 2rem;
}

.contact-hours h3 {
  margin-bottom: 1rem;
}

.contact-hours p {
  margin-bottom: 0.5rem;
}

.contact-form-container {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  height: 100%;
}

.contact-form .form-label {
  font-weight: 600;
  color: var(--color-dark);
}

.contact-form .form-control {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  transition: border-color var(--transition-fast);
}

.contact-form .form-control:focus {
  box-shadow: none;
  border-color: var(--color-primary);
}

.contact-form .form-select {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  height: auto;
  transition: border-color var(--transition-fast);
}

.contact-form .form-select:focus {
  box-shadow: none;
  border-color: var(--color-primary);
}

.contact-form .form-check-input:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

/* Footer */
.footer-section {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  padding: 4rem 0 2rem;
}

.footer-section h3 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-about p {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-links ul {
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

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

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

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

.newsletter p {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.newsletter-form .input-group {
  margin-top: 1rem;
}

.newsletter-form .form-control {
  border: none;
  padding: 0.75rem;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.newsletter-form .btn {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 0.75rem 1.5rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(34, 34, 34, 0.95);
  color: var(--color-white);
  padding: 1rem;
  z-index: 9999;
  display: none;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.cookie-content p {
  margin-bottom: 0;
  margin-right: 1rem;
}

.cookie-content a {
  color: var(--color-accent-light);
  text-decoration: underline;
}

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

.success-content {
  max-width: 600px;
  padding: 3rem;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.success-icon {
  font-size: 4rem;
  color: var(--color-success);
  margin-bottom: 2rem;
}

.success-page h1 {
  margin-bottom: 1.5rem;
}

.success-page p {
  margin-bottom: 2rem;
}

/* Pages: Privacy, Terms */
.page-content {
  padding-top: 100px;
  padding-bottom: 5rem;
}

.page-title {
  margin-bottom: 3rem;
  text-align: center;
}

.page-section {
  margin-bottom: 3rem;
}

.page-section h2 {
  margin-bottom: 1.5rem;
}

.page-section p {
  margin-bottom: 1.5rem;
}

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

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

/* Responsive adjustments */
@media (max-width: 992px) {
  .section-title {
    font-size: 2rem;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-section p {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .contact-info {
    margin-bottom: 2rem;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content p {
    margin-bottom: 1rem;
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  .property-features {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .workshop-details {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
  }
}

/* Animation effects */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

/* Read more links */
.read-more {
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  transition: all var(--transition-normal);
}

.read-more:after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform var(--transition-normal);
}

.read-more:hover {
  color: var(--color-accent);
}

.read-more:hover:after {
  transform: translateX(5px);
}

/* Image container alignment fixes */
.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 100%;
}

.card .image-container img,
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 auto;
}

/* Card alignment fixes */
.card,
.team-card,
.property-card,
.workshop-card,
.resource-card,
.accolade-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-content {
  width: 100%;
}