/* ===== ECO-FRIENDLY OFFICE DÉCOR SERVICE - MAIN STYLES ===== */

/* Color Palette - Pastel High-Contrast Colors */
:root {
  /* Primary Colors */
  --color-primary: #7fb069;      /* Sage Green */
  --color-secondary: #f4e4bc;    /* Cream */
  --color-accent: #8db596;       /* Mint Green */
  --color-neutral: #d6ccc2;      /* Warm Beige */
  --color-dark: #3e5c76;         /* Slate Blue */
  
  /* Light/Dark Shades */
  --color-primary-light: #a3c585;
  --color-primary-dark: #5a8c4a;
  --color-secondary-light: #f8eed1;
  --color-secondary-dark: #e6d49f;
  --color-accent-light: #b1d1ab;
  --color-accent-dark: #6a9c7a;
  --color-neutral-light: #e2d9d1;
  --color-neutral-dark: #c4b5a8;
  --color-dark-light: #4d6b85;
  --color-dark-dark: #2f4a5f;
  
  /* Typography */
  --font-size-small: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-h6: 1rem;
  --font-size-h5: 1.125rem;
  --font-size-h4: 1.25rem;
  --font-size-h3: 1.5rem;
  --font-size-h2: 1.75rem;
  --font-size-h1: 2rem;
  
  /* Spacing */
  --section-padding: 4rem 0;
  --container-max-width: 1200px;
}

/* ===== GLOBAL STYLES ===== */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-dark);
  background-color: #ffffff;
  overflow-x: hidden;
}

/* Conservative Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }
h5 { font-size: var(--font-size-h5); }
h6 { font-size: var(--font-size-h6); }

p {
  margin-bottom: 1rem;
  font-size: var(--font-size-base);
}

.lead {
  font-size: var(--font-size-lg);
  font-weight: 400;
}

/* ===== HEADER STYLES ===== */
#header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-neutral-light);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1030;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: var(--font-size-xl) !important;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--color-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

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

/* ===== HERO SECTION ===== */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--color-secondary-light) 0%, var(--color-neutral-light) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 150px;
}

.hero-decorative {
  position: absolute;
  top: 10%;
  right: 10%;
  width: 200px;
  height: 200px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.hero-decorative::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: var(--color-primary);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  opacity: 0.05;
}

/* ===== SECTION STYLES ===== */
.section {
  padding: var(--section-padding);
}

.section-title {
  font-size: var(--font-size-h2);
  text-align: center;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  text-align: center;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section-desc {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  color: var(--color-dark);
}

/* ===== ABOUT SECTION ===== */
#about {
  background-color: #ffffff;
}

.feature-card {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 10px;
  background-color: var(--color-secondary-light);
  border: 1px solid var(--color-neutral);
  transition: transform 0.3s ease;
  height: 100%;
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: white;
}

/* ===== SERVICES SECTION ===== */
#services {
  background-color: var(--color-secondary-light);
}

.service-card {
  background-color: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--color-neutral);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.service-price {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-top: auto;
  padding-top: 1rem;
}

/* ===== FEATURES SECTION ===== */
#features {
  background-color: white;
}

.features-grid .feature-card {
  background-color: var(--color-accent-light);
  border-color: var(--color-accent);
}

/* ===== PRICE PLAN SECTION ===== */
#priceplan {
  background-color: var(--color-neutral-light);
}

.price-card {
  background-color: white;
  border-radius: 15px;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 2px solid var(--color-neutral);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
}

.price-card.featured {
  border-color: var(--color-primary);
  transform: scale(1.05);
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.price-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.price-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 1rem 0;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.price-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-neutral-light);
}

/* ===== TEAM SECTION ===== */
#team {
  background-color: white;
}

.team-card {
  text-align: center;
  background-color: var(--color-secondary-light);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid var(--color-neutral);
  transition: transform 0.3s ease;
}

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

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--color-primary);
}

