/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
    box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
    user-select: none;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a, a:hover, a:visited, a:active {
    color: inherit;
    text-decoration: none;
   }


body {
    background-attachment: fixed;
    background-image: url(../img/background.jpg);
    background-size: cover;
    background-position-x: center;
    /* background: rgb(108,53,200);
    background: radial-gradient(circle, rgba(108,53,200,1) 0%, rgba(40,30,57,1) 60%, rgb(0, 0, 0) 100%); */
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    text-align: center;
    font-family: "Josefin Sans", sans-serif;
    position: relative;
    font-size: 16px;
}

nav {
    display: flex;
    width: 100%;
    height: 60px;
    position: relative;
    /* background-image: url(../img/vintage_pattern.png); */
    margin-top: 20px;
    justify-content: center;
}

nav img{
    height: 60px;
    display: inline;    
    left: 40px;
    position: absolute;
}

nav ul {
    display: block;
    justify-content: center;
    height: 60px;
    border-radius: 30px;
    max-width: calc(100% - 20px);
    background: rgba(233, 233, 233, 0.23);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(233, 233, 233, 0.27);
    }

nav ul li {
    display: inline-block;
    color: aliceblue;
}

nav ul li a{
    display: inline-block;
    height: 58px;
    line-height: 58px;
    vertical-align: middle;
    background-color: rgba(9, 1, 20, 0);
    border-radius: 30px;
    border: 1px solid rgba(9, 1, 20, 0);
    transition: background-color 0.8s ease;
    margin-right: 16px;
    padding: 0 20px;
    font-weight: bold;
    color: aliceblue;
    text-decoration: none;
    vertical-align: middle;
    text-shadow: #28282839 2px 2px 1px;
}

nav ul li:has(a#menu){
    display: none;
}

nav ul li a#menu {
    width: 58px;
    background-color: rgba(255, 255, 255, 0.081);
}

nav ul li a:last-child {
    margin-right: 0;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.081);
}

nav ul li a.active {
    background: rgba(9, 1, 20, 0.83);
    border-radius: 30px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(9, 1, 20, 0.27);
    
}

#popup-nav {
    display: none;
    position: absolute;
    top: 64px;
    right: 10px;
    width: 4px;
    height: 4px;
    z-index: 1;
    border-radius: 15px;
    background: rgba(233, 233, 233, 0.23);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(233, 233, 233, 0.27);
    padding: 10px 20px;
    font-weight: bold;
    color: aliceblue;
}

#popup-nav li a {
    display: inline-block;
    height: 36px;
    line-height: 36px;
    vertical-align: middle;
    text-shadow: #282828 1px 1px 4px
}

#popup-nav li:has(a.active) {
    display: none;
}

#popup-nav.active {
    display: block;
    top: 64px;
    right: 10px;
    height: auto;
    width: auto;
}

.container {
    position: fixed;
    color: aliceblue;
    padding: 20px;
    margin-top: 24px;
    width: calc(100% - 20px);
    max-width: 920px;
    height: calc(100vh - 126px);
    background-image: url(../img/vintage_pattern.png);
    left: 50%;
    transform: translateX(-50%);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 10px ;
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-width: none;
    border: #372a41 2px solid;
}   

#home {
    display: grid;
    justify-items: center;
    grid-template-areas:
    "logo logo"
    "subline subline"
    "welcome welcome"
    "discount discount"
    "cert1 cert2";
}

#home img.cert1, .cert2 {
    width: auto;
    height: 360px;
    border-radius: 6px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}
#home img.cert1 {
    grid-area: cert1;
}

#home img.cert2 {
    grid-area: cert2;
}

#home img {
    grid-area: logo;
    margin-top: 20px;
    text-align: center;
}

#home h2 {
    grid-area: subline;
    margin: 20px auto;
    font-size: 1.2em;
}

#home h1 {
    grid-area: welcome;
    font-size: 3.6em;
    margin: 40px auto;
    color: #ffc13a;
    font-weight: 700;
}

#home #discount {
    grid-area: discount;
    display: grid;
    column-gap: 10px;
    align-items: center;
    grid-template-areas: "text badge";
    margin-bottom: 20px;
}

#home #discount p {
    grid-area: text;
    font-size: 2em;
    font-weight: 700;
}

#home #discount-badge {
    grid-area: badge;
    position: relative;
    background-color: #ff6a8a;
    width: 100px;
    height: 100px;
    border-radius: 50px;
    line-height: 100px;
    color: #ffee0b;
    font-size: 2.6em;
    font-weight: 900;
}

#home #discount-badge span {
    font-size: 0.4em;
    font-weight: 700;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
    line-height: normal;
}

#gallery {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    row-gap: 20px;
}

#gallery .image-card {
    width: 400px;
    height: 300px;
    background-color: #fefefe;
    padding: 10px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

#gallery .image-card figcaption {
    color: rgb(19, 19, 22);
    padding: 12px 4px;
}

#program {
    padding: 0;
}

#program div.swiper-slide:nth-child(even) {
    text-align: right;
}

#program div.swiper-slide img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

#program div.swiper-slide .text {
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 70%;
    height: 100%;
    padding: 20px;
    background: linear-gradient(to left, #000000 0%, #000000a5 70%, #00000000 100%);
    text-align: right;
    text-shadow: #000000ab 2px 2px 2px;
}

#program div.swiper-slide:nth-child(even) .text {
    left: 0;
    bottom: 0;
    background: linear-gradient(to right, #000000 0%, #000000a5 70%, #00000000 100%);
    text-align: left;
}

#program div.swiper-slide .text .wrapper {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

#program div.swiper-slide:nth-child(even) .wrapper {
    left: 20px;
}

