@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

:root{
    --color1: #dfdfdf;
    --color2: #3a5b2c;
}

*{
    font-family: 'Quicksand', sans-serif;
    box-sizing: border-box; 
    margin: 0;
    padding: 0;
    outline: none; 
    border: none; 
    text-decoration: none;
    transition: all .3s linear;
}

*::selection{ 
    background: #333;
    color: #fff;
}

html{
    font-size: 90%;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}

body{
    background: #f5f5f5;
}

section{
    min-height: 50vh; 
    padding: 4rem 7%;
}

header{
    width: 100%;
    background: var(--color1);
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    position: sticky; 
    top: 0;
    z-index: 5;
    padding: 2rem 7%;
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0,10%);
}

header .logo a{
    font-size: 2rem;
    font-weight: 600;
    color: #444;
    
}

header img{
    height: 4rem;
    margin-right: 1rem;
}

header nav ul{
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
}

header nav ul li{
    margin-left: 1rem;
    animation: fade .2s ease-out forwards;
}

header nav ul li a{
    color: #555;
    font-size: 1.3rem;
    font-weight: 500;
    padding: .3rem .5rem;
    border-radius: .7rem;
}

header nav ul li a:hover{
    background: #ccc;
}

header nav .bloom-btn{
    background: #555;
    color: #eee;
}

header nav .bloom-btn:hover{
    background: #222;
    color: #eee;
}

.btn{
    display: inline-block;
    margin-top: 1rem;
    padding: 1rem 2rem;
    border-radius: 1rem;
    background: var(--color1);
    color: #444;
    overflow: hidden; 
    font-size: 1.2rem;
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0,10%);
    
}

.btn:hover{
    cursor: pointer;
    background: #ccc;
}

.info{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.info .image{
    flex: 1 1 15rem;
    
}

.info .content, .info .sl-content{
    flex: 1 1 25rem;
    
}

.info .image img{
    width: 100%;
    border-radius: 1rem;
}

.info .content h1{
    color: #555;
    font-size: 2.5rem;
}

.info .content h2{
    color: #555;
    font-size: 2rem;
    padding: 0 0 1rem;
}

.info .content h3{
    color: #666;
    font-size: 1.5rem;
    padding: 1rem 0;
}

.info .content p{
    color: #444;
    font-size: 1.3rem;
    padding: 0 0 1rem;
    line-height: 1.5;
}

#sakums{
    background: #f5f5f5;
    padding-top: 5rem;
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
    background-attachment: fixed;
}

#sakums span{
    margin: .5rem 0;
}

#sakums .image{
    flex: 1 1 20rem;
}

#sakums .content{
    flex: 1 1 30rem;
    padding-left: 3rem;
}

#par{
    background: #eee;
}

#pakalpojumi {
  position: relative;
  overflow: hidden;
}

.pakalpojumi-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url("images/bg_coco.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: -1;
}

.pakalpojumi-content {
  position: relative;
  z-index: 1;
  color: white;
}


#pakalpojumi h1{
    font-size: 2.5rem;
    text-align: center;
    padding: 1rem;
    color: #fff;
    text-shadow: .2rem .3rem .2rem #333;
}

#pakalpojumi .box-container{
    display: flex;
    align-items: stretch ;
    justify-content: space-between ;
    flex-wrap: wrap;
}

#pakalpojumi .box, #bloom-cenradis .box{
    flex: 1 1 25rem;
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    border: .1rem solid rgba(99, 99, 99, 0.1);
    padding: 2rem;
    margin: 1rem;
    border-radius: 1rem;
    box-shadow: 0 .5rem 1rem rgba(179, 179, 179, 0.1);
    text-align: left;
    position: relative;
    
}

#pakalpojumi .box-container .box p{
    font-size: 1.2rem;
}

#pakalpojumi .box .heading{
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

#pakalpojumi .box-container .box .price{
    font-size: 2rem;
    background: rgba(44, 44, 44, 0.6);
    color: var(--color1);
    font-weight: 500;
    padding: .3rem 1.5rem;
    border-radius: 1rem;
}

#bloom-cenradis .price{
    width: 5rem;
    background: #555;
    color: var(--color1);
    padding: .2rem .7rem;
    border-radius: .7rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

#pakalpojumi .box-container .box:hover, #bloom-cenradis .box:hover{
    background: rgba(243, 243, 243, 0.95);
    transform: scale(1.04);
}

#pakalpojumi .box-container .box img{
    width: 7rem;
    height: 7rem;
}