.team-role {
  color: var(--color-primary);
  font-weight: 500;
}

/* ===== REVIEWS SECTION ===== */
#reviews {
  background-color: var(--color-accent-light);
}

.review-card {
  background-color: white;
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid var(--color-neutral);
  height: 100%;
  position: relative;
}

.review-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--color-dark);
}

.review-author {
  font-weight: 600;
  color: var(--color-primary);
}

/* ===== CASE STUDIES SECTION ===== */
#casestudy {
  background-color: white;
}

.case-card {
  background-color: var(--color-secondary-light);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid var(--color-neutral);
  transition: transform 0.3s ease;
  height: 100%;
}

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

/* ===== PROCESS SECTION ===== */
#process {
  background-color: var(--color-neutral-light);
}

.process-step {
  text-align: center;
  position: relative;
  padding: 2rem 1rem;
}

.process-number {
  width: 60px;
  height: 60px;
  background-color: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* ===== FAQ SECTION ===== */
#faq {
  background-color: white;
}

.faq-card {
  background-color: var(--color-secondary-light);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--color-neutral);
}

.faq-question {
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.faq-answer {
  color: var(--color-dark);
  margin: 0;
}

/* ===== GALLERY SECTION ===== */
#gallery {
  background-color: var(--color-accent-light);
  padding: 4rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

/* ===== CONTACT SECTION ===== */
#contact, #contacts {
  background-color: #2c3e50; /* Глубокий сине-зеленый фон */
  color: white;
  background-image: linear-gradient(135deg, #2c3e50 0%, #1a2a38 100%);
  position: relative;
}

#contact .section-title,
#contact .section-subtitle,
#contact .section-desc,
#contacts .section-title,
#contacts .section-subtitle,
#contacts .section-desc {
  color: white;
}

#contacts .section-subtitle {
  color: #6BD5E1; /* Яркий бирюзовый для подзаголовка */
}

.contact-form {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  border-top: 5px solid #6BD5E1; /* Бирюзовая линия сверху */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contact-form .form-control {
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
  color: #333;
}

.contact-form .form-control:focus {
  border-color: #6BD5E1; /* Бирюзовый при фокусе */
  box-shadow: 0 0 0 0.2rem rgba(107, 213, 225, 0.25);
  background-color: #ffffff;
}

.contact-form textarea.form-control {
  min-height: 150px;
}

.contact-form .form-check-input {
  margin-right: 8px;
}

.contact-form .form-check-input:checked {
  background-color: #6BD5E1;
  border-color: #6BD5E1;
}

