/* 
   style.css
   Project: Estilo de Vida Saludable (Educational Landing Page)
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Open+Sans:wght@400;500;600&display=swap');

:root {
  /* Палітра з 4 кольорів */
  --primary-color: #0d9488; /* Teal - основний */
  --secondary-color: #1e293b; /* Navy - темний/текст */
  --accent-color: #f97316; /* Orange/Coral - акцентний */
  --bg-color: #f8fafc; /* М'який білий/сірий фон */
  
  --text-color: #334155;
  --white: #ffffff;

  /* Градієнти (використовуються інлайн) */
  --gradient-primary: linear-gradient(135deg, rgba(13, 148, 136, 0.9) 0%, rgba(30, 41, 59, 0.9) 100%);
  --gradient-accent: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  --gradient-overlay: linear-gradient(to bottom, rgba(30, 41, 59, 0.7), rgba(13, 148, 136, 0.6));

  /* Шрифти */
  --font-heading: 'Montserrat', sans-serif;
  --font-text: 'Open Sans', sans-serif;
}

body {
  font-family: var(--font-text);
  color: var(--text-color);
  background-color: var(--bg-color);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--secondary-color);
}

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-accent { color: var(--accent-color); }
.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-accent { background-color: var(--accent-color); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 6px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
  background-color: #0f766e;
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent-color);
  color: var(--white);
  box-shadow: 0 4px 6px rgba(249, 115, 22, 0.3);
}

.btn-accent:hover {
  background-color: #ea580c;
  transform: translateY(-2px);
}

/* Custom Numbered List for Reserve Page */
.custom-counter {
  counter-reset: custom-list;
  list-style-type: none;
  padding-left: 0;
}

.custom-counter li {
  counter-increment: custom-list;
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.custom-counter li::before {
  content: counter(custom-list);
  position: absolute;
  left: 0;
  top: -2px;
  background-color: var(--accent-color);
  color: var(--white);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 2px 4px rgba(249, 115, 22, 0.3);
}

/* Mobile Menu Overlay */
#mobile-menu {
  display: none;
  background-color: var(--white);
}
#mobile-menu.active {
  display: block;
}

/* Form inputs */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: var(--font-text);
  transition: border-color 0.3s ease;
}
.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* Cookie Banner (JS Version) */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--secondary-color);
  color: #ffffff;
  padding: 1.5rem;
  text-align: center;
  z-index: 9999;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.3);
}

.cookie-btn {
  cursor: pointer;
  padding: 0.6rem 2rem;
  margin: 0.5rem;
  background-color: var(--accent-color);
  color: #ffffff;
  border-radius: 50px;
  border: none;
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  transition: all 0.3s ease;
}

.cookie-btn:hover {
  background-color: #ea580c;
  transform: translateY(-1px);
}

.cookie-btn-alt {
  background-color: #475569;
}
.cookie-btn-alt:hover {
  background-color: #334155;
}