/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
  --bgcolor: #ffffff;
}

body {
    font-family: "Josefin Sans", sans-serif;
    color: #4A4A4A;
    background-color: var(--bgcolor);;
}

/* Font styles */
h1, h2 {
  font-family: "Poppins", sans-serif;
}

/* Container */
.container {
    width: 90%;
    max-width: 1000px;
    margin: auto;
}

/* Navbar */
.navbar {
    font-family: "Poppins", sans-serif;
    position: fixed;
    width: 100%;
    background: #F1E5D1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.navbar .logo {
    font-size: 2.4em;
    color: #987070;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Dancing Script', cursive; 
}

.navbar .logo img {
    height: 40px; /* můžete upravit podle potřeby */
    width: auto;
}

.navbar .logo-link {
    text-decoration: none;
    color: inherit;
}

/* zachová barvu i při najetí myší */
.navbar .logo-link:hover {
    color: #987070;
}


.menu {
    list-style: none;
    display: flex;
    gap: 30px;
    margin-right: 20px;
}

.menu li a {
    color: #987070;
    text-decoration: none;
    font-weight: bold;
}

.menu li a:hover {
    color: #C39898;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #987070;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Media query pro menší obrazovky */
@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-right {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #F1E5D1;
        padding-top: 80px;
        transition: 0.3s ease;
    }

    .nav-right.active {
        right: 0;
    }

    .menu {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin: 0;
        padding: 0;
    }

    .menu li {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    /* Animace pro hamburger menu */
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(8px, 6px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -5px);
    }
}


/* Hero Section */

.hero {
    height: 100vh;
    background-image: url('images/aja_yoga.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}


/* Styl pro nadpis a speciální podtržení */
.hero-content h2 {
    font-size: 3em;
    font-weight: bold;
    color: var(--bgcolor);;
    text-align: center;
    margin-bottom: 10px;
}

.hero-content h2 .join-highlight {
    color: #DBB5B5; /* Barva slova JOIN */
    font-weight: bold;
    display: inline-block;
    position: relative;
    text-decoration: underline;
    text-decoration-color: #C39898; /* Barva podtržení */
    text-decoration-thickness: 3px; /* Tloušťka podtržení */
    text-underline-offset: 5px; /* Vzdálenost podtržení od textu */
}

/* Textový odstavec pod nadpisem */
.hero-content p {
    font-size: 1.2em;
    color: var(--bgcolor);;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-top: 10px;
}

/* Styl pro tlačítko */
.cta-button {
    display: inline-block;
    font-family: "Poppins", sans-serif;
    padding: 15px 30px 10px 30px;
    background-color: #C39898;
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    cursor: pointer; 
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.cta-button:hover {
    background-color: #987070;
    color: #FFF;
}

.cta-button:focus {
    outline: none;
}


/* About Section */
.about-section {
    padding: 80px 0;
    background-color: var(--bgcolor);;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.about-image {
    flex: 1;
    max-width: 40%; /* Fotka zabírá přesně polovinu prostoru */
    height: 550px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fotka se přizpůsobí čtverci */
}

.about-text {
    flex: 1;
    font-size: 1.1em;
    font-weight: 300;
    color: black; /* #987070;  */
    line-height: 1.5;
    max-width: 60%;
    text-align: left; /* Text bude zarovnán doleva */
}

.about-text h2 {
    font-size: 2.5em;
    font-weight: bold;
    color: black; /* #987070;  */
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
}

.about-text em {
    font-style: italic;
    color: #987070;
    font-size: 1.2em;
}


/* Přidáme media query pro menší obrazovky */
@media screen and (max-width: 768px) {
    .about-content {
        flex-direction: column; /* Změní směr flexboxu na vertikální */
        gap: 40px; /* Zvětšíme mezeru mezi fotkou a textem */
    }
    
    .about-image {
        max-width: 100%; /* Fotka bude přes celou šířku */
        height: 400px; /* Můžete upravit výšku podle potřeby */
        order: -1; /* Zajistí, že fotka bude první */
    }
    
    .about-text {
        max-width: 100%; /* Text bude přes celou šířku */
        text-align: center; /* Volitelně můžete zarovnat text na střed */
    }
    
    .about-text h2 {
        font-size: 2em; /* Trochu zmenšíme nadpis pro mobilní zobrazení */
    }
}

/* Případně můžeme přidat ještě menší breakpoint pro mobily */
@media screen and (max-width: 480px) {
    .about-image {
        height: 300px; /* Ještě menší výška pro mobilní telefony */
    }
    
    .about-text {
        font-size: 1em; /* Menší text pro mobilní zobrazení */
    }
    
    .about-text h2 {
        font-size: 1.8em;
    }
}


/* Yoga Classes Section */
#yoga-classes {
    padding: 80px 0;
    background-color: var(--bgcolor);;
    text-align: center;
}

#yoga-classes h2 {
    font-size: 2.5em;
    font-weight: bold;
    color: black; /* #987070;  */
    margin-bottom: 20px;
}

.yoga-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.yoga-text {
    flex: 1;
    font-size: 1.1em;
    font-weight: 300;
    color: black; /* #987070;  */
    line-height: 1.5;
    max-width: 100%;
    text-align: left; /* Text bude zarovnán doleva */
}

.yoga-text p {
    margin-bottom: 15px;
}

.cta-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.yoga-image {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.yoga-image img {
    max-width: 50%;
    height: auto;
    object-fit: cover;
}


/* Yoga Retreats Section */
#retreats {
    padding: 80px 0;
    background-color: var(--bgcolor);;
    text-align: center;
}

#retreats h2 {
    font-size: 2.5em;
    font-weight: bold;
    color: black; /* #987070;  */
    margin-bottom: 20px;
}

#retreats p {
    flex: 1;
    font-size: 1.1em;
    font-weight: 300;
    color: black; /* #987070;  */
    line-height: 1.5;
    max-width: 100%;
    text-align: left; /* Text bude zarovnán doleva */
    margin-bottom: 15px;
}