.btn-primary {
  background: linear-gradient(45deg, #6BD5E1, #4CA1D2);
  border: none;
  padding: 0.85rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 8px 15px rgba(76, 161, 210, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(45deg, #4CA1D2, #6BD5E1);
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(76, 161, 210, 0.4);
}

.contact-info {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  color: white;
  border-left: 5px solid #6BD5E1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-info h5 {
  color: #6BD5E1; /* Бирюзовый для заголовка */
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 1.3rem;
}

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

.contact-info p i {
  width: 30px;
  height: 30px;
  background: rgba(107, 213, 225, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 0.9rem;
  color: #6BD5E1;
}

/* Декоративные элементы секции контактов */
.contact-shape-1,
.contact-shape-2 {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.contact-shape-1 {
  top: 5%;
  right: 5%;
  width: 250px;
  height: 250px;
  background: linear-gradient(45deg, rgba(107, 213, 225, 0.2), rgba(76, 161, 210, 0.2));
  border-radius: 30% 70% 70% 30% / 30% 50% 50% 70%;
  animation: floatingShape 10s ease-in-out infinite alternate;
}

.contact-shape-2 {
  bottom: 10%;
  left: 5%;
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, rgba(76, 161, 210, 0.1), rgba(107, 213, 225, 0.1));
  border-radius: 50% 30% 40% 60% / 40% 50% 50% 60%;
  animation: floatingShape 15s ease-in-out infinite alternate-reverse;
}

@keyframes floatingShape {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(20px, 20px) rotate(5deg);
  }
  100% {
    transform: translate(-20px, 10px) rotate(-5deg);
  }
}

/* Социальные иконки */
.contact-social-icons {
  display: flex;
  gap: 15px;
}

.contact-social-icons .social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6BD5E1;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-social-icons .social-icon:hover {
  background: #6BD5E1;
  color: white;
  transform: translateY(-5px);
}

/* Стили для плавающих меток в форме */
.form-floating label {
  color: #6c757d;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
  color: #4CA1D2;
  opacity: 1;
}

/* Анимации для формы */
.form-message {
  transition: opacity 0.3s ease;
  opacity: 0;
}

.shake-animation {
  animation: shake 0.65s cubic-bezier(.36,.07,.19,.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}

.form-field-active .form-control,
.form-field-active .form-select {
  border-color: #4CA1D2;
  box-shadow: 0 0 0 0.2rem rgba(76, 161, 210, 0.25);
  background-color: #ffffff;
}

.form-control.is-invalid,
.form-select.is-invalid {
  background-image: none;
  padding-right: 1.25rem;
}

/* Улучшенные стили чекбокса */
.form-check-input:checked {
  background-color: #4CA1D2;
  border-color: #4CA1D2;
}

.form-check-label {
  font-size: 0.9rem;
  color: #6c757d;
}

/* ===== BLOG SECTION ===== */
#blog {
  background-color: white;
}

.blog-card {
  background-color: var(--color-secondary-light);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--color-neutral);
  transition: transform 0.3s ease;
  height: 100%;
}

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

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
}

.blog-excerpt {
  color: var(--color-dark);
  font-size: var(--font-size-small);
}

/* ===== FOOTER STYLES ===== */
#footer {
  background-color: var(--color-dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-brand {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-accent-light);
  margin-bottom: 1rem;
}

.footer-desc {
  color: var(--color-neutral-light);
  margin-bottom: 2rem;
}

.footer-section h5 {
  color: var(--color-accent-light);
  margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
  color: var(--color-neutral-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--color-accent-light);
}

.footer-bottom {
  border-top: 1px solid var(--color-neutral-dark);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
}

#site-copyright {
  color: var(--color-neutral-light);
  font-size: var(--font-size-small);
}

/* ===== BREADCRUMB STYLES ===== */
.breadcrumb-container {
  background-color: var(--color-secondary-light);
  padding: 1rem 0;
  margin-top: 80px;
}

.breadcrumb-image {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 5px;
}

/* ===== UTILITIES ===== */
.text-primary { color: var(--color-primary) !important; }
.text-secondary { color: var(--color-secondary) !important; }
.text-accent { color: var(--color-accent) !important; }
.bg-primary { background-color: var(--color-primary) !important; }
.bg-secondary { background-color: var(--color-secondary) !important; }
.bg-accent { background-color: var(--color-accent) !important; }

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
  :root {
    --font-size-h1: 1.75rem;
    --font-size-h2: 1.5rem;
    --font-size-h3: 1.25rem;
    --section-padding: 2rem 0;
  }
  
  .hero-decorative {
    display: none;
  }
  
  .price-card.featured {
    transform: none;
  }
  
  .price-card.featured:hover {
    transform: translateY(-5px);
  }
} 


/* Team Social Links - Modern Style */
.team-social-links {
    margin-top: 25px;
    padding: 20px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 22px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    transform: scale(0);
    border-radius: inherit;
    transition: transform 0.5s ease;
}

.social-link:hover::before {
    transform: scale(1.2);
}

.social-link:hover {
    transform: translateY(-8px) rotate(10deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #00c6ff);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #0099cc);
}

.instagram-link {
    background: linear-gradient(45deg, #e4405f, #f093fb, #f5576c);
}

.x-link {
    background: linear-gradient(45deg, #000000, #434343);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 24px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }
}
