/* ========================================
   Teabee – Kompletní CSS pro celý web
   ======================================== */

/* --- Reset & Base --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&family=Lora:wght@400;700&display=swap');

:root {
  --brand-gold: #d1b22f;
  --brand-dark: #333;
  --brand-light: #faf9f6;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Lora', serif;
  --radius: 8px;
  --transition: 0.3s ease;
  --space: 2rem;
}

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

body {
  font-family: var(--font-body);
  background: var(--brand-light);
  color: var(--brand-dark);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--space) 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

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

/* --- Header & Nav --- */
.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 100;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.logo img {
  height: 100px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  position: relative;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.95rem;
  padding-bottom: 0.25rem;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 2px;
  background: var(--brand-gold);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-gold);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
}
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--brand-dark);
    border-radius: 2px;
  }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 240px; height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transition: right var(--transition);
    z-index: 99;
  }
  .nav-links.open {
    right: 0;
  }
}

/* --- Hero --- */
.hero {
  position: relative;
  height: 70vh;
  background: url('images/hero-tea.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 0 1rem;
}
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.25rem;
}

/* --- About --- */
.about {
  background: #fff;
  padding: 4rem 1rem;
}
.about-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}
.about-inner h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
  display: inline-block;
  border-bottom: 4px solid var(--brand-gold);
  padding-bottom: 0.25rem;
}
.about-inner p.lead {
  font-size: 1.1rem;
  margin: 1rem 0 1.5rem;
  font-style: italic;
  color: #555;
}
.about-inner p {
  margin-bottom: 1.5rem;
  color: var(--brand-dark);
}
.about-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
  gap: 1rem;
}
.about-list li {
  background: var(--brand-light);
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* --- Products Section Heading --- */
#products > h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: linear-gradient(90deg, rgba(209,178,47,1), rgba(255,221,85,1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  margin: 3rem 0 1.5rem;
}
#products > h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 0;
  height: 4px;
  background: var(--brand-gold);
  transition: width 0.4s ease, left 0.4s ease;
}
#products > h2:hover::after {
  width: 60%;
  left: 20%;
}

/* --- Products Grid --- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
  gap: var(--space);
}
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform var(--transition);
}
.card:hover {
  transform: translateY(-4px);
}
.card img {
  height: 160px;
  object-fit: cover;
}
.card-content {
  padding: 1rem;
}
.card-content h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--brand-gold);
  position: relative;
  margin-bottom: 0.5rem;
  padding-bottom: 0.25rem;
  transition: color var(--transition);
}
.card-content h2::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 25%;
  height: 2px;
  background: var(--brand-gold);
  transition: width var(--transition);
}
.card-content h2:hover {
  color: #b8951f;
}
.card-content h2:hover::after {
  width: 100%;
}
.card-content h3 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
}

/* --- Wholesale --- */
.wholesale {
  background: var(--brand-gold);
  color: #fff;
  padding: 4rem 1rem;
}
.wholesale-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.wholesale-inner h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}
.wholesale-inner p.lead {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.wholesale-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.wholesale-list li {
  background: rgba(255,255,255,0.2);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  flex: 1 1 180px;
}
.wholesale-inner .contact {
  font-size: 1rem;
}
.wholesale-inner .contact a {
  color: #fff;
  text-decoration: underline;
}

/* --- Contact --- */
#contact {
  background: #fff;
  padding: 4rem 1rem;
}
#contact h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  text-align: center;
  margin-bottom: 1rem;
}
.contact-intro {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #555;
}
.contact-grid {
  display: grid;
  /* místo auto-fill použijeme auto-fit, prázdné sloupce mizí */
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  justify-items: normal; /* vycentruje karty v rámci sloupců */
  max-width: 800px;      /* omezí šířku gridu */
  margin: 0 auto;        /* vystředí celý grid */
}
.contact-card {
  background: var(--brand-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform var(--transition), box-shadow var(--transition);
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}
.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.contact-card a,
.contact-card p {
  font-size: 0.95rem;
  color: var(--brand-dark);
  line-height: 1.4;
}
.contact-card a {
  color: var(--brand-gold);
  text-decoration: underline;
}

/* --- Footer --- */
.footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #777;
}

/* Eshop tlačítko v menu */
.nav-eshop {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--brand-gold);
  color: #111;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(209,178,47,0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.nav-eshop:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* Menší úprava pro mobil: aby tlačítko v menu nevypadalo špatně */
@media (max-width: 768px) {
  .nav-eshop {
    margin-top: 0.5rem;
    padding: 0.6rem 1rem;
    text-align: center;
  }
}