.retreat-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
    padding: 20px;
    background-color: #DBB5B5;
    text-align: left;
}

.retreat-text {
    flex: 1;
}




.retreat-image {
    flex: 0 0 40%;
    margin-left: 20px;
}

.retreat-image img {
    width: 100%;
}

.retreat-image {
    position: relative; /* Umožňuje umístění potomků relativně k tomuto kontejneru */
    flex: 0 0 40%;
    margin-left: 20px;
}

.retreat-image img {
    width: 100%;
    display: block; /* Zajistí, že obrázek se chová jako blokový element */
}

.image-label {
    position: absolute; 
    top: 10px; 
    right: -20px; 
    background-color: rgba(0, 0, 0, 0.7); /* Poloprůhledné černé pozadí */
    color: white; 
    padding: 15px 15px 10px 20px; 
    font-size: 1.2em;
    text-transform: uppercase;
    font-weight: bold;
}

/* Přidáme media query pro menší obrazovky */
@media screen and (max-width: 768px) {
    .retreat-details {
        flex-direction: column;
        gap: 30px; /* Mezera mezi textem a obrázkem */
    }
    
    .retreat-text {
        width: 100%;
    }
    
    .retreat-image {
        width: 100%;
        margin-left: 0; /* Odstraníme levý margin */
        margin-top: 20px; /* Přidáme margin nad obrázkem */
    }
    
    #retreats h2 {
        font-size: 2em; /* Menší nadpis pro mobilní zobrazení */
    }
}

/* Pro ještě menší obrazovky */
@media screen and (max-width: 480px) {
    #retreats h2 {
        font-size: 1.8em;
    }
    
    #retreats p {
        font-size: 1em;
    }
    
    .retreat-details {
        padding: 15px; /* Menší padding pro mobilní zobrazení */
    }
}


/* Testimonials Section */
#testimonials {
    padding: 80px 0;
    background-color: var(--bgcolor);;
}

#testimonials h2 {
    font-size: 2.5em;
    font-weight: bold;
    color: black; /* #987070;  */
    margin-bottom: 20px;
}


