﻿* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  color: #2d3748;
  background-color: #f7fafc;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: calc(1.875rem + 3.5vw);
}

h2 {
  font-size: calc(1.425rem + 1.1vw);
}

h3 {
  font-size: calc(1.375rem + .8vw);
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.375rem;
}

h6 {
  font-size: 1.25rem;
}

p {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

a {
  text-decoration: none;
  display: inline-block;
  transition: all .3s ease;
  color: #2d6e3e;
}

a:hover {
  color: #c7972e;
  transform: translateY(-1px);
}

img {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
}

input, button, select, textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

:root {
  --primary-color: #2d6e3e;
  --secondary-color: #c7972e;
  --accent-color: #8b5a3c;
  --text-color: #2d3748;
  --text-light: #718096;
  --bg-color: #f7fafc;
  --bg-secondary: #e2e8f0;
  --bg-dark: #1a202c;
  --border-color: #cbd5e0;
  --success-color: #38a169;
  --warning-color: #d69e2e;
  --danger-color: #e53e3e;
}

.display-2 {
  font-size: calc(1.625rem + 4.5vw);
  font-weight: 700;
  line-height: 1.15;
}

.display-3 {
  font-size: calc(1.675rem + 4.2vw);
  font-weight: 600;
  line-height: 1.15;
}

.display-4 {
  font-size: calc(1.575rem + 3.9vw);
  font-weight: 600;
  line-height: 1.15;
}

.display-5 {
  font-size: calc(1.525rem + 2.4vw);
  font-weight: 600;
  line-height: 1.15;
}

.display-6 {
  font-size: calc(1.475rem + 2.1vw);
  font-weight: 600;
  line-height: 1.15;
}

.container {
  width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
  margin-right: auto;
  margin-left: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -1rem;
  margin-left: -1rem;
}

.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
}

.col-12 {
  flex: 0 0 auto;
  width: 100%;
}

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

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

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

.text-primary {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--secondary-color);
}

.text-light {
  color: var(--text-light);
}

.text-white {
  color: white;
}

.text-muted {
  color: var(--text-light);
}

.btn {
  display: inline-block;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  user-select: none;
  border: 2px solid transparent;
  padding: 1rem 2rem;
  font-size: 1.0625rem;
  border-radius: 0.75rem;
  transition: all .3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(45, 110, 62, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45, 110, 62, 0.4);
  color: white;
}

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

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

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

.btn-outline-dark:hover {
  background-color: var(--text-color);
  color: white;
}

.btn-link {
  color: var(--primary-color);
  border: none;
  background: none;
  text-decoration: none;
  font-weight: 600;
}

.btn-link:hover {
  color: var(--secondary-color);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 250, 252, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.navbar-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-color);
  padding: 0.5rem 1rem;
  font-weight: 500;
  position: relative;
}

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

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

.hero-section {
  background: linear-gradient(135deg, rgba(45, 110, 62, 0.9), rgba(199, 151, 46, 0.8)), url('../graf/7odnr1.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 25%, rgba(255,255,255,0.03) 25%), 
              linear-gradient(-45deg, transparent 25%, rgba(255,255,255,0.03) 25%);
  background-size: 30px 30px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(45, 110, 62, 0.8), rgba(199, 151, 46, 0.6));
}

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

