@import url('https://fonts.googleapis.com/css2?family=KoHo:ital,wght@0,400;0,600;1,200&family=Mulish:wght@700&family=Open+Sans:wght@700&family=Roboto+Condensed&display=swap');

:root{
  --brand-dark:#0C3A2D;
  --accent:#FFB902;
  --ligt-green:#6D9674;
}


body{
    font-family:'Outfit',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    color:var(--black);
    background-color: #FFFFFF;
    color: #333;
    line-height: 1.6;
}

/* body {
    background-color: #FFFFFF;
    color: #333;
    line-height: 1.6;
    font-family: 'KoHo', sans-serif;
    font-family: 'Mulish', sans-serif;
    font-family: 'Open Sans', sans-serif;
    font-family: 'Roboto Condensed', sans-serif;
} */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: 1s ease all;
}



/* Header styles */
header {
    background-color: var(--brand-dark);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
        
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
        
.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
        
.logo img {
    height: 40px;
}
        
.logo h1 {
    color: var(--accent);
    text-transform:lowercase;
    font-weight: 500;
    transition: color 0.3s;
    margin: 0;
    line-height: 1;
    font-size: 20px;
    /* font-size: 24px;
    font-weight: 700;
    color: var(--accent); */
}
        
nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}
        
nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
        
nav a:hover {
    color: #a5d6a7;
}



/* Burger menu */








/* Footer */
.footer {
  background: var(--brand-dark);
  color: #ffffff;
  padding: 60px 0 25px;
  font-family: 'Outfit', sans-serif;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: start;
  gap: 60px;
  padding: 0 20px;
}

/* Brand (лого и название на одной линии) */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-logo {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
}

.footer-title {
  font-size: 42px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1;
}

/* Sections */
.footer-head {
  /* font-size: 16px; */
  /* font-weight: 500;
  margin-bottom: 18px; */
  opacity: 0.6;
}

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

.footer-section li {
  margin-bottom: 10px;
  color: white;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s ease;
}

.footer-section a:hover {
  color: #ffffff;
}

.footer-section i {
  margin-right: 8px;
  width: 18px;
  text-align: center;
}

/* Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 20px;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-brand {
    justify-content: flex-start;
    margin-bottom: 10px;
  }

  .footer-logo {
    width: 70px;
    height: 70px;
  }

  .footer-title {
    font-size: 34px;
  }

  /* Расположение: лого и навигация в одну линию, контакты ниже */
  .footer-section:nth-child(2) {
    order: 2;
  }

  .footer-section:nth-child(3) {
    order: 3;
  }

  .footer-bottom {
    text-align: center;
    margin-top: 30px;
  }
}




/* Модальные окна */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
    overflow-y: auto;
    padding: 20px 0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: #fff;
    margin: 2% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    position: relative;
    animation: slideIn 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-content h2 {
    color: var(--brand-dark);
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
    z-index: 1;
}

.close:hover {
    color: var(--brand-dark);
}

/* Формы */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--brand-dark);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--brand-dark);
}

.btn-full {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
}

.btn-primary {
    background-color: var(--brand-dark);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #0a3025;
}

.modal-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.modal-footer a {
    color: var(--brand-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.modal-footer a:hover {
    color: var(--ligt-green);
    text-decoration: underline;
}

/* Специфичные стили для модального окна регистрации */
#registerModal .modal-content {
    max-width: 500px;
}

#registerForm {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 10px;
}

/* Стили для скроллбара в форме регистрации */
#registerForm::-webkit-scrollbar {
    width: 6px;
}

#registerForm::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#registerForm::-webkit-scrollbar-thumb {
    background: var(--brand-dark);
    border-radius: 3px;
}

#registerForm::-webkit-scrollbar-thumb:hover {
    background: #0a3025;
}

/* Адаптивность для модальных окон */
@media (max-width: 768px) {
    .modal {
        padding: 10px 0;
    }
    
    .modal-content {
        margin: 5% auto;
        padding: 25px 20px;
        width: 95%;
    }
    
    #registerModal .modal-content {
        max-width: 95%;
        margin: 2% auto;
    }
    
    #registerForm {
        max-height: 80vh;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 2% auto;
        padding: 20px 15px;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
    
    .form-group input {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    #registerForm {
        max-height: 75vh;
    }
}

/* Для очень высоких экранов */
@media (min-height: 800px) {
    #registerForm {
        max-height: 60vh;
    }
}