:root {
  --base-color: white;
  --text-color: black;
  --color-5: rgb(235, 232, 232);
  --box-color: #fafafa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: "Playfair Display", serif;
  color: var(--text-color);
}

body {
  padding: 1em;
  padding-top: 70px;
  background-color: var(--base-color);
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

/* NAV */

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 1.1em 1.5em;

  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-link img {
  height: 28px;
  display: block;
}

nav ul {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  gap: 1.8em;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav a {
  color: #111;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: 0.2s ease;
  padding: 0.3em 0.4em;
}

nav a:hover {
  opacity: 0.6;
}

@media (max-width: 700px) {
  nav {
    padding: 0.6em 1em;
  }

  nav ul {
    gap: 1em;
  }

  nav a {
    font-size: 0.8rem;
  }
}

/* HERO SLIDER */

.hero-header {
  position: relative;
  width: 100%;
  height: 75vh;
  min-height: 420px;
  overflow: hidden;
}

.big-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.big-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}

.big-slide-active {
  opacity: 1;
  z-index: 1;
}

.big-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.big-hero-text {
  position: absolute;
  left: 8%;
  bottom: 18%;
  max-width: 650px;
  color: white;
  z-index: 2;
}

.big-hero-text h1,
.big-hero-text h2 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .hero-header {
    height: 65vh;
    min-height: 360px;
  }

  .big-hero-text {
    left: 6%;
    right: 6%;
    bottom: 14%;
  }
}

/* ÜLDINE SECTION */

section {
  margin: 2em auto;
  width: min(75em, 100%);
  padding: min(2em, 15%);
  border-radius: 1em;
}

/* SEO BOXID */

.seo-section {
  padding: 40px 20px;
}