.testimonials {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap; /* Aby se referenční boxy přizpůsobily menší obrazovce */
}

.testimonial-item {
    flex: 1 1 30%; /* Každý box zabírá přibližně třetinu šířky */
    background-color: #F1E5D1;
    padding: 20px;
    text-align: center;
    font-weight: 300;
}

.testimonial-image img {
    max-width: 250px;
    max-height: 250px;
    object-fit: cover;

    margin-bottom: 15px; /* Mezery mezi fotkou a textem */
}

.testimonial-text blockquote {
    font-size: 1.1em;
    font-style: italic;
    color: black;
    margin-bottom: 15px;
}

.testimonial-text p {
    font-size: 1em;
    color: black;
}

.testimonial-text strong {
    font-weight: bold;
    color: black;
}


/* Contact Section */
#contact {
    padding: 60px 0;
    background-color: var(--bgcolor);;
    text-align: center;
}

#contact  h2 {
    font-size: 2.5em;
    font-weight: bold;
    color: black; /* #987070;  */
    margin-bottom: 20px;
}

.contact-form {
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    font-size: 1.1em;
    color: #987070;
    margin-bottom: 5px;
    display: block;
    text-align: left;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    font-size: 1.1em;
    color: #000000;
    background-color: #fff;
    border: 2px solid #ededed;
    border-radius: 5px;
    box-sizing: border-box;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #987070;
    outline: none;
}

.contact-form .cta-button {
    margin: 20px auto 0; /* Automatické zarovnání pro zajištění středového umístění */
    display: inline-block; /* Umožní text-align ovlivnit tlačítko */
}







/* Remaining Sections */
.section {
    padding: 60px 0;
    text-align: center;
}

/* Instagram Feed */
.instagram-feed {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.instagram-feed img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #987070;
    color: white;
    font-size: 0.9em;
}

/* Existing CSS remains the same until navbar styles */

/* Updated Navbar styles */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-right {
    margin-left: auto;
}

.menu {
    list-style: none;
    display: flex;
    gap: 30px;
    margin-right: 0;
    align-items: center;
}

/* Language Switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 20px;
}

.lang-btn {
    color: #987070;
    text-decoration: none;
    font-weight: bold;
    padding: 2px 5px;
    transition: color 0.3s ease;
}

.lang-btn.active {
    color: #C39898;
}

.lang-btn:hover {
    color: #C39898;
}




            
.link-svgmarker a svg.link-svgline {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: -1;
  overflow: hidden;
  margin: 0;
  width: 100%;
  height: 60px;
  opacity: 0.5; 
  transition: stroke-dashoffset 0.3s ease-in-out;
  transform: translateY(-100%);
  fill: none;
  stroke: #f0f567;
  stroke-width: 36;
  stroke-dasharray: 400px; 
  stroke-dashoffset: 400px;
}

.link-svgmarker a:hover svg.link-svgline {
  stroke-dashoffset: 0px; 
}
    







.svg-wrap {
  position: absolute;
  width: 0px;
  height: 0px;
  overflow: hidden;
}


section {
  position: relative;
  z-index: 1; /* needed for setting pseudo-element z-index */
  overflow: hidden;
  backface-visibility: hidden;
}

section a {
  position: relative;
  display: inline-block;
  outline: none;
  color: #404d5b;
  vertical-align: bottom;
  text-decoration: none;
  white-space: nowrap;
}

section a::before,
section a::after {
  pointer-events: none;
  backface-visibility: hidden;
  font-smoothing: antialiased;
}



.highlight-container, .highlight {
  position: relative;
}

.highlight-container {
  display: inline-block;
}
.highlight-container:before {
  content: " ";
  display: block;
  height: 90%;
  width: 100%;
  margin-left: -3px;
  margin-right: -3px;
  position: absolute;
  background: #f7e9e9;
  transform: rotate(2deg);
  top: -1px;
  left: -1px;
  border-radius: 20% 25% 20% 24%;
  padding: 10px 6px 6px 10px;
}   
    