/*
Theme Name: TGC
Text Domain: TGC
Version: 1.3.4
Keyword:
*/

:root {
    --purple: #82397b;
    --blue: #0a5da9;
}

* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

@font-face {
    font-family: 'inter';
    src: url('fonts/interstate-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
    color: var(--teal);
}

p {
    margin-bottom: 1em;
}

body {
    font-family: Verdana,Geneva,sans-serif; 
    font-size: 16px;
    line-height: 1.4;
    color: #222;
}

.inner {
    padding: 0 20px;
    max-width: 1280px;
    margin: auto;
}

h1,h2 {
}

h1, h2, h3 {
    font-weight: normal;
    font-family: 'inter', sans-serif;
}

h1 {
    font-size: 70px;
}

h2 {
    font-size: 70px;
    margin-bottom:0.2em;
}

/*fade slide*/
.swiper-fade.swiper-free-mode .swiper-slide {
    transition-timing-function: ease-out
}

.swiper-fade .swiper-slide {
    pointer-events: none;
    transition-property: opacity;
    position: relative;
}

.swiper-fade .swiper-slide .swiper-slide {
    pointer-events: none
}

.swiper-fade .swiper-slide-active,.swiper-fade .swiper-slide-active .swiper-slide-active {
    pointer-events: auto
}

/*menu btn*/
.m-menu {
    width: 30px;
    height: 32px;
    position: relative;
}

.m-menu span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #7a3f79;
    opacity: 1;
    left: 0;
    border-radius: 2px;
}

.mm-open .m-menu span {
}

.m-menu span:nth-child(1) {
    top: 20px;
}

.m-menu span:nth-child(2) {
    top: 30px;
}

.m-menu span:nth-child(3) {
    top: 40px;
}

.m-menu {
    transform: rotate(0);
    transition: 0.5s ease-in-out;
    cursor: pointer;
    margin-right: 0;
    z-index: 99;
    position: absolute;
    right: 30px;
    top: 8px;
    /* display: none; */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: none;
}

.m-menu span {
    transform: rotate(0);
    transition: 0.25s ease-in-out;
    width: 35px;
    left: 13px;
}

.mm-open .m-menu span:nth-child(1) {
    top: 28px;
    transform: rotate(135deg);
}

.mm-open .m-menu span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.mm-open .m-menu span:nth-child(3) {
    top: 28px;
    transform: rotate(-135deg);
}


#header{
    height:80px;
    background-color:#fff;
    position:absolute;
    left:0;
    right:0;
    top:0;
    z-index: 999;
}
.admin-bar #header{
    top:32px;
}

#header{
    display:flex;
    align-items: flex-start;
    justify-content: center;
}
#header a.logo{
    display:block;
    width:315px;
    background-color:#fff;
    border-radius:0 0 20px 20px;
    z-index: 1;
    position: relative;
    margin: 0 80px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -3px 3px 4px #00000069;
}
.home #header a.logo{
    height:210px;
}
#header a.logo img{
    height:65px;
    width:auto;
}
.home #header a.logo img{
    height: 160px;
}

#header .menu{
    display:flex;
}
#header .menu li{
    display:block;
}
#header .menu a{
    color: #a7a8a9;
    display:block;
    padding: 10px 15px;
}
#header .menu a:hover,
#header .menu li.current-menu-item>a{
    color:var(--purple);
}

#header .menu-left,
#header .menu-right{
    margin:auto 0
}



#mobile-nav{
    display:none;
}
.hero img{
    height:100vh;
    width:100%;
    display: block;
    object-fit: cover;
}

.hero .cap{
    width:1260px;
    position:absolute;
    left:50%;
    top:0;
    bottom: 0;
    transform: translate(-50%,0%);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: flex-start;
    align-items: flex-start;
}
.hero .cap h2{
    font-size: 70px;
    background: var(--purple);
    color: #fff;
    font-weight: normal;
    margin-bottom: 5px;
    padding: 0 15px;
    transition:all 0.3s ease;
    transform:translateY(20px);
    opacity:0;
}
.hero .cap h2:nth-child(2){
    transform:translateY(40px);
}

.cap a{
    font-weight:normal;
    font-size:30px;
    font-family:'inter', sans-serif;
    padding: 27px 40px;
    border: 2px solid #fff;
    color:var(--purple);
    display: inline-block;
    margin-top: 30px;
    transform:translateY(60px);
    opacity:0;
}

