/* Zelený Rytmus - Štýly pre web o bylinnom čaji */

/* Reset a základné nastavenia */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #0C6B58;      /* Malahitová zelená */
  --color-accent: #F4D35E;       /* Citrónovo žltá */
  --color-background: #D8D5C6;   /* Sivý betón */
  --color-white: #FFFFFF;        /* Biela */
  --color-cta: #E4572E;          /* Terakotová červená */
  --font-primary: 'Poppins', sans-serif;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-background);
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typografia */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

h1 {
  font-size: 3.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  position: relative;
  margin-bottom: 2rem;
}

h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: var(--color-accent);
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-cta);
}

/* Kontajnery */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 5rem 0;
}

/* Header a navigácia */
header {
  background-color: var(--color-primary);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.logo-text {
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 700;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--color-white);
  font-weight: 500;
  position: relative;
}

nav ul li a:hover {
  color: var(--color-accent);
}

nav ul li a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition);
}

nav ul li a:hover:after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  cursor: pointer;
}

/* Hero sekcia */
.hero {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background-image: url('img/U2pKNg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.8;
  clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hero-content {
  width: 60%;
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease;
}

.cta-button {
  display: inline-block;
  background-color: var(--color-cta);
  color: var(--color-white);
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  animation: fadeInUp 1.2s ease;
}

.cta-button:hover {
  background-color: #d1492a;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(228, 87, 46, 0.4);
  color: var(--color-white);
}

/* O spoločnosti */
.about {
  background-color: var(--color-white);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-image {
  flex: 1;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 15px 15px 0 var(--color-accent);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-text {
  flex: 1;
}

/* Výhody čaju */
.benefits {
  background-color: var(--color-background);
  position: relative;
}

.benefits-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefits-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.benefit-item {
  background-color: var(--color-white);
  border-radius: 8px;
  padding: 2rem;
  width: calc(33.333% - 2rem);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
  border-left: 5px solid var(--color-primary);
}

.benefit-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.benefit-icon {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* Proces doručenia */
.delivery {
  background-color: var(--color-white);
}

.delivery-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
}

.step {
  text-align: center;
  width: 23%;
  position: relative;
}

.step:not(:last-child):after {
  content: '';
  position: absolute;
  top: 25%;
  right: -12%;
  width: 25%;
  height: 2px;
  background-color: var(--color-accent);
  z-index: 1;
}

.step-number {
  background-color: var(--color-primary);
  color: var(--color-white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 2;
}

.step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(12, 107, 88, 0.4);
}

/* Produkty */
.products {
  background-color: var(--color-background);
}

.products-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 3rem;
}

.product-card {
  background-color: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  width: calc(33.333% - 2rem);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-image {
  height: 250px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-info {
  padding: 1.5rem;
}

.product-price {
  position: absolute;
  top: 20px;
  right: 0;
  background-color: var(--color-accent);
  color: var(--color-primary);
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.product-title {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.product-description {
  margin-bottom: 1.5rem;
  color: #666;
}

.product-button {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: var(--transition);
}

.product-button:hover {
  background-color: var(--color-cta);
  color: var(--color-white);
}

/* Recenzie */
.testimonials {
  background-color: var(--color-white);
  text-align: center;
}

.testimonials-container {
  max-width: 900px;
  margin: 0 auto;
}

.testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial {
  background-color: var(--color-background);
  border-radius: 8px;
  padding: 2rem;
  width: calc(50% - 1rem);
  text-align: left;
  position: relative;
}

.testimonial:before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 5rem;
  color: var(--color-primary);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-text {
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 0.2rem;
}

.author-info p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: #666;
}

/* FAQ */
.faq {
  background-color: var(--color-background);
}

.faq-list {
  margin-top: 3rem;
}

.faq-item {
  background-color: var(--color-white);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  border-left: 5px solid var(--color-primary);
  transition: var(--transition);
}

.faq-question:hover {
  background-color: rgba(12, 107, 88, 0.05);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid #eee;
}

/* Kontaktný formulár */
.contact-form {
  background-color: var(--color-white);
  padding: 5rem 0;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--color-background);
  padding: 3rem;
  border-radius: 8px;
  position: relative;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%230C6B58' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.form-container:before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px solid var(--color-accent);
  border-radius: 10px;
  z-index: -1;
}

.form-title {
  text-align: center;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

input, select, textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: var(--color-white);
  font-family: var(--font-primary);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(12, 107, 88, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.form-button {
  background-color: var(--color-cta);
  color: var(--color-white);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  display: block;
  width: 100%;
  text-align: center;
}

.form-button:hover {
  background-color: #d1492a;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(228, 87, 46, 0.4);
}

/* Cookie súhlas */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-text {
  flex: 1;
  margin-right: 1rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.cookie-button {
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-accept {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
}

.cookie-accept:hover {
  background-color: #095546;
}

.cookie-more {
  background-color: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.cookie-more:hover {
  background-color: rgba(12, 107, 88, 0.05);
}

/* Footer */
footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 4rem 0 2rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-title {
  color: var(--color-accent);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-title:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--color-accent);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--color-white);
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--color-accent);
  padding-left: 5px;
}

.footer-contact {
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-icon {
  margin-right: 10px;
  color: var(--color-accent);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Podstránky */
.page-header {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 8rem 0 3rem;
  text-align: center;
}

.page-title {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.page-description {
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}

.page-content {
  background-color: var(--color-white);
  padding: 4rem 0;
}

.page-section {
  margin-bottom: 3rem;
}

.page-section:last-child {
  margin-bottom: 0;
}

/* Thank you stránka */
.thank-you {
  text-align: center;
  padding: 8rem 0;
  background-color: var(--color-white);
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
}

.thank-you h1 {
  margin-bottom: 1.5rem;
}

.thank-you p {
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Animácie */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responzívnosť */
@media (max-width: 1200px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero:before {
    width: 35%;
  }
  
  .hero-content {
    width: 65%;
  }
}

@media (max-width: 991px) {
  html {
    font-size: 15px;
  }
  
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero:before {
    width: 30%;
  }
  
  .hero-content {
    width: 70%;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .benefit-item,
  .product-card {
    width: calc(50% - 1rem);
  }
  
  .delivery-steps {
    flex-wrap: wrap;
  }
  
  .step {
    width: 48%;
    margin-bottom: 2rem;
  }
  
  .step:not(:last-child):after {
    display: none;
  }
}

@media (max-width: 768px) {
  header {
    padding: 0.8rem 0;
  }
  
  .logo img {
    height: 30px;
  }
  
  .logo-text {
    font-size: 1.2rem;
  }
  
  nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero {
    padding: 7rem 0 4rem;
  }
  
  .hero:before {
    display: none;
  }
  
  .hero-content {
    width: 100%;
    text-align: center;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h2:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .benefit-item,
  .product-card,
  .testimonial {
    width: 100%;
  }
  
  .step {
    width: 100%;
  }
  
  .form-container {
    padding: 2rem;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 2rem;
  }
  
  .cookie-consent {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .cookie-text {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .container {
    width: 95%;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .hero {
    padding: 6rem 0 3rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
} 