.hero-title {
  font-size: calc(2rem + 3vw);
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
  line-height: 1.7;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-buttons {
  margin-bottom: 3rem;
}

.hero-buttons .btn {
  margin-right: 1rem;
  margin-bottom: 1rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.stat-item p {
  margin: 0;
  opacity: 0.9;
  font-weight: 500;
}

.feature-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.form-label {
  margin-bottom: .75rem;
  display: inline-block;
  font-weight: 500;
  color: var(--text-color);
}

.form-control {
  display: block;
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-color);
  background-color: white;
  border: 2px solid var(--border-color);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: 0;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(45, 110, 62, 0.1);
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-info {
  padding: 2rem 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item i {
  font-size: 1.5rem;
  margin-top: 0.25rem;
}

.contact-item h5 {
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.contact-item p {
  margin: 0;
  color: var(--text-light);
}

.footer {
  background: linear-gradient(135deg, #1a202c, #2d3748);
  color: white;
}

.footer h5, .footer h6 {
  color: var(--secondary-color);
}

.footer a {
  color: #cbd5e0;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-dark);
  color: white;
  padding: 1rem 0;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-content p {
  margin: 0;
  flex: 1;
}

.cookie-content a {
  color: var(--secondary-color);
}

.min-vh-75 {
  min-height: 75vh;
}

.contact-section {
  background: linear-gradient(135deg, var(--bg-secondary), white);
}

.position-relative {
  position: relative !important;
}

.position-absolute {
  position: absolute !important;
}

.w-100 {
  width: 100% !important;
}

.h-100 {
  height: 100% !important;
}

.d-flex {
  display: flex !important;
}

.d-block {
  display: block !important;
}

.d-inline-block {
  display: inline-block !important;
}

.d-none {
  display: none !important;
}

.flex-column {
  flex-direction: column !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.align-items-center {
  align-items: center !important;
}

.align-items-start {
  align-items: flex-start !important;
}

.text-center {
  text-align: center !important;
}

.text-start {
  text-align: left !important;
}

.text-end {
  text-align: right !important;
}

.list-unstyled {
  list-style: none;
  padding: 0;
}

.rounded {
  border-radius: 0.75rem !important;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 0.75rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-5 { margin-bottom: 1.25rem !important; }
.mb-6 { margin-bottom: 1.5rem !important; }
.mb-7 { margin-bottom: 1.75rem !important; }
.mb-8 { margin-bottom: 2rem !important; }
.mb-9 { margin-bottom: 2.25rem !important; }
.mb-13 { margin-bottom: 3.25rem !important; }
.mb-16 { margin-bottom: 4rem !important; }

.mt-4 { margin-top: 1rem !important; }
.mt-7 { margin-top: 1.75rem !important; }

.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 0.75rem !important; }
.ms-auto { margin-left: auto !important; }

.p-7 { padding: 1.75rem !important; }
.p-8 { padding: 2rem !important; }

.py-8 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
.py-11 { padding-top: 2.75rem !important; padding-bottom: 2.75rem !important; }
.py-lg-21 { padding-top: 5.25rem !important; padding-bottom: 5.25rem !important; }

.ps-13 { padding-left: 3.25rem !important; }

.fs-1 { font-size: 1.625rem !important; }
.fs-2 { font-size: 1.4375rem !important; }
.fs-3 { font-size: 1.3125rem !important; }

@media (min-width: 576px) {
  .container { max-width: 540px; }
  .col-sm-6 { flex: 0 0 auto; width: 50%; }
  .col-sm-8 { flex: 0 0 auto; width: 66.66666667%; }
  .col-sm-10 { flex: 0 0 auto; width: 83.33333333%; }
}

@media (min-width: 768px) {
  .container { max-width: 720px; }
  .col-md-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-md-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-md-6 { flex: 0 0 auto; width: 50%; }
  .col-md-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-md-8 { flex: 0 0 auto; width: 66.66666667%; }
  .col-md-9 { flex: 0 0 auto; width: 75%; }
  
  .mb-md-0 { margin-bottom: 0 !important; }
  .text-md-end { text-align: right !important; }
  
  .navbar-toggler { display: none; }
  .navbar-nav { flex-direction: row; }
  .collapse { display: flex !important; }
}

@media (min-width: 992px) {
  .container { max-width: 960px; }
  .col-lg-2 { flex: 0 0 auto; width: 16.66666667%; }
  .col-lg-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-lg-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-lg-6 { flex: 0 0 auto; width: 50%; }
  .col-lg-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-lg-8 { flex: 0 0 auto; width: 66.66666667%; }
  
  .mb-lg-0 { margin-bottom: 0 !important; }
  .mb-lg-13 { margin-bottom: 3.25rem !important; }
  .py-lg-21 { padding-top: 5.25rem !important; padding-bottom: 5.25rem !important; }
  .text-lg-start { text-align: left !important; }
  .flex-lg-row { flex-direction: row !important; }
  
  h2 { font-size: 2.125rem; }
  h3 { font-size: 1.875rem; }
  .display-3 { font-size: 4.75rem; }
  .display-4 { font-size: 3.5rem; }
  .display-5 { font-size: 3rem; }
  .display-6 { font-size: 2.5rem; }
}

@media (min-width: 1200px) {
  .container { max-width: 1140px; }
  .col-xl-3 { flex: 0 0 auto; width: 25%; }
  .col-xl-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-xl-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-xl-6 { flex: 0 0 auto; width: 50%; }
  .col-xl-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-xl-8 { flex: 0 0 auto; width: 66.66666667%; }
}

@media (min-width: 1400px) {
  .container { max-width: 1320px; }
  .col-xxl-3 { flex: 0 0 auto; width: 25%; }
  .col-xxl-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-xxl-5 { flex: 0 0 auto; width: 41.66666667%; }
}

@media (max-width: 767px) {
  .hero-section {
    background-attachment: scroll;
    padding: 3rem 0;
  }
  
  .hero-title {
    font-size: calc(1.5rem + 3vw);
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .navbar-toggler {
    display: block;
    background: none;
    border: 2px solid var(--primary-color);
    padding: 0.5rem;
    border-radius: 0.5rem;
  }
  
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%232d6e3e' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.5em;
    height: 1.5em;
  }
  
  .collapse:not(.show) {
    display: none;
  }
  
  .navbar-nav {
    flex-direction: column;
    padding-top: 1rem;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}