/* Základní reset a proměnné */
:root {
  --primary-color: #3a7e6f;
  --secondary-color: #e3b23c;
  --accent-color: #d64933;
  --light-color: #f5f5f5;
  --dark-color: #333333;
  --gray-color: #7a7a7a;
  --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
}

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

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

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

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

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  text-align: center;
}

.btn:hover {
  background-color: var(--secondary-color);
  color: var(--dark-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

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

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Header */
header {
  background-color: white;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  font-weight: 500;
  position: relative;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/1.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* Countdown Timer */
.countdown-container {
  background-color: var(--primary-color);
  color: white;
  padding: 20px 0;
  text-align: center;
  margin-bottom: 40px;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-value {
  font-size: 2rem;
  font-weight: bold;
}

.countdown-label {
  font-size: 0.9rem;
  text-transform: uppercase;
}

/* Featured Section */
.featured {
  padding: 60px 0;
  background-color: white;
}

.featured h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
  font-size: 2rem;
}

.featured-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.featured-item {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.featured-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.featured-item img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.featured-content {
  padding: 20px;
}

.featured-content h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.featured-content p {
  color: var(--gray-color);
  margin-bottom: 15px;
}

.read-more {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.read-more svg {
  margin-left: 5px;
  transition: var(--transition);
}

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

/* Blog Posts */
.blog-posts {
  padding: 60px 0;
}

.blog-posts h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
  font-size: 2rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.post-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.post-card:hover .post-image img {
  transform: scale(1.05);
}

.post-content {
  padding: 20px;
}

.post-date {
  color: var(--gray-color);
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.post-date svg {
  margin-right: 5px;
}

.post-content h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.post-content p {
  color: var(--gray-color);
  margin-bottom: 15px;
}

/* Daily Selection */
.daily-selection {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.daily-selection h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
  font-size: 2rem;
}

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

.selection-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.selection-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

.selection-item h3 {
  margin-bottom: 10px;
  text-align: center;
  color: var(--primary-color);
}

.selection-item p {
  text-align: center;
  color: var(--gray-color);
}

/* Single Post */
.single-post {
  padding: 60px 0;
}

.post-header {
  text-align: center;
  margin-bottom: 40px;
}

.post-header h1 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.post-meta {
  color: var(--gray-color);
  margin-bottom: 20px;
}

.post-featured-image {
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.post-content-full {
  line-height: 1.8;
}

.post-content-full h2 {
  color: var(--primary-color);
  margin: 40px 0 15px;
}

.post-content-full p {
  margin-bottom: 20px;
}

.post-content-full img {
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.post-content-full ul, .post-content-full ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.post-content-full li {
  margin-bottom: 10px;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.nav-previous, .nav-next {
  display: flex;
  align-items: center;
}

.nav-next {
  text-align: right;
}

/* About Us Page */
.about-section {
  padding: 60px 0;
}

.about-header {
  text-align: center;
  margin-bottom: 40px;
}

.about-header h1 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.about-content {
  margin-bottom: 50px;
}

.about-image {
  float: right;
  margin: 0 0 20px 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 400px;
}

.team-section h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 30px;
}

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

.team-member {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
}

.team-member img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.team-info {
  padding: 20px;
}

.team-info h3 {
  color: var(--primary-color);
  margin-bottom: 5px;
}

.team-position {
  color: var(--gray-color);
  font-style: italic;
  margin-bottom: 10px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  color: var(--gray-color);
  transition: var(--transition);
}

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

/* Contact Page */
.contact-section {
  padding: 60px 0;
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-header h1 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.contact-info {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-info h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-icon {
  margin-right: 15px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.contact-text h3 {
  margin-bottom: 5px;
  color: var(--primary-color);
}

.contact-form {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-form h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
}

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

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

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 60px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 15px;
}

.footer-about p {
  margin-bottom: 20px;
}

.footer-title {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links li {
  margin-bottom: 10px;
  list-style: none;
}

.footer-links a {
  color: #ccc;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #aaa;
}

/* Cookie Notice */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(51, 51, 51, 0.95);
  color: white;
  padding: 15px 0;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  transform: translateY(100%);
  transition: transform 0.4s ease-in-out;
}

.cookie-notice.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 15px;
}

.cookie-text {
  flex: 1;
  min-width: 280px;
}

.cookie-text p {
  margin-bottom: 0;
}

.cookie-text a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 8px 15px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.accept-cookies {
  background-color: var(--primary-color);
  color: white;
}

.accept-cookies:hover {
  background-color: #2d6257;
}

.customize-cookies {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}

.customize-cookies:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.decline-cookies {
  background-color: transparent;
  color: #ccc;
}

.decline-cookies:hover {
  color: white;
}

/* Thank You Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: block;
  opacity: 1;
}

.modal-content {
  background-color: white;
  margin: 15% auto;
  padding: 30px;
  width: 90%;
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transform: translateY(-50px);
  opacity: 0;
  transition: all 0.3s ease;
}

.modal.show .modal-content {
  transform: translateY(0);
  opacity: 1;
}

.modal-icon {
  color: var(--primary-color);
  font-size: 3rem;
  margin-bottom: 20px;
}

.modal h2 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.close-modal {
  margin-top: 20px;
  display: inline-block;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    width: 100%;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  
  .nav-links.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .post-navigation {
    flex-direction: column;
    gap: 20px;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 2rem;
  }
  
  .countdown-timer {
    gap: 10px;
  }
  
  .countdown-value {
    font-size: 1.5rem;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
}