#pakalpojumi h2{
    font-size: 1.8rem;
    color: #555;
    padding: 0 0 1rem;
}

#pakalpojumi .extra{
    margin-top: 1rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

#pakalpojumi .extra div{
    flex: 1 1 8rem;
    background: var(--color1);
    padding: .5rem 0;
    margin: .5rem;
    text-align: center;
    border-radius: 1rem;
}

#pakalpojumi .extra div:hover{
    color: var(--color1);
    background: #eee;
}

#proceduras{
    background: #eee;
}

#proceduras h1, #pieejamiba h1{
    font-size: 2.5rem;
    text-align: center;
    padding: 1rem;
    color: #666;
}

#proceduras .box-container, #pieejamiba .box-container, #bloom-cenradis .box-container{
    display: flex;
    align-items: stretch ;
    justify-content: space-between ;
    flex-wrap: wrap;
}

#proceduras .box, #pieejamiba .box{
    flex: 1 1 36rem;
    background: var(--color1);
    color: #333;
    border: .1rem solid rgba(165, 165, 165, 0.1);
    padding: 2rem;
    margin: 1rem;
    border-radius: 1rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
    text-align: left;
    position: relative;
}

#proceduras .box p{
    color: #333;
    font-size: 1.2rem;
}

#proceduras .box .heading{
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

#proceduras .box .price{
    font-size: 2rem;
    background: rgba(107, 107, 107, 0.5);
    color: var(--color1);
    font-weight: 500;
    padding: .3rem 1.5rem;
    border-radius: 1rem;
}

#proceduras .box:hover, #pieejamiba .box:hover{
    background: rgb(232, 231, 234);
    transform: scale(1.04);
}

#proceduras .box img{
    width: 7rem;
    height: 7rem;
}

#proceduras h2{
    font-size: 1.8rem;
    color: #666;
    padding: 0 0 1rem;
}

#pieejamiba p{
    text-align: center;
    font-size: 1.3rem;
}

.row{
  display:flex;
  justify-content:space-between;
  padding:8px 0;
  font-size:15px;
  letter-spacing:2px;
}

.row span:last-child{
  font-weight:600;
}

#atsauksmes {
    background: #f8f9fa;
    padding: 5rem 7%;
}

#atsauksmes h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: #444;
}

#atsauksmes .slideshow-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.05);
    padding: 3.5rem 4rem;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#atsauksmes .mySlides {
    display: none;
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    text-align: center;
    width: 100%;
}

#atsauksmes .mySlides.activee {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}

#atsauksmes .quote-icon {
    font-size: 2.2rem;
    color: var(--color2);
    opacity: 0.4;
    margin-bottom: 1.2rem;
    display: block;
}

#atsauksmes q {
    font-size: 1.35rem;
    font-style: normal;
    color: #444;
    line-height: 1.7;
    display: block;
    quotes: "“" "”";
}

#atsauksmes .author {
    margin-top: 1.8rem;
    color: #222;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

#atsauksmes .author::before,
#atsauksmes .author::after {
    content: "";
    width: 25px;
    height: 1px;
    background: #ddd;
}

#atsauksmes .prev, #atsauksmes .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #ffffff;
    color: #555;
    font-size: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    user-select: none;
}

#atsauksmes .prev { left: -22px; }
#atsauksmes .next { right: -22px; }

#atsauksmes .prev:hover, #atsauksmes .next:hover {
    background: #333;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

#atsauksmes .dot-container {
    text-align: center;
    margin-top: 1.8rem;
}

#atsauksmes .dot {
    cursor: pointer;
    height: 8px;
    width: 8px;
    margin: 0 4px;
    background-color: #ddd;
    border-radius: 10px;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

#atsauksmes .dot.active, #atsauksmes .dot:hover {
    width: 28px;
    background-color: #555;
}

@media (max-width: 600px) {
    #atsauksmes .slideshow-container {
        padding: 2.5rem 3.2rem; 
        min-height: 290px;
    }

    #atsauksmes .prev, #atsauksmes .next {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    #atsauksmes .prev { left: 0.4rem; }
    #atsauksmes .next { right: 0.4rem; }

    #atsauksmes q {
        font-size: 1.15rem; 
    }
}

#privatums{
    background: #eee;
}

#privatums h1{
    font-size: 2.5rem;
    text-align: center;
    padding: 1rem 0 2rem;
    color: #666;
}