.seo-container {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.seo-box {
  flex: 1;
  min-width: 250px;
  background: var(--box-color);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.seo-box h2 {
  margin-bottom: 10px;
  font-size: 20px;
}

.seo-box p {
  font-size: 15px;
  line-height: 1.5;
}

/* TOOTEGRUPID AVALEHEL */

.tooted-section {
  padding: 70px 20px;
  background: var(--box-color);
}

.tooted-container {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.toode-box {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.toode-box img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
}

.toode-content {
  padding: 26px 24px 30px;
}

.toode-content h2 {
  margin: 0 0 14px;
  font-size: 1.45rem;
  color: #2b2522;
}

.toode-content p {
  margin: 0 0 22px;
  font-size: 1rem;
  line-height: 1.65;
  color: #4a403b;
}

@media (max-width: 900px) {
  .tooted-container {
    grid-template-columns: 1fr;
  }

  .tooted-section {
    padding: 50px 18px;
  }
}

/* TOOTELEHED */

.product-section-title {
  width: 100%;
  text-align: center;
  margin: 50px 0 25px;
}

.product-section-title h2 {
  margin-bottom: 24px;
  color: black;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.product-grid-leinakimp {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.product-box {
  background: #f5f5f5;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  overflow: hidden;
}

.product-box img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.product-box img:hover {
  transform: scale(1.1);
}

.product-box h3 {
  margin: 10px 0 5px 0;
}

.product-box p {
  font-size: 0.9rem;
}

.product-desc {
  font-size: 14px;
  color: #555;
  margin: 8px 0;
}

.product-price {
  font-weight: bold;
  margin-bottom: 10px;
}

.cta-button {
  display: inline-block;
  margin-top: 12px;
  padding: 0.75em 1.25em;

  color: black;
  background-color: rgba(255, 255, 255, 0.6);

  text-decoration: none;
  font-weight: 700;
  border-radius: 0.5em;

  backdrop-filter: blur(6px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);

  transition: all 0.25s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

@media (max-width: 800px) {
  .product-grid,
  .product-grid-leinakimp {
    grid-template-columns: 1fr;
  }
}

/* TELLIMISVORM */

.order-form {
  max-width: 500px;
  margin: auto;
  padding: 20px;
}

.order-form h2 {
  text-align: center;
  margin-bottom: 20px;
}

.order-form form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-form input,
.order-form textarea,
.order-form select {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.order-form button {
  margin-top: 10px;
  padding: 12px;
  border: none;
  background: black;
  color: white;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
}

.order-form button:hover {
  background: #333;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.payment-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.payment-options input[type="radio"] {
  width: 16px;
  height: 16px;
}

.success-message {
  display: none;
  margin-top: 15px;
  padding: 12px;
  background-color: #e6f4ea;
  color: #1a7f37;
  border-radius: 6px;
  font-weight: 600;
}

/* KLIENTIDE KOMMENTAARID */

.reviews-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #fafafa;
}

.reviews-section h2 {
  margin-bottom: 40px;
}

.reviews-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.review-box {
  background: white;
  padding: 20px;
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.review-text {
  font-style: italic;
  margin-bottom: 15px;
}

.review-author {
  font-weight: 600;
}

.review-stars {
  color: #f5b301;
  margin-top: 5px;
}

/* HELLO SECTION */

.hello {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 20px;
}

.hello-row {
  display: flex;
  align-items: center;
  gap: 56px;
  margin-bottom: 80px;
}

.hello-row:last-child {
  margin-bottom: 0;
}

.hello-reverse {
  flex-direction: row-reverse;
}

.hello-text,
.hello-image {
  flex: 1;
}

.hello h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  font-weight: 600;
  color: #221b18;
}

.hello p {
  margin: 0;
  max-width: 560px;
  font-size: 1.08rem;
  line-height: 1.75;
  color: #4f4540;
}

.hello-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  border-radius: 28px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.12);
}

@media (max-width: 800px) {
  .hello {
    padding: 56px 18px;
  }

  .hello-row,
  .hello-reverse {
    flex-direction: column;
    gap: 28px;
    margin-bottom: 56px;
  }

  .hello h2 {
    font-size: 2.1rem;
  }

  .hello p {
    font-size: 1rem;
  }

  .hello-image img {
    border-radius: 20px;
  }
}

/* GALERII */

.mini-gallery {
  margin-top: 60px;
  text-align: center;
}

.mini-gallery h3 {
  margin-bottom: 10px;
}

.mini-gallery p {
  margin-bottom: 20px;
}

.mini-gallery-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.mini-gallery-row img {
  width: 400px;
  max-width: 100%;
  border-radius: 6px;
}

/* FOOTER */

.footer {
  background: #fff;
  border-top: 1px solid #e9e9e9;
  padding: 30px 20px 15px;
  font-family: Arial, sans-serif;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.footer-contact-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  text-align: center;
}

.footer-contact-row a,
.footer-contact-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-contact-row svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 5px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f5f5;
  transition: 0.2s;
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: #888;
  transition: 0.2s;
}

.footer-social a:hover {
  background: #eaeaea;
}

.footer-social a:hover svg {
  fill: #333;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: #aaa;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

@media (max-width: 700px) {
  .footer-contact-row {
    flex-direction: column;
    gap: 10px;
  }
}

.info-details {
  max-width: 760px;
  margin: 80px auto;
  padding: 0 18px;
}

.info-details details {
  background: var(--box-color);
  border-radius: 14px;
  margin-bottom: 14px;
  padding: 0 20px;
  border: 1px solid rgba(120, 90, 60, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.045);
}

.info-details summary {
  cursor: pointer;
  font-size: 1.03rem;
  font-weight: 600;
  padding: 16px 0;
  list-style: none;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  text-align: center;
}

.info-details summary::-webkit-details-marker {
  display: none;
}

.info-details summary::before {
  content: "›";
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--box-color);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.info-details details[open] summary::before {
  transform: rotate(90deg);
}

.details-content {
  padding: 0 0 18px;
}

.details-content p {
  margin-bottom: 10px;
  line-height: 1.65;
  color: #444;
}

.details-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .info-details {
    max-width: 100%;
    margin: 55px auto;
    padding: 0 14px;
  }

  .info-details details {
    padding: 0 16px;
    border-radius: 12px;
  }

  .info-details summary {
    font-size: 0.98rem;
    padding: 15px 0;
  }

  .details-content {
    padding-bottom: 16px;
  }
}
