/* narayani YOGA - static site styles */

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/open-sans-300.ttf") format("truetype");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/open-sans-400.ttf") format("truetype");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/open-sans-700.ttf") format("truetype");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/source-sans-3-300.ttf") format("truetype");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-400.ttf") format("truetype");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-700.ttf") format("truetype");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/source-sans-3-900.ttf") format("truetype");
}

:root {
  --color-accent: #ffcb33;
  --color-accent-soft: #fffcd;
  --color-text: #333333;
  --color-muted: #888888;
  --font-heading: "Source Sans 3", "Open Sans", sans-serif;
  --font-body: "Open Sans", "Source Sans 3", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #fff;
  line-height: 1.6;
}

a {
  color: var(--color-text);
  text-decoration: none;
}
a:hover {
  text-decoration: none;
  opacity: 0.8;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-fluid {
  width: 100%;
  padding: 0;
}

/* Header - overlays the hero, like the original theme */
header.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: 20px;
}

.home header.site-header {
  background: transparent;
}

header.site-header.inner-page {
  position: static;
  background: #fefcf6;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  border-bottom: 3px solid var(--color-accent);
  padding-top: 0;
}

header.site-header.inner-page .container {
  padding-top: 16px;
  padding-bottom: 16px;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-header .logo img {
  width: 200px;
  height: auto;
}

.site-header .logo .logo-mobile {
  display: none;
}

header.site-header.inner-page .logo img {
  width: 160px;
}

/* Burger toggle - hidden on desktop */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
}

header.site-header.inner-page .menu-toggle span {
  background: #7a7469;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

nav.main-nav a {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

header.site-header.inner-page nav.main-nav a {
  color: #7a7469;
  font-weight: 600;
}

nav.main-nav a:hover {
  color: #efefef;
  opacity: 1;
}

header.site-header.inner-page nav.main-nav a:hover {
  color: var(--color-accent);
}

/* Responsive navigation */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  nav.main-nav {
    display: none;
    width: 100%;
    background: #fff;
    order: 3;
    margin-top: 16px;
  }

  nav.main-nav.is-open {
    display: block;
  }

  nav.main-nav ul {
    display: block;
  }

  nav.main-nav ul li {
    width: 100%;
    border-bottom: 1px solid #e4e4e4;
  }

  nav.main-nav a {
    display: block;
    width: 100%;
    padding: 14px 4px;
    color: #7a7469;
    text-align: center;
  }

  nav.main-nav a:hover {
    color: var(--color-accent);
  }

  .site-header .container {
    position: relative;
  }
}

@media (max-width: 600px) {
  .site-header .logo .logo-desktop {
    display: none;
  }
  .site-header .logo .logo-mobile {
    display: block;
    width: 70px;
  }
}

/* Hero - full-width image, header floats on top of it */
.hero {
  position: relative;
  line-height: 0;
}

.hero-image {
  width: 100%;
  height: auto;
}

/* Sections */
section {
  padding: 60px 0 40px;
}

section#testimonials {
  background: #fff;
  border-top: 1px solid var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
}

section#projects,
section#contact-us {
  background: var(--color-accent);
  color: #fff;
}

.section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 1.8em;
  margin-bottom: 40px;
  padding: 0 24px;
}

section#testimonials .section-title,
#about .section-title {
  color: var(--color-accent);
}

section#projects .section-title,
section#contact-us .section-title {
  color: #fff;
}

/* Quotes / testimonials carousel */
.carousel {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.carousel-viewport {
  overflow: hidden;
  min-height: 260px;
  touch-action: pan-y;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
  text-align: center;
}

.slide-text {
  color: var(--color-muted);
  max-width: 800px;
  margin: 0 auto 8px;
}

.slide-list {
  display: inline-block;
  text-align: left;
  color: var(--color-muted);
  margin: 0 auto 8px;
  padding-left: 20px;
}

.slide-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 16px auto;
}

