
 
 /* @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Playfair+Display:wght@400;700&display=swap'); */
 /* @import url('https://fonts.googleapis.com/css2?family=Cherry+Bomb+One&display=swap'); */
 @import url('https://fonts.googleapis.com/css2?family=Praise&display=swap');

 
 @import url('files/typography.css');
 @import url('files/buttons.css');
 @import url('files/navigacia.css');
 @import url('files/techniky.css');
 @import url('files/block.css');
 @import url('files/footer.css');
 @import url('files/contact.css');
 @import url('files/cennik.css');
 

 html {
    scroll-behavior: smooth;
 }
 body, html {
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
    /* height: 100%; */
    background: #fff0f0;
    width: 100vw;
    overflow-x: hidden;
}
@media (min-width: 1201px) {
    .hero img {
        max-width: 820px;
    }
}
.gradient-line {
    width: 250px;
    height: 8px;
    background: linear-gradient(90deg, #6e48aa, #9d50bb, #6e48aa);
    border-radius: 999px;
    margin: 0 auto 20px;
  }
  .gradient-line-s {
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, #6e48aa, #9d50bb, #6e48aa);
    border-radius: 999px;
    margin: 0 auto 20px;
  }
  .gradient-line-left {
    margin: 0 auto 20px 0;
  }

    

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
}
  
  
  /* HERO */
  .hero {
    text-align: center;
    padding: 0;
    position: relative;
    z-index: 2;
    background-image: url(../img/splash-bg.png);
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .hero .img-wrap {
    background: url(../img/machula-s-logom.png) center / contain;
    aspect-ratio: 1;
    width: auto;
    max-width: 790px;
    margin: auto;
  }
  .hero img {
    width: auto;
    animation: breathe 5s ease-in-out infinite;
  }
  @keyframes breathe {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
  }
  .hero > * {
    margin: 0px 0 10px;
  }

  /* Sekcia */
section {
    z-index: 1;
    width: 100%;
}
section.grid {
    display: grid;
    align-items: center;
    justify-content: center;
}


/* Utilities */
.grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    justify-items: center;
    justify-content: center;
    width: max-content;
    margin: 0 auto;
}
.border-white-s {
    border: 2px solid white
}
.border-white-m {
    border: 3px solid white
}
.border-white-l {
    border: 4px solid white
}
.border-white-xl {
    border: 5px solid white
}
section.grid3 .blob-card.up {
    margin-top: 32px;
  }