.hero .swiper-slide-active .cap h2,
.hero .swiper-slide-active .cap a{
    opacity:1;
    transform:translateY(0);
    transition:all 1s ease;
}
.hero .swiper-slide-active .cap a:hover{
     transition:all 0.3s ease;
    background:var(--purple);
    color:#fff;
    border-color:var(--purple);
}
.hero .swiper-pagination{
    background: #97999cc9;
    position: absolute;
    left: 50%;
    bottom: 0;
    display: inline-flex;
    z-index: 1;
    padding: 20px 30px;
    transform: translate(-50%, 0);
}
.hero .swiper-pagination span{
    width:12px;
    height:12px;
    border:1px solid #fff;
    border-radius:50%;
    display:block;
    margin: 0 5px;
    cursor: pointer;
}
span.swiper-pagination-bullet-active{
    background-color:#fff;
}


.intro{
    background: #6f2277 url(images/introbg.svg) no-repeat center;
    background-size:cover;
    color: #fff;
    text-align: center;
    padding: 100px 0;
    font-size: 23px;
}
.intro h2{
    margin-bottom: 0.7em;
    color:#cb007b;
}

.intro-title{
    color:#fff;
    font-size:30px;
    font-family:'inter', sans-serif;
}

.boxes{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:20px;
    padding:20px 0;
}
.boxes .box{
    position:relative;
}
.boxes img{
    aspect-ratio:1/1;
    width: 100%;
}
.boxes .txt{
    position:absolute;
    left:0;
    right:0;
    top:0;
    bottom:0;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color:#fff;
    transition: all 0.3s ease;
    
}
.box:hover .txt{
    background:#00000099;
    backdrop-filter: blur(5px);
}
.boxes .txt h3{
    font-size:30px;
    opacity:0;
    transition:all 0.3s ease;
    transform:translateY(20px);
}
.boxes .txt a{
    font-size: 18px;
    border: 2px solid #6d6e70;
    background: #fff;
    color: var(--purple);
    padding: 12px 22px;
    display: block;
    margin-top: 50px;
    opacity:0;
    transform:translateY(-20px);
}
.boxes .box:hover .txt h3,
.boxes .box:hover .txt a{
    opacity:1;
    transform:translateY(0px);
}

.boxes .txt a:hover{
    background:var(--purple);
    color:#fff;
    border-color:var(--purple);
}


.footer{
    background-color:#f0f0f1;
    padding:30px 0;
    font-size:14px;
    text-align:center;
    max-width: 100%;
    overflow: hidden;
}
.frow1{
    display:flex;
    justify-content: center;
    align-items: center;
}
.footer ul.menu{
    display:flex;
}
.footer ul.menu li{
    display:block;
    
}
.footer ul.menu a{
    display:block;
    color:#d24f9c;
    text-transform: uppercase;
    padding: 0 20px;
    border-right: 1px solid #b6b6b7;
    line-height: 1;
}
.footer ul.menu li:last-child>a{
    border-right: none;
}

.footer a{
    color:#d24f9c;
}
.footer a.phone{
    background:url(images/phone.svg) no-repeat 0 0;
    display:block;
    background-size: 18px;
    padding-left: 35px;
    margin-left: 20px;
}
.footer a.email{
    background:url(images/mail.svg) no-repeat 0 4px;
    display:block;
    background-size: 22px;
    padding-left: 35px;
    margin-left: 30px;
}

.row2{
    display:flex;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
    color: #b6b6b7;
}
.row2 span{
    margin:10px;
    display:inline-block;
}

.h-title{
    position:relative;
        overflow:hidden;
}
.h-title img{
    display:block;
    height:700px;
    width:100%;
    object-fit:cover;
}
.h-title h1{
        background-color: #fff;
        border-radius: 20px 20px 0 0;
        z-index: 1;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: -3px 3px 4px #00000069;
        color: var(--purple);
        font-size: 50px;
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        padding: 15px 60px;
}

.amenities-grid{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    grid-gap:35px;
}
.amenities-grid img{
    aspect-ratio:6/5;
    object-fit:cover;
    display: block;
}
.amenities-grid .hover-box{
    position: relative;
}
.amenities-grid .txt{
    position:absolute;
    display: flex;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    color:#fff;
    padding:20px;
    transition:all 0.3s ease;
    opacity:0;
    background-color:rgba(125,60,121,0.9);
    font-size:16px;
    text-align:center;
}
.amenities-grid h3{
    font-size:25px;
    margin-bottom:15px;
}

.amenities-grid .hover-box:hover .txt{
    opacity:1;
    
}
.amenities{
    padding:120px 0;
}

.content-boxes{
    
}

