/* ==============================================
   SZEKCIÓK JOBB ELVÁLASZTÁSA
   ============================================== */

/* Alapértelmezett szekció elválasztás növelése */
section {
  padding: 100px clamp(20px, 4vw, 80px) 60px;
  position: relative;
}

/* Szekciók közötti extra térköz */
section + section {
  margin-top: 40px;
}

/* Vizuális elválasztó vonal a szekciók között */
section:not(.hero):not(.breadcrumbs)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1140px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(224, 215, 207, 0.5) 20%,
    rgba(224, 215, 207, 0.8) 50%,
    rgba(224, 215, 207, 0.5) 80%,
    transparent 100%
  );
}

/* Első szekció ne legyen elválasztva */
.hero + section::before,
.breadcrumbs + section::before {
  display: none;
}

/* Small-content szekciók elválasztása */
.small-content {
  padding: 80px clamp(20px, 4vw, 80px) 60px;
}

.small-content + .small-content {
  margin-top: 60px;
}

/* Alternatív háttérszínek - csak a 3 képes szekcióhoz */

/* INSIGHTS & GUIDES - text-left-image-right (első képes) */
section.small-content.text-left-image-right:nth-of-type(1) {
  background-color: rgba(40, 157, 164, 0.08);
  padding: 100px clamp(20px, 4vw, 80px) 80px;
  border-radius: 40px 0 0 40px;
}

/* LIFESTYLE & COMMUNITY - text-left-image-right (második képes) */
section.small-content.text-left-image-right:nth-of-type(2) {
  background: linear-gradient(
    135deg,
    rgba(180, 217, 216, 0.15) 0%,
    rgba(145, 201, 200, 0.1) 100%
  );
  padding: 100px clamp(20px, 4vw, 80px) 80px;
}

/* BUSINESS & PROFESSIONAL LIFE - image-left-text-right (első képes) */
section.small-content.image-left-text-right:nth-of-type(1) {
  background: radial-gradient(
    circle at top right,
    rgba(227, 180, 120, 0.12) 0%,
    rgba(245, 241, 236, 0.2) 100%
  );
  padding: 100px clamp(20px, 4vw, 80px) 80px;
  border-radius: 0 40px 40px 0;
}

/* Kép nélküli szekciók - középre igazított tartalom */
section.small-content:not(.image-left-text-right):not(.text-left-image-right)
  .container {
  max-width: 900px;
  text-align: left;
}

/* Tax Info szekció - professzionális, kiemelkedő */
section.small-content:has(h2:contains("Tax info")) {
  background: linear-gradient(
    180deg,
    rgba(180, 217, 216, 0.2) 0%,
    rgba(180, 217, 216, 0.05) 100%
  );
  padding: 100px clamp(20px, 4vw, 80px) 80px;
  border-top: 4px solid var(--primary);
  margin-top: 80px;
}

/* Tricks & tips szekció - figyelemfelkeltő, meleg */
section.list {
  margin-top: 60px;
  padding: 100px clamp(20px, 4vw, 80px) 80px;
  background: linear-gradient(
    135deg,
    rgba(227, 180, 120, 0.15) 0%,
    rgba(245, 241, 236, 0.4) 50%,
    rgba(180, 217, 216, 0.15) 100%
  );
  border-radius: 30px;
  box-shadow: 0 10px 40px rgba(40, 157, 164, 0.08);
}

section.list::before {
  display: none;
}

/* Contact szekció kiemelése */
.contact {
  margin-top: 80px;
  padding-bottom: 80px;
}

/* ==============================================
   EXCLUSIVE DEALS SECTION
   ============================================== */

.exclusive-deals {
  background-color: var(--light);
  padding: 100px clamp(20px, 4vw, 80px);
}

.exclusive-deals .section-h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

.exclusive-deals .intro-text {
  text-align: center;
  font-size: 1.125rem;
  max-width: 800px;
  margin: 0 auto 4rem;
  color: var(--dark);
}

.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
  align-items: stretch;
}