#privatums :is(p, h5, ul){
    font-size: 1.2rem;
    color: #444;
    padding: .1rem 0;
    line-height: 2;
    text-align: justify;
}

#privatums h5{
    font-size: 1.5rem;
    color: #555;
    margin-top: 2.5rem;
}

#privatums ul{
    padding-left: 3rem;
}

#privatums li{
    margin: .5rem 0;
}

#privatums u{
    text-decoration: underline;
    font-weight: 600;
}

footer{
    min-height: auto;
    padding-top: 0;
    background:var(--color1);
    padding: 0 7%;
}

footer .box-container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

footer .box-container .box{
    flex:1 1 25rem;
    margin: 2rem 1rem;
    
}

footer .box-container .contacts{
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

footer .box-container .contacts p:hover i{
    cursor: default;
    color: #333;
    transform: scale(1.3);
}

footer .box-container .box h1{
    font-size: 2.5rem;
    color:#666;
    padding-bottom: 1rem;
}

footer .box-container .box p{
    font-size: 1.1rem;
    color:#444;
    padding:1rem 1rem 1rem 0;
    text-align: justify;
}

footer .box-container .box img{
    float: left;
    margin-right: .8rem;
    margin-top: 1.5rem;
}

footer .box-container .box p i{
    padding-right: 1rem;
    color: #888;
}

footer .box-container .box .share{
    display: flex;
    flex-wrap: wrap;
    padding: 1rem 0;
}

footer .box-container .box .share a{
    display: block;
    font-size: 1.2rem;
    color:#999;
    padding: .5rem 2rem;
    text-align: center;
    border-radius: 1rem;
    border: .1rem solid #aaa;
    margin-right: 0.5rem;
}

footer .box-container .box .share .apply{
    background: #999;
    color: var(--color1);
}

footer .box-container .box .share .apply:hover{
    background: #777;
    color: #fff;
}

footer .box-container .box .share a:hover{
    background:#777;
    color: var(--color1);
}

footer .credit{
    padding:2rem 1rem;
    text-align: center;
    color:#555;
    font-weight: normal;
    font-size: 1.3rem;
    border-top: .1rem solid #999;
}

footer .credit a{
    color:var(--coloor);
}

footer .gmap{
    width: 100%;
    height: 400px;
    border-radius: 1rem;;
}

span{
    display: inline-block;
    color: #666;
    background: var(--color1);
    border-radius: 1rem;
    padding: .1rem .5rem;
}

#menu{
    font-size: 2rem;
    color:#555;
    cursor: pointer;
    display: none;
}