.next-section {
    /* padding: 60px 20px; */
    text-align: center;
    /* width: auto; */
    position: relative;
  }


  .gradient-background {
    background: linear-gradient(135deg, #E5F0FF 0%, #E3D8FC 50%, #F5DAE3 100%);
  }
  .gradient-background-b {
    background: linear-gradient(135deg, #ECECFA 0%, #FCEEEC 100%);
  }
  .gradient-background-c {
     background: linear-gradient(to bottom right, #FFAB85, #FFE2BC);
  }
  .gradient-background-d {
    background: linear-gradient(to bottom right, #EBEBF8, #FBEDEB);
  }
  .gradient-background-e {
    background: linear-gradient(to bottom right, #FAD9A7, #FBB7C3, #D7B1E5, #BDEDE1);
  }
  .gradient-background-f {
    background: linear-gradient(135deg, #fefefe 0%, #f1ecfd 50%, #fffcfd 100% 100%);
  }
  
  .background-a {
    background: #403D45;
  }
  
  .white {
    background-color: white;
  }
  .color-white {
    color: white;
  }
  .color-dark {
    color: #1f2c71;
    }
  .padding-lg {
    padding: 4rem 0;
  }
  .padding-xl {
    padding: 6rem 0;
  }
  .full {
    width: 100vw;
  }

  .bg-machula {
    background: url(../img/machula.png) bottom right no-repeat;
    background-size: 45%;
  }
  .bg-machula > div {
    padding-inline: 16px;
    }
  .bg-machula-top {
    background-image: url(../img/machula.png);
    background-size: 40%;
    background-repeat: no-repeat;
    background-position: top left;
  }

  .opacity-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100%;    
    background: linear-gradient(to bottom right, #FAD9A7, #FBB7C3, #D7B1E5, #BDEDE1);
    z-index: -2;
    opacity: 0.35;

  }
  


  
  .wave {
    position: absolute;
    bottom: -70px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 42;
    margin: 0;
    transform: rotate(180deg);
}
  
  .wave svg {
    position: relative;
    display: block;
    width: calc(150% + 1.3px);
    height: 100px;
  }
  
  .wave path {
    transform: translateX(-10%);
  }
  .organic-bg {
    border-radius: 60% 40% 70% 30% / 30% 60% 40% 70%;
    background: #f4c0ffa6;
    width: fit-content;
    padding: 40px 70px;
    margin: 0 auto;
    max-width: 90%;
}

.flipped-bg {
    position: relative;
    overflow: hidden;
  }
  
  .flipped-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/splash-bg.png");
    background-size: cover;
    background-position: center;
    transform: scaleY(-1); /* otočí pozadie hore nohami */
  }

.oslavy-content {
    width: max-content;
    margin: auto;
    background: #ffffffa8;
    border-radius: 24px;
    padding: 40px;
    /* aspect-ratio: 16 / 5; */
    max-width: 940px;
}
.oslavy-content ul {
    width: max-content;
    text-align: left;
    margin: 30px auto;
}
.poukazka {
    display: flex;
    width: 100%;
}
.poukazka .content {
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.poukazka .content div {
    background: #a40385;
    background: #390fd5;
    margin-right: -10%;
    z-index: 1;
    border-radius: 24px;
    padding: 32px;
    transform: rotate(-2deg);
    box-shadow: 0 8px 32px rgba(57, 15, 213, 0.25);
}
.poukazka .content div:nth-child(2) {
  transform: rotate(2deg);
  margin-top: 11px;
  background: #a40387;
  width: fit-content;
  align-self: center;
}
.poukazka .content div *:not(button):not(.button) {
    color: white;
}
.poukazka .image {
    width: 50%;
    overflow: hidden;
    border-radius: 100%;
    transform: rotate(3deg);
}
.poukazka .image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* orezanie a vyplnenie priestoru */
}


/* ---------------------------------------------------------------------------------   MODAL */

/* Overlay */
#overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
    pointer-events: none;
  }
  
  #overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  /* Modal */
  .modal {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 50%;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
  }
  
  .modal-content {
    padding: 40px;
    overflow-y: auto;
    max-width: 600px;
  }
  
  .modal-content img {
    width: 100%;
    border-radius: 8px;
    margin-top: 20px;
  }
  
  /* Close Button */
  .close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    background: #f8f8f8;
    z-index: 10001;
  }
  
  /* Active states */
  .overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .modal.active {
    transform: translateX(0);
  }
  
  /* Responsive */
  @media (max-width: 1024px) {
    .modal {
      width: 86%;
    }
  }

  

/* ---------------------------------------------------------------------------------   MODAL */
/* ---------------------------------------------------------------------------------   MODAL O NAS */
.about-us {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    font-family: 'Georgia', serif;
    line-height: 1.8;
    color: #333;
}
.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #e63946;
    margin-bottom: 30px;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #e63946;
    margin: 15px auto 0;
    border-radius: 2px;
}
.highlight { color: #e63946; font-weight: 600; }
.brand { color: #d62839; font-size: 1.1em; }
.magic, .colors, .heart, .joy { color: #9b59b6; font-style: italic; }
.gift { color: #27ae60; }
blockquote.vision {
    margin: 35px 0;
    padding: 20px 30px;
    background: #f8f9fa;
    border-left: 5px solid #e63946;
    font-style: italic;
    color: #444;
    font-size: 1.1em;
}
.philosophy del { color: #999; }
.closing, .welcome {
    text-align: center;
    font-size: 1.15em;
    margin-top: 30px;
    color: #2c3e50;
}
.welcome {
    font-weight: bold;
    color: #e63946;
    font-size: 1.3em;
    margin-top: 40px;
}
/* Darcekove poukazky */
.gift-vouchers {
    padding: 30px;
    font-family: 'Georgia', serif;
    line-height: 1.8;
    color: #2c3e50;
}
.section-title {
    text-align: center;
    font-size: 2.3rem;
    color: #e63946;
    margin-bottom: 35px;
    position: relative;
    max-width: calc(100% - 70px);
}
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #e63946, #f4a261);
    margin: 15px auto 0;
    border-radius: 2px;
}
.highlight {
    color: #e63946;
    font-weight: 700;
    font-size: 1.1em;
}
.intro {
    font-size: 1.15em;
    color: #444;
    margin: 20px 0;
}
.gift-process {
    background: #fdf4f0;
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
    border-left: 5px solid #f4a261;
}
.magic { color: #e76f51; font-style: italic; }
.joy { color: #9b59b6; font-weight: 600; }
.quote {
    margin: 20px 0;
    padding: 15px 20px;
    background: #fff;
    border-radius: 8px;
    font-style: italic;
    color: #555;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.validity {
    background: #e8f5e9;
    padding: 18px;
    border-radius: 10px;
    margin: 25px 0;
}
.badge {
    background: #27ae60;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
}
.small-note {
    font-size: 0.95em;
    color: #2d6a4f;
    margin-top: 10px;
}
.contact-info {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    font-size: 1.1em;
}
.contact-info a {
    color: #e63946;
    text-decoration: none;
    font-weight: 600;
}
.contact-info a:hover {
    text-decoration: underline;
}
.contact-info i {
    color: #e63946;
    margin-right: 5px;
}
.kalendar iframe {
  width: 100vw;
  max-width: 1350px;
  aspect-ratio: 16/11;
  margin-block: 50px;
}
.price {
  background: #e8f4f8;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  font-size: 1.25rem;
  margin: 25px 0;
  border-left: 5px solid #3498db;
}
.price strong {
  font-size: 2rem;
  color: #2980b9;
}
.highlight {
  background: #fff3cd;
  padding: 18px;
  border-radius: 10px;
  border-left: 4px solid #f39c12;
  margin: 25px 0;
}
.note {
  font-size: 0.95rem;
  color: #555;
  font-style: italic;
  margin-top: 30px;
  text-align: center;
}
.cennik-note {
  padding: 24px;
  border-radius: 16px;
  background-color: #f5f6fa;
  margin-top: 40px;
}
/* ---------------------------------------------------------------------------------   MODAL O NAS */
/* ---------------------------------------------------------------------------------   MQ */



@media (max-width: 1199px) {
    body {
        min-width: 0;
        width: 100%;
    }
    .modal-content {
        padding: 24px;
    }
    .modal-content .about-us, 
    .modal-content .gift-vouchers{
        padding: 0;
        margin-top: 0;
    }
    .img-wrap {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        display: block;
    }
    .hero img {
        width: 200vw;
    }
    .hero .img-wrap {
        background: url(../img/machula-s-logom-mobile.png) 0 50px / 130% no-repeat;
        width: 100vw;
        aspect-ratio: 16 / 13;
        background-position-x: 40%;
    }
    body {
        font-size: 1.1rem; /* Slightly larger base font for readability */
    }
    h1.gradient {
        font-size: 3rem; /* Reduce heading size but keep it readable */
    }
    h6.rain {
        font-size: 1rem; /* Ensure subheadings are readable */
    }
    /* .hero img {
        max-width: 100%;
    } */
    .organic-bg {
        padding: 40px 20px;
    }
    .o-nas {
        margin-inline: 24px;
    }
    .padding-lg {
        padding: 2rem 0;
    }
    .padding-xl {
        padding: 4rem 0;
    }
    .oslavy-content {
        width: 90vw;
        padding: 16px;
    }
    .oslavy-content ul {
        width: auto;
    }
    .poukazka {
        flex-direction: column;
        padding: 0 16px;
    }
    .poukazka .content div {
        margin-right: 0;
    }
    .poukazka .image,    
    .poukazka .content {
        width: 100%;
    }
    .poukazka .content {
        padding: 40px 0;
    }
    .container-contact {
        display: flex;
        flex-direction: column;
    }
    .contact-section {
        padding-inline: 20px;
    }
    .studio-map {
        min-height: 460px;
    }
    .links-list {
        list-style: none;
        margin: 0;
        margin-block-start: 0 !important;
        padding-inline-start: 0;
    }
    .icon-calendar {
        font-size: 48px;
        margin-bottom: 0px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 12px;
    }
    .left-panel, .right-panel {
        padding: 40px 16px;
    }
    .subtitle {
    text-align: left;
    }
    .blob-card {
        width: 90vw;
        aspect-ratio: 1;
        height: auto;
    }
    .description {
        font-size: 1rem;
        padding-top: 15px;
        opacity: 1;
        max-width: 80%;
        margin-inline: auto;
    }
    .blob-card .title {
        transform: translateY(100px);
    }
    .techniques-container {
        padding: 0;
        grid-template-columns: 1fr; 
    }
    .techniques-container .card-header {
        padding: 50px 0 0;
        text-align: center;
        position: relative;
    }
    .techniques-container .card-body {
        padding: 0 ;
    }
    .techniques-container .quote {
        margin: 0;
    }
}
@media (max-width: 1199px) and (min-width: 768px) {
    .grid3 {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
@media (max-width: 767px) {
    .grid3 {
      /* grid-template-columns: 1fr; */
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;
    }
    /* .blob-card {
        position: relative;
        width: 300px;
        height: 300px;
    } */
  }