#program div.swiper-slide .text h2{
    color: #ffc13a;
    font-size: 1.6em;
    font-weight: 700;
    margin: 10px auto 10px auto;
}

#program div.swiper-slide .text p {
    padding: 20px 0;
}

#program div.swiper-slide .text table {
    color: aliceblue;
    display: inline;
    font-size: 1.4em;
}   

#program div.swiper-slide .text table td{
    padding-right: 26px;
    text-align: right;
}

#program div.swiper-slide .text table tr td:last-child {
    text-align: left;
}

#program .text .remark {
    color: #ca8592;
}


#contact {
    padding: 20px 0 0 0;
    display: grid;
    align-items: center;
    justify-items: center;
    grid-template-areas: 
    'addr contact'
    'openhr contact'
    'map map';
    text-align: center;
}


#contact div {
    padding: 0 20px 0 20px;
}

#contact #bar {
    background: #fff;
    width: 2px;
    height: 300px;
    border-radius: 2px;
}

#contact address{
    grid-area: addr;
    text-align: left;
}

#openhr {
    grid-area: openhr;
}

.contact-buttons {
    grid-area: contact;
}

#contact h2{
    font-size: 1.4em;
    padding-bottom: 12px;
    font-weight: 600;
}

#contact h3 {
    font-size: 1.2em;
    line-height: 1.24em;
    font-weight: 400;
}

#contact h5 {
    line-height: 1.6em;
    font-weight: 300;
}

#contact span {
    font-size: 1.4em;
    font-weight: 400;
}

#contact span#remark {
    font-size: 1em;
    font-weight: 400;
    line-height: 1.2em;
    color: #ca8592;
}

#contact .button{
    position: relative;
    display: block;
    width: 280px;
    height: 48px;
    border-radius: 24px;
    background-color: #ffc13a;
    margin-bottom: 10px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    line-height: 52px;
    text-align: left;
    padding-left: 60px;
    text-decoration: none;
}

#contact .button.call {
    background-color: #000000;
}

#contact .button.ig {
    background-color: #400070;
}

#contact .button.fb {
    background-color: #001993;
}

#contact .button.whatsapp {
    background-color: #00862b;
}

#contact .button.mail {
    background-color: #fff;
    color: #000000;
}
#contact .button img {
    height: 32px;
    position: absolute;
    left: 20px;
    top: 8px;
}

#contact #g-mapdisplay {
    padding: 0;
    height: 314px; 
    width: 100%;
    overflow: hidden;
    grid-area: map;
    margin-top: 20px;
}

#voucher img {
    max-width: 680px;
    width: calc(100% - 12px);
    border-radius: 6px;
    margin-bottom: 20px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}

#gallery .row {
    width: calc(100%);
    display: flex;
    flex-wrap: wrap;
    padding: 0 6px;
}

#gallery .col {
    flex: 50%;
    max-width: 50%;
    padding: 0 6px;
}
  
#gallery .col img {
    border-radius: 6px;
    margin-top: 12px;
    vertical-align: middle;
    width: 100%;
} 


@media only screen and (max-width: 940px)  {
    nav ul {
        margin-left: 160px;
    }
}

@media only screen and (max-width: 840px) {
    #home {
        grid-template-areas:
            "logo logo"
            "subline subline"
            "welcome welcome"
            "discount discount"
            "cert1 cert1"
            "cert2 cert2";
    }

    #home img.cert1,.cert2 {
        height: auto !important;
        width: calc(100% - 10px) !important;
        max-width: 540px;
        
    }
}

@media only screen and (max-width: 760px)  {
    nav {
        margin-top: 10px;
    }

    nav ul {
        margin: auto;
        padding-inline-start: 0;
        position: absolute;
        right: 10px;
    }

    nav img {
        left: 20px;
    }

    nav ul li{
        display: none;
        margin: 0;
    }

    nav ul li:has(a.active) {
        display: inline-block;
        margin-left: 0;
    }

    nav ul li:has(a#menu) {
        display: inline-block;
    }

    .container {
        margin-top: 12px;
        height: calc(100% - 96px);
        bottom: 12px;
    }

    #contact {
        grid-template-areas: 
        'addr addr'
        'openhr openhr'
        'contact contact'
        'map map';

        row-gap: 40px;
    }

}

@media only screen and (max-width: 560px) {
    body {
        font-size: 14px;
    }
    #home>img {
        height: 120px;
    }
}

@media only screen and (max-width: 520px) {
    #gallery .col {
      flex: 100%;
      max-width: 100%;
    }
}

@media (orientation: portrait) {
    #program div.swiper-slide .text {
        display: block;
        position: absolute;
        right: inherit;
        top: inherit;
        left: 0;
        bottom: 0;
        width: 100%;
        height: inherit;
        padding: 10px;
        background: linear-gradient(to top, #000000 0%, #000000a5 70%, #00000000 100%);
        text-align: left;
    }
    
    #program div.swiper-slide .text .wrapper {
        position: absolute;
        right: inherit;
        top: inherit;
        width: calc(100% - 20px);
        bottom: 10px;
        left: 50%;
        transform: translatex(-50%);
    }
    
    #program div.swiper-slide:nth-child(even) .text{
        background: linear-gradient(to top, #000000 0%, #000000a5 70%, #00000000 100%);
    }
    
    #program div.swiper-slide .text h2{

        margin: 10px auto 10px auto;
    }
    
    #program div.swiper-slide .text p {
        padding: 20px 0;
    }
    
    
    #program div.swiper-slide .text table tr td:last-child {
        text-align: left;
    }
    
}

.swiper {
    width: 100%;
    height: 100%;
  }