.content-box{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    grid-gap:40px;
    margin-bottom: 60px;
    color: #6d6e70;
}
.content-box .img{
    
}
.content-box .img img{
        display:block;
}
.content-box:nth-child(2n+1) .img{
    order: 1;
}
.content-box h2{
    font-size:50px;
    color: #d24f9c;
}
section.sect{
    padding:120px 0;
}

.blink{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}
.link_box{
    width:100%;
    padding-top:100%;
        position:relative;
}

.link_box a{
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    display:flex;
    border: 1px solid #6d6e70;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #d24f9c;
}
.link_box .txt{
    margin-bottom: 30px;
    font-size:30px;
    font-family: 'inter', sans-serif;
}
.link_box .plus{
    width: 40px;
    height: 40px;
    text-align: center;
    border: 1px solid #b6b6b7;
    border-radius: 50%;
    padding-top: 6px;
}
.link_box a:hover .plus{
    color:#fff;
    background-color:#d24f9c;
    border-color:#d24f9c;
}
.h-title .map{
    padding-top:80px;
}
.h-title .map iframe{
    width:100%;
    height:700px;
    display:block;
}


.cgrid{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 60px 130px;
    padding-bottom:60px;
}
.cgrid input{
    width:100%;
    border:none;
    box-shadow:0 1px 0 0 #c5c5c6;
    height: 44px;
}
.wpcf7 input,
.wpcf7 textarea{
    font-size:18px;
    font-family:inherit;
    outline:none;
}

.wpcf7 textarea{
    width:100%;
    border:none;
    box-shadow:0 1px 0 0 #c5c5c6;
    height: 44px;
}
.cgrid input:focus{
    box-shadow:0 4px 0 0 #d24f9c;
}
.wpcf7-submit{
    width:300px;
    height:50px;
    background-color:transparent;
    border:1px solid #c5c5c6;
    border-radius:3px;
    display:block;
    margin:40px auto auto;
    cursor:pointer;
    color:#d24f9c
}

.wpcf7-submit:hover{
    background-color:#d24f9c;
    color:#fff;
    border-color:transparent;
}

.ctrow{
    height:120px;
    display:flex;
    align-items: center;
    justify-content: center;
    background: #d24f9c;
    font-size: 24px;
    color: #fff;
    gap: 40px;
}
.ctrow a{
    display: flex;
    align-items: center;
    gap: 20px;
}

.gap{
    height: 60px;
}
.gallery{
    padding:0 125px;
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 20px;
}

.gallery img{
    aspect-ratio:4/3;
    object-fit:cover;
    display:block;
    cursor:pointer;
}

.gpopup{
    position:fixed;
    z-index:9999;
    background-color:#fff;
    padding: 100px 0;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition:all 0.3s ease;
}

.gpopup img{
    width:100%;
    height: auto;
    display: block;
    object-fit: contain;
}
.gpopup .close{
    width:30px;
    height:30px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 31.41 31.41'%3E%3Cpolygon fill='%23d24f9c' points='31.41 1.41 30 0 15.71 14.29 1.41 0 0 1.41 14.29 15.71 0 30 1.41 31.41 15.71 17.12 30 31.41 31.41 30 17.12 15.71 31.41 1.41'/%3E%3C/svg%3E") no-repeat center;
    background-size:contain;
    position:absolute;
    right:50px;
    top:40px;
    cursor: pointer;
}
.gpopup .prev,
.gpopup .next{
    height: 40px;
    width: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10.85'%3E%3Cpolygon fill='%23d24f9c' points='5.94 0 4.6 1.49 7.89 4.44 0 4.44 0 6.44 7.88 6.44 4.6 9.36 5.93 10.85 12 5.44 5.94 0'/%3E%3C/svg%3E") no-repeat center;
    background-size:15px;
    border-radius:50%;
    border:1px solid #b6b6b7;
    position:absolute;
    top:50%;
    z-index:11;
    outline: none;
    cursor:pointer;
}
.gpopup .next{
    right: 50px;
}
.gpopup .prev{
    left: 50px;
    transform:rotate(-180deg);
}
.gpopup .prev:hover,
.gpopup .next:hover{
    background-color:#e5e5e5;
}

.slider-wrap{
    padding:0 120px;
        position:relative;
    overflow:hidden;
}

.show-pop .gpopup{
    opacity:1;
    visibility:visible;
    pointer-events: all;
}

.mlogo{
        display:none;
}


.page-id-24 .h-title h1{
    display:none;
}
.page-id-24 .h-title img{
    height: auto;
    object-fit: unset;
}