.deal-card {
  background: white;
  padding: 40px 20px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.deal-card:hover {
  transform: translateY(-5px);
  box-shadow: 2px 8px 24px 8px rgba(200, 201, 201, 0.25);
  border-color: var(--primary);
}

.deal-card.featured {
  border: 2px solid var(--primary);
  background: linear-gradient(135deg, #ffffff 0%, #f5f9f9 100%);
}

.deal-number {
  position: absolute;
  top: -15px;
  left: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  font-family: "Lora", sans-serif;
}

.featured-badge {
  position: absolute;
  top: 20px;
  right: -10px;
  background-color: var(--primary);
  color: white;
  padding: 0.5rem 1.25rem 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  clip-path: polygon(100% 0, 93% 50%, 100% 100%, 0 100%, 0 0);
  font-family: "Lora", sans-serif;
}

.deal-card h3 {
  color: var(--dark);
  margin: 2rem 0 1.25rem;
  margin-bottom: 0;
  font-size: 1.375rem;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.3;
}

.deal-card p {
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.deal-features {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

.deal-features li {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  position: relative;
  margin-left: 0;
}

.deal-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.deal-card .primary-link {
  margin-top: auto;
  font-size: 0.9375rem;
  align-self: flex-start;
}

/* CTA Box */
.deals-cta {
  background: white;
  color: var(--dark);
  padding: 50px 40px;
  text-align: center;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border: 2px solid var(--primary);
}

.deals-cta h3 {
  color: var(--dark);
  font-size: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.deals-cta p {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.deals-cta .tagline {
  font-style: italic;
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 2rem;
}

.deals-cta .primary-link {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
  font-size: 1.125rem;
  padding: 0.875rem 2rem;
  margin: 0 auto;
  cursor: pointer;
}

.deals-cta .primary-link:hover {
  background-color: var(--dark);
  border-color: var(--dark);
  color: white;
}

/* ==============================================
   RESPONSIVE - MOBILE
   ============================================== */

@media (max-width: 767px) {
  section {
    padding: 60px 20px 40px;
  }

  section + section {
    margin-top: 30px;
  }

  section:not(.hero):not(.breadcrumbs)::before {
    width: 85%;
  }

  .small-content {
    padding: 40px 20px 40px;
  }

  .small-content + .small-content {
    margin-top: 40px;
  }

  section.small-content.text-left-image-right:nth-of-type(4),
  section.small-content.text-left-image-right:nth-of-type(6),
  section.small-content.image-left-text-right:nth-of-type(7) {
    padding: 40px 20px 40px;
    border-radius: 20px;
  }

  section.list {
    margin-top: 40px;
    padding: 60px 20px 60px;
    border-radius: 20px;
  }

  .contact {
    margin-top: 60px;
    padding-bottom: 60px;
  }

  section.small-content h3:not(:first-of-type) {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(224, 215, 207, 0.6);
  }

  /* Exclusive Deals - Mobile */
  .exclusive-deals {
    padding: 60px 20px;
  }

  .exclusive-deals .intro-text {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }

  .deals-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 40px;
  }

  .deal-card {
    padding: 35px 25px;
  }

  .deal-card h3 {
    font-size: 1.2rem !important;
    margin-top: 1.3rem !important;
    margin-bottom: 0rem !important;
  }

  .deal-card li {
   font-size: 16px !important;
  }

  .deals-cta {
    padding: 35px 25px;
  }

  .deals-cta h3 {
    font-size: 1.5rem;
  }

  .deals-cta p {
    font-size: 1rem;
  }
}

/* ==============================================
   RESPONSIVE - TABLET
   ============================================== */

@media (min-width: 768px) and (max-width: 1023px) {
  section {
    padding: 80px clamp(20px, 4vw, 80px) 50px;
  }

  section + section {
    margin-top: 35px;
  }

  .small-content + .small-content {
    margin-top: 50px;
  }

  section.list {
    margin-top: 50px;
  }

  .contact {
    margin-top: 70px;
  }
}

.section-h2 {
  font-size: 2.8rem;
}

@media screen and (max-width: 600px) {
  .section-h2 {
    font-size: 2.2rem;
  }
}