.date-header{
    text-align: center;
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

.time-item{
    font-size: 1.3rem;
    display: inline-block;
    background: #333;
    color: var(--color1);
    border-radius: 1rem;
    padding: .5rem 1rem;
    margin: .2rem;
}

.time-item:hover{
    background: #555;
}

.appointment-link{
    color: var(--color1);
}

.no-times{
    font-size: 1.3rem;
    text-align: center;
    margin: 1rem .2rem;
    background: #999;
    color: var(--color1);
    border-radius: 1rem;
    padding: .5rem 1rem;
}

#pieteikums{
    background: url("images/header-bg3.jpeg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

#pieteikums h1{
    font-size: 2.5rem;
    text-align: center;
    padding: 1rem;
    color: var(--color1);
}

.apply-form{
    margin: 3rem auto;
    width: 50%;
    display: flex;
    flex-direction: column;
    background: rgba(224, 224, 224, 0.5);
    color: #444;
    border: .1rem solid rgba(0,0,0,.1);
    border-radius: 1rem;
    padding: 2rem;
}

.apply-form label{
    font-size: 1.2rem;
}

.apply-form input{
    width: 100%;
    margin: .5rem 0 1rem;
    padding: .5rem;
    border: .1rem solid rgba(0,0,0,.1);
    border-radius: 1rem;
    font-size: 1.2rem;
}

.apply-form input[type="checkbox"]{
    width: auto;
    margin-right: .5rem;
}

.privatums-bg{
    background: rgba(200, 200, 200, 0.5);
    padding: 1rem;
    border-radius: 1rem;
    font-size: 1.2rem;
}

.privatums-bg label a{
    color: #333;
    text-decoration: underline;
    font-weight: 600;
}

.privatums-bg label a:hover{
    color: #888;
}

.apply-form h1{
    font-size: 2rem;
    margin: 1rem 0 2rem;
    text-align: center;
}

.notif{
    margin: 3rem auto;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    row-gap: 2rem;
    background: rgba(68, 68, 68, 0.8);
    color: #eee;
    border: .1rem solid rgba(0,0,0,.1);
    border-radius: 1rem;
    padding: 2rem 1rem;
    font-size: 1.5rem;
    text-align: center;
}

.login-info{
    text-align: center;
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
    background: #770000;
    color: #fff;
    padding: .3rem 0;
    border-radius: 1rem;
}

.admin{
    background: #ccc;
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.admin .pieteikumi{
    background: #fff;
    border-radius: 1rem;
    width: 100%;
    padding: 1rem;
}

#admin-f{
    position: fixed;
    bottom: 0;
    width: 100%;
}

.admin table {
    width: 100%;
    border-collapse: none;
    border-spacing: 0 .5rem;
    flex: 1 1 30rem;
    font-size: 1.3rem;
}
  
.admin tr{
    background-color: #f2f2f2;
}
  
.admin th {
    background-color: #888;
    color: #fff;
    padding: 1rem;
    text-align: left;
}
  
.admin .thead{
    text-transform: uppercase;
    padding: 1rem 0;
    text-align: center;
}
  
.admin td {
    padding: 1rem;
}
  
.admin td:first-child, th:first-child {
    border-top-left-radius: .4rem; 
    border-bottom-left-radius: .4rem;
}
  
.admin td:last-child, th:last-child {
    border-bottom-right-radius: .4rem; 
    border-top-right-radius: .4rem; 
}

.admin h1{
    text-align: center;
    color: #666;
    padding: 1rem;
    border-radius: 1rem;
}

.admin .dates{
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    row-gap: 1rem;
    margin: 1rem 0;
}

.admin .btn-sm{
    font-size: 1.2rem;
    background: #333;
    color: #fff;
    border-radius: .4rem;
    padding: .3rem;
    margin: .3em;
}

.admin .datetime input, .admin .datetime select{
    font-size: 1.2rem;
    padding: .5rem 1rem;
    margin: .3rem;
    border: .1rem solid var(--color1);
    border-radius: 1rem;
}

@keyframes fade{
    from {
      opacity: 0;
      transform: scale(0.9);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
}

@media (max-width: 1500px){

    html{
        font-size: 80%;
    }

}

@media (min-width: 2000px){
    header, footer{
        padding-inline: 15%;
    }

    section{
        padding-inline: 15%;
    }
}

@media (max-width: 1200px){

    header nav ul li{
        margin-left: 0;
    }

    header nav ul li a{
        padding: .4rem;
    }

}

@media (max-width: 980px){

    #menu{
        display: block;
    }

    header nav{
        position: fixed;
        z-index: 1;
        top: 6.5rem; left:-120%;
        height: 100vh;
        width: 100%;
        background:#eee;
    }

    header nav ul{
        flex-flow: column;
        padding:2rem;
    }

    header nav ul li{
        text-align: center;
        width:100%;
        margin:1rem 0;
        
    }

    header nav ul li a{
        display: block;
        padding:1rem;
        background: #ddd;
        color: #333;
        border-radius: 1rem;
    }

    header nav ul li a:hover{
        padding: 1rem;
        background: #555;
        color:#fff;
        border: none;
    }

    .nav-toggle{
        left:0;
    }

    .info{
        flex-direction: column;
    }

    #kontakti .box-container{
        flex-direction: column-reverse;
    }

    .info .content{
        padding-left: 0;
        text-align: center;
    }

    .info .content p{
        text-align: justify;
    }

    .info .content, #sakums .content{
        padding-left: 0;
    }
    

    .apply-form, .notif{
        width: 90%;
    }


}

@media (max-width:600px){
    header{
        padding: 2rem 4%;
    }

    section, #atsauksmes{
        padding: 3rem 4%;
    }

    #proceduras .box, #pieejamiba .box, #pakalpojumi .box, #bloom-cenradis .box {
        margin: 1rem 0;
    }

    #pakalpojumi h2, #proceduras h2{
        font-size: 1.3rem;
    }

    #sakums span{
        background: none;
        color: #555;
    }

    footer .desc{
        display: none;
    }

    footer .box-container .box .share .apply{
        padding: .5rem 1rem;
        font-size: 1rem;
    }

    .btn{
        width: 100%;
        text-align: center;
    }

    .admin{
        padding: 1rem 1%;
    }

    .admin table {
        font-size: 1rem;
    }

    .resp-hide{
        display: none;
    }
}