.page-template-default .main-content{
    padding-top:150px;
    padding-bottom:100px;
}
.page-id-24.page-template-default .main-content{
    padding-top:0;
    padding-bottom:0;
}
.page-template-default .main-content h1{
    font-size:3em;
}
.page-template-default .main-content h2{
    font-size:2.4em;
}
.page-id-24 #main{
        padding-top:80px;
    }

@media(max-width:1200px){
    .frow1{
        flex-wrap:wrap;
    }
    .footer ul.menu{
        width:100%;
        margin:auto;
        justify-content: center;
        padding-bottom: 18px;
    }
    .page-id-24 .h-title img{
        /* height: 100vw; */
    }
    #header .menu-left, #header .menu-right{
        display:none;
    }
    .hero .cap{
        width:100%;
        padding:0 20px;
    }
    .m-menu{
        display:block;
    }
    #mobile-nav{
        display:block;
        position:absolute;
        left:0;
        right:0;
        top:80px;
        background-color:#fff;
        padding-bottom: 30px;
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }
    .mm-open #mobile-nav{
        opacity:1;
        pointer-events:all;
    }
    #mobile-nav .menu{
        display:block;
    }
    #mobile-nav li{
        display:block;
        text-align:center;
    }
    .logo.desktop{
        display: none !important;
    }
    .mlogo{
            display:block;
    }
    .mlogo  img{
        height:60px;
        width:auto;
        display:block;
        top:10px;
        position:absolute;
        left:20px;
    }
    .gallery{
        padding:0 50px;
    }
    .page-template-page-gallery .slider-wrap{
        padding-bottom:50px;
    }
    .slider-wrap{
        padding:0 50px;
    }
    .page-template-page-homes .slider-wrap{
        padding-bottom:30px;
    }
    .gpopup .prev, .gpopup .next{
        top: auto;
        bottom: 0;
    }
    .gpopup .next{
        left: 50%;
        margin-left: 20px;
        right: auto;
    }
    .gpopup .prev{
        margin-right: 20px;
        right: 50%;
        left: auto;
    }
}



@media(max-width:767px){
    .frow1{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer ul.menu{
        display:grid;
        grid-template-columns: 1fr 1fr 1fr;
        margin-bottom: 20px;
    }
    .footer ul.menu a{
        padding:5px 0;
        border:none;
    }
    .row2{
        flex-direction:column;
        gap:10px;
    }
    .row2 span{
        display:none;
    }
    #main{
        /* overflow:hidden; */
    }
    .page-id-24 #main {
    padding-top: 60px;
}
    
    .mlogo img{
        height:40px;
        top:10px;
        left:20px;
    }
    #header{
    height: 60px;
    }
    .m-menu{
        right: 10px;
        top: 0px;
    }
    #mobile-nav{
        top:60px;
    }
    .hero .cap h2{
        font-size:40px;
    }
    .cap a{
        font-size:18px;
        padding:10px 40px;
    }
    h2
    {
        font-size:40px;
    }
    .h-title h1{
        font-size:30px;
        white-space: nowrap;
        padding: 10px 40px;
    }
    .content-box h2{
        font-size:30px;
    }
    .intro-title{
        font-size:20px;
    }
    .intro{
        font-size:18px;
    }
    .boxes{
        grid-template-columns:1fr;
        padding: 20px;
    }
    .blink{
        grid-template-columns:1fr 1fr;
        gap: 20px;
    }
    .link_box .txt{
        font-size:18px;
        margin-bottom:20px;
    }
    section.sect{
        padding:60px 0;
    }
    .content-box,
    .gallery{
        grid-template-columns:1fr;
    }
    .gallery{
        padding:0 20px;
    }
    .amenities-grid .txt{
        position: relative;
        opacity: 1;
    }
    .slider-wrap{
        padding:0 20px;
    }
    .gpopup .prev, .gpopup .next{
        top: auto;
        bottom: 0;
    }
    .gpopup .next{
        left: 50%;
        margin-left: 20px;
        right: auto;
    }
    .gpopup .prev{
        margin-right: 20px;
        right: 50%;
        left: auto;
    }
    .gpopup .close{
        top:20px;
        right:20px;
    }
    .gpopup{
        padding: 100px 0;
    }
    .gpopup img{
        height:auto;
    }
    .ctrow{
        flex-direction:column;
        padding:30px 0;
        height: auto;
        font-size: 18px;
        gap: 0;
    }
    .ctrow img{
        width:30px;
    }
    .wpcf7-submit{
        width:100%;
    }

    .h-title img{
        height:400px;
    }
    .content-box:nth-child(2n+1) .img{
        order:0;
    }
    .footer a.phone,
    .footer a.email{
        margin: 0 0 10px;
    }
}