blockquote {
  margin: 0;
  padding: 20px 28px;
  background: #fff;
  color: var(--color-muted);
  font-style: italic;
  text-align: center;
}

.slide-meta {
  margin-top: 12px;
  font-weight: 700;
  color: var(--color-muted);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #ffffcd;
  padding: 0;
  cursor: pointer;
}

.carousel-dot.active,
.carousel-dot:hover {
  background: var(--color-accent);
}

/* Scroll to top */
.scrolltop-container {
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.scrolltop {
  display: inline-block;
  width: 39px;
  height: 39px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.scrolltop-yellow {
  background-image: url("../images/totop_gelb.png");
}
.scrolltop-white {
  background-image: url("../images/totop_weiss.png");
}

/* Course teaser cards */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 5px;
  row-gap: 5px;
}

.course-card {
  position: relative;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-color: var(--color-accent);
  background-size: auto;
  background-position: center center;
  background-repeat: no-repeat;
  transition: opacity 0.2s ease;
  overflow: hidden;
}

.course-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.course-card:hover,
.course-card:focus {
  opacity: 0.8;
}

.course-card:hover::after,
.course-card:focus::after {
  opacity: 1;
}

.course-card.teaser-power {
  background-image: url("../images/Power-Yoga.png");
}
.course-card.teaser-workshop {
  background-image: url("../images/Workshops.png");
}

.course-card .teaser-subject,
.course-card .teaser-desc,
.course-card .teaser-text {
  position: relative;
  z-index: 1;
}

.course-card .teaser-subject,
.course-card .teaser-desc {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.course-card .teaser-subject {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 24px;
  text-transform: uppercase;
}

.course-card .teaser-desc {
  font-weight: 700;
  margin: 4px 0 14px;
}

.course-card .teaser-text {
  border: 1px solid #fff;
  border-radius: 10px;
  padding: 6px 14px;
  font-weight: 700;
  font-size: 12px;
}

@media (max-width: 900px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }
  .course-card {
    height: 160px;
  }
}

/* Contact */
.contact-box {
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.contact-us-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-us-box .box-left {
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  color: #fff;
  padding-right: 20px;
  border-right: 1px solid #fff;
  white-space: nowrap;
}

.contact-us-box .box-right {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-us-box .box-right span {
  font-size: 15px;
  color: #fff;
  line-height: 1.6;
}

.contact-us-box .box-right a {
  color: #fff;
  text-decoration: none;
}

.contact-us-box .box-right a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .contact-us-box {
    flex-direction: column;
    gap: 8px;
  }
  .contact-us-box .box-left {
    border-right: none;
    border-bottom: 1px solid #fff;
    padding-right: 0;
    padding-bottom: 8px;
  }
}

.contact-form {
  text-align: left;
}

.contact-form .form-row {
  display: flex;
  gap: 15px;
}

.contact-form .form-row p {
  flex: 1;
}

@media (max-width: 700px) {
  .contact-form .form-row {
    flex-direction: column;
    gap: 0;
  }
}

.contact-form p {
  margin: 0 0 20px;
}

.contact-form .hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 400;
  font-size: 15px;
  color: #fff;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0 20px;
  height: 46px;
  border: none;
  border-radius: 0;
  font-family: inherit;
  font-size: 15px;
  background: #fffcd6;
  color: #e69f67;
}

.contact-form textarea {
  height: 160px;
  padding: 10px 20px;
  resize: none;
}

.contact-form .form-hint,
.contact-form .form-consent {
  font-size: 0.85em;
  color: #fff;
}

.contact-form .form-consent a {
  color: #fff;
  text-decoration: underline;
}

.contact-form .form-status {
  font-weight: 700;
  min-height: 1.2em;
}

.contact-form .form-submit {
  text-align: right;
  margin-top: 24px;
}

.contact-form .btn {
  border: none;
  cursor: pointer;
  background: #fff;
  color: #e69f67;
  border-radius: 2px;
  padding: 0 60px;
  height: 44px;
  line-height: 44px;
}

.contact-form .btn:hover {
  opacity: 0.85;
}

/* Page hero (subpages) */
.page-hero {
  background: var(--color-accent);
  color: #fff;
  text-align: center;
  padding: 70px 24px 50px;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  margin: 0;
}

.page-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px;
}

.page-content h2 {
  color: var(--color-accent);
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 1.3em;
}

.offer-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0 30px;
}

.offer-gallery figure {
  margin: 0;
}

.offer-gallery img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.offer-gallery figcaption {
  margin-top: 8px;
  font-size: 0.92em;
  color: #666;
}

@media (max-width: 700px) {
  .offer-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .offer-gallery img {
    height: auto;
  }
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
}

.info-table th {
  width: 140px;
  color: var(--color-accent);
}

.status-badge {
  display: inline-block;
  background: #fdf3d7;
  color: #8a6d00;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.9em;
  margin-bottom: 16px;
}

.btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9em;
}

.btn:hover {
  opacity: 0.85;
}

/* Footer */
footer.site-footer {
  background: #f5f5f5;
  color: #7f7f7f;
  padding: 56px 0 0;
  font-size: 0.96em;
}

.site-footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(0, 1fr) minmax(240px, 0.85fr);
  gap: 32px;
  align-items: stretch;
}

.footer-brand,
.footer-links,
.footer-contact {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.footer-brand-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 60px;
  margin-bottom: 12px;
  margin-top: -38px;
  padding-left: 18px;
}

.footer-links,
.footer-contact {
  padding-top: 14px;
}

.footer-brand-mark::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffe7a0 0%, var(--color-accent) 100%);
  transform: translateY(-50%);
  opacity: 0.9;
}

.site-footer .footer-logo {
  position: relative;
  z-index: 1;
}

.site-footer .footer-logo img {
  width: 154px;
  height: auto;
}

.footer-kicker,
.footer-heading {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a0a0a0;
}

.footer-title {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 1.55rem;
  line-height: 1.08;
  color: #6f6f6f;
}

.footer-text {
  max-width: 34ch;
  margin: 0;
  line-height: 1.5;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.footer-social a {
  display: inline-flex;
  width: 20px;
  height: 20px;
  color: #7f7f7f;
}

.footer-social svg {
  width: 100%;
  height: 100%;
}

.footer-social a:first-child svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li + li {
  margin-top: 8px;
}

.footer-list-external {
  margin-top: 15px;
  padding-top: 9px;
  border-top: 1px solid #e7e7e7;
}

.footer-list-external a::after {
  content: " \2197";
  font-size: 0.9em;
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.35;
}

.footer-contact-list li + li {
  margin-top: 10px;
}

.footer-contact-icon {
  width: 16px;
  flex: 0 0 16px;
  text-align: center;
  color: #6d6d6d;
  line-height: 1.2;
}

.site-footer a {
  color: #7f7f7f;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #d8a700;
  opacity: 1;
}

.footer-bottom {
  margin-top: 4px;
  padding: 20px 0 24px;
  border-top: 1px solid #dddddd;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-legal {
  margin: 0;
  color: #909090;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 24px;
}

.footer-meta a {
  font-size: 0.92em;
}

@media (max-width: 900px) {
  .site-footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  footer.site-footer {
    padding-top: 44px;
  }

  .site-footer-main {
    gap: 28px;
  }

  .footer-brand,
  .footer-links,
  .footer-contact {
    text-align: center;
  }

  .footer-text {
    max-width: none;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-brand-mark {
    justify-content: center;
    width: 100%;
    padding-left: 0;
  }

  .footer-brand-mark::before {
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .footer-contact address {
    line-height: 1.7;
  }

  .footer-contact-list li {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .footer-meta {
    justify-content: center;
  }
}
