/**
 * Theme Name:     GTG Presentation
 * Author:         Global Top Group
 * Text Domain:	   gtg-presentation
 * Description:    GTG Presentation 2026
 */

:root {
    font-size: 13px;
    color: var(--text-primary);
    font-family: "TH-Body", "EN-Font";
    --primary-color: #243447;
    --ps: rgb(36, 52, 71, 0);
    --secondary-color: #476f95;
    --backup-color: #374c66;
    --accent-a: #b6985b;
    --accent-b: #cdba96;
    --accent-c: #b9a98d;
    --accent-d: #857946;
    --text-primary:#ffffff;
    --text-secondary:#e7e7e7;
    --black-primary:#000000;
    --black-secondary:#1c1c1c;

    --marina: #243447;
    --harmonia: #144a1e;
    --paradise: #0d6191;
    --olympus: #2f2017;
    --pattaya: #603813;
    --pratumnak: #70583d;
    --thecloud: #002c47;
    --tower: #48260f;
    --tropicana: #52722e;


    --margin-b: 1rem;
    --gap-big: 2rem;
    --gap-mid: 1rem;
    --gap-sm: 0.5rem;

    --text-h1: 2rem;
    --text-h2: 1.5rem;
    --text-h3: 1.25rem;
    --text-sh: 1.25rem;
    --text-sm: 1rem;

    --swiper-navigation-size: 16px !important;
    --swiper-navigation-color: var(--primary-color);
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}

/* Interchange element Start*/

    .show {
        display: flex !important;
    }

    .item-break {
        border: 1px solid var(--accent-a);
        width: 100%;
    }

    .item-break2 {
        border: 1px solid var(--accent-a);
        width: 60%;
    }

    .col-8 {
        flex: 1 1 80%;
    }

    .col-7 {
        flex: 1 1 60%;
    }

    .col-6 {
        flex: 1 1 60%;
    }

    .col-5 {
        flex: 1 1 50%;
    }

    .col-4 {
        flex: 1 1 40%;
    }

    .col-3 {
        flex: 1 1 30%;
    }

    .col-2 {
        flex: 1 1 20%;
    }

    .bg-white {
        background-color: var(--text-primary);
    }

    .bg-primary {
        background-color: var(--primary-color);
    }

    .bg-primary h1,
    .bg-primary h2,
    .bg-primary h3 {
        color: var(--text-primary);
    }

    .bg-secondary {
        background-color: var(--accent-a);
    }

    .bg-secondary h1,
    .bg-secondary h2,
    .bg-secondary h3,
    .bg-secondary p,
    .bg-secondary span {
        color: var(--black-primary);
    }

    .bg-blue {
    background-color: var(--accent-b);
    }

    .bg-blue > .body-section p {
        color: var(--secondary-color);
    }

    .bg-blue .tagline > .subheading {
        color: var(--accent-a);
    }

    .bg-blue .tagline-text {
        color: var(--primary-color);
    }

    .bg-section {
        padding: var(--gap-big) 0;
    }

    .bg-contact {
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        background-image: linear-gradient(0deg, rgba(36, 52, 71, 0.5)), url(https://globaltopgroup.com/wp-content/uploads/img/marina/parking.webp);
    }
    
    .j-center {
        justify-content: center;
    }

    .a-center {
        align-items: center;
    }

/* Interchange element End*/

/* Base Setup Start */

main {
    position: relative;
    color: var(--text-primary);
}

body {
    margin: 0;
    padding: 0;
}

h1, .h1 {
    font-family: "TH-Body", "EN-Font";
    font-size: var(--text-h1);
    font-weight: 700;
    margin: 0;
}

h2, .h2 {
    font-family: "TH-Body", "EN-Font";
    font-size: var(--text-h2);
    font-weight: 600;
    margin: 0;
}

h3, .h3 {
    font-family: "TH-Body", "EN-Font";
    font-size: var(--text-h3);
    font-weight: 500;
    margin: 0;
}

.hero1 {
    font-family: "TH-Head", "EN-Font";
    font-size: var(--hero-h1);
    font-weight: 800;
    margin: 0;
}

.hero2 {
    font-family: "TH-Head", "EN-Font";
    font-size: var(--text-h2);
    font-weight: 700;
    margin: 0;
}

.hero3 {
    font-family: "TH-Head", "EN-Font";
    font-size: var(--text-h3);
    font-weight: 600;
    margin: 0;
}

.subheading {
    font-family: "TH-Body", "EN-Font";
    font-size: var(--text-sh);
    font-weight: 500;
    margin: 0;
}

p, li {
    font-family: "TH-Body", "EN-Font";
    font-size: var(--text-sm);
    font-weight: 400;
    margin: 0;
    line-height: 1.5rem;
}

.label {
    font-family: "TH-Body", "EN-Font";
    font-size: var(--text-sm);
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
}

.pbold {
    font-family: "TH-Body", "EN-Font";
    font-size: var(--text-sm);
    font-weight: 500;
    margin: 0;
}

/* Base Setup End */

/* Animations Start*/

.hover-underline-animation {
    display: inline-block;
    position: relative;
}

.hover-underline-animation::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-a);
    transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover::after, .hover-underline-animation:focus::after {
    transform: scaleX(1);
}

.hover-underline-animation.left::after {
  transform-origin: bottom right;
}

.hover-underline-animation.left:hover::after, .hover-underline-animation.left:focus::after {
  transform-origin: bottom left;
}

.hover-underline-animation.center::after {
  transform-origin: bottom center;
}

.hover-underline-animation.center:hover::after, .hover-underline-animation.center:focus::after {
  transform-origin: bottom center;
}

.hover-underline-animation.right::after {
  transform-origin: bottom left;
}

.hover-underline-animation.right:hover::after, .hover-underline-animation.right:focus::after {
  transform-origin: bottom right;
}

/* Animations End*/

/* Global Elements Starts*/

    /* Button primary Black */

        .button-primary {
            border: none;
            background: var(--primary-color);
            transition: background-color 0.2s ease-in-out;
            padding: 0;
            cursor: pointer;
        }

        .button-primary:hover {
            background-color: var(--black-primary);
        }

        .button-primary-link {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: var(--text-primary) !important;
            transition: all ease 0.2s;
            padding: 1rem 2rem;
            text-align: center;
        }

    /* Button primary White */

        .button-primary-white {
            border: none;
            background: var(--text-primary);
            transition: background-color 0.2s ease-in-out;
            padding: 0;
            cursor: pointer;
        }

        .button-primary-white:hover {
            background-color: var(--accent-a);
        }

        .button-primary-white-link {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: var(--text-primary) !important;
            transition: all ease 0.2s;
            padding: 1rem 2rem;
            text-align: center;
            border-bottom: 4px solid var(--accent-a);
        }


    /* Button secondary */

        .button-secondary {
            border: none;
            background: var(--accent-a);
            transition: background-color 0.2s ease-in-out;
            padding: 0;
            cursor: pointer;
        }

        .button-secondary:hover {
            background-color: var(--text-primary);
        }

        .button-secondary-link {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: var(--black-primary);
            transition: all ease 0.2s;
            padding: 1rem 2rem;
            text-align: center;
        }

        /* Button outline Color */

        .button-outline {
            border: 2px solid var(--accent-a);
            background: none;
            transition: background-color 0.2s ease-in-out;
            padding: 0;
            cursor: pointer;
        }

        .button-outline:hover {
            background-color: var(--accent-b);
        }

        .button-outline-link {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: var(--accent-a);
            transition: all ease 0.2s;
            padding: 1rem 2rem;
            text-align: center;
        }

        /* Button outline White */

        .button-outline-white {
            border: none;
            border: 2px solid var(--text-primary);
            background: none;
            transition: background-color 0.2s ease-in-out;
            padding: 0;
            cursor: pointer;
        }

        .button-outline-white:hover {
            background-color: rgba(255, 255, 255, 0.5);
        }

        .button-outline-white-link {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: var(--text-primary);
            transition: all ease 0.2s;
            padding: 1rem 2rem;
            text-align: center;
        }

        /* Button outline dark */

        .button-outline-dark {
            border: none;
            border: 2px solid var(--primary-color);
            background: none;
            transition: background-color 0.2s ease-in-out;
            padding: 0;
            cursor: pointer;
        }

        .button-outline-dark:hover {
            background-color: var(--accent-b);
        }

        .button-outline-dark-link {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: var(--primary-color);
            transition: all ease 0.2s;
            padding: 1rem 2rem;
            text-align: center;
            gap: var(--gap-sm);
        }

    /* Button underline */

        .button-underline {
            background-color: transparent;
            border: none;
            width: max-content;
            padding: 0;
            text-decoration: underline;
            cursor: pointer;

            font-family: "TH-Body", "EN-Font";
            font-size: 1rem;
            font-weight: 500;
            margin: 0;
        }

/* Global Elements Ends*/

/* Main Body Start */

.body-section, .navbar, .footer-wrap {
    margin-left: var(--margin-b);
    margin-right: var(--margin-b);
    max-width: none;
    width: auto;
}

.body-section p {
    color: var(--secondary-color);
}

.body-blue > .body-section p {
    color: var(--secondary-color);
}

.body-blue .tagline > .subheading {
    color: var(--accent-a);
}

.body-blue .tagline-text {
    color: var(--primary-color);
}

.tagline-text-item {
    flex: 1;
    display: flex;
    align-items: flex-end;
}

/* Standard Style Start*/

.body-section, .navbar, .footer-wrap, .gallery-display-wrapper, .gallery-top {
    margin-left: var(--margin-b);
    margin-right: var(--margin-b);
    max-width: none;
    width: auto;
}

.body-section p,
.body-section ul {
    color: var(--secondary-color);
}

.bg-primary p,
.bg-primary ul{
    color: var(--text-secondary);
}

.body-section-wrap {
    display: flex;
    flex-direction: column;
    gap: var(--gap-mid);
}

/* Standard Style End*/

/* Swiper Starts */

    .bullet-color {
        background-color: rgba(10, 41, 67, 0.8);
        padding: 0.25rem 0.5rem;
        margin: 0 4px;
        box-shadow: 0 2px 3px 0 rgba(0,0,0,0.5);
        border: 1px solid var(--primary-color);
    }

    .bullet-color-active {
        background-color: rgb(80, 168, 242, 0.8);
        border: 1px solid var(--text-primary);
    }

    .swiper-pagination {
        display: flex;
        justify-content: center;
    }

    .swiper-button-next, .swiper-button-prev {
        border: 1px solid var(--text-primary)!important;
        background-color: rgb(80, 168, 242, 0.5);
        padding: 1rem;
        transition-property: color, background-color ;
        transition-duration: 0.2s;
        transition-timing-function: ease-in-out;
        backdrop-filter: blur(2px);
    }

    .swiper-button-next:hover, .swiper-button-prev:hover {
        color: var(--black-primary)!important;
        background-color: var(--text-primary);
        padding: 1rem;
    }

    .plan-item-container {
        display: flex;
        gap: var(--gap-mid);
        width: 100%;
        flex-direction: column;
    }

    .plan-display-item {
        display: flex;
        flex-direction: column-reverse;
        flex: 1 1 30%;
        width: 100%;
    }

    .plan-img-wrap {
        width: 100%;
    }

    .swiper-slide {
        display: flex !important;
    }

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

    .swiper-header {
        display: flex;
        justify-content: space-between;
        padding: 1rem;
        background-color: var(--secondary-color);
    }

    .swiper-head {
        display: flex;
        align-items: flex-end;
    }

    .swiper-head > h3{
        color: var(--text-primary);
    }

    .swiper-head > p{
        color: var(--text-secondary);
    }

/* Swiper Ends */

/* Properties Page Start */

#map {
    width: 100%;
    height: 100%;
}

.map-wrap {
    flex: 1 1 auto;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    visibility: hidden
}

.map-show {
    visibility: visible;;
}

.map-display {
    height: 100vh;
    position: relative;
}

.project-section {
    width: 40%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1000;
}

.refresh-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1000;
}

.leaflet-marker-icon.highlight-marker {
  filter: drop-shadow(0 0 5px yellow);
  transform: scale(1.2);
  transition: transform 0.3s, filter 0.3s;
}

.project-cards {
    display: flex;
    flex-direction: column;
    gap: var(--gap-mid);
    padding: var(--gap-mid);
    color: var(--black-primary);
}

.menu-img {
    display: flex;
    background-color: var(--text-primary);
    height: 20vh;
}

.project-img {
    display: flex;
}

.project-img img{
    width: 100%;
    height: auto;
    object-fit: cover;
}

.project-logo {
    display: flex;
    align-items: center;
    padding: var(--gap-mid);
}

.project-logo img {
    width: 8rem;
    height: auto;
}

.project-card {
    display: flex;
    flex-direction: column;
    box-shadow: 0px 0px 8px rgba(0,0,0,0.4);
    transition: box-shadow 0.2s ease-in-out;
    position: relative;
}

.project-card:hover {
    box-shadow: 0px 0px 8px rgba(0,0,0,0.8);
}

.project-info {
    display: flex;
    padding: 1rem var(--gap-mid);
    background-color: var(--text-primary);
    gap: var(--gap-sm);
    align-items: center;
    position: absolute;
    left: -1rem;
    bottom: -1rem;
    min-width: 45%;
    box-shadow: 0px 0px 8px rgba(0,0,0,0.8);
}

.project-link > .header {
    color: var(--primary-color);
}

.project-link > .body {
    color: var(--secondary-color);
}

.project-link {
    display: flex;
    align-items: center;
    gap: var(--gap-mid);
}

.project-arrow {
    display: flex;
    transition: transform 0.2s ease-in-out;
}

.project-info:hover .project-arrow{
    transform: translateX(1rem);
}

.project-arrow svg {
    width: 1rem;
    height: auto;
    fill: var(--primary-color);
    transform: rotate(180deg);
}

.search-btn {
    border: none;
    background: var(--primary-color);
    transition: background-color 0.2s ease-in-out;
    padding: 0;
    cursor: pointer;
}

.search-btn:hover {
    background-color: var(--black-primary);
}

.search-btn-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary) !important;
    transition: all ease 0.2s;
    padding: 1rem 2rem;
    text-align: center;
}

.search-pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding-bottom: 5rem;
}

.search-pagination > button {
    border: none;
    background: none;
    cursor: pointer;
    color: var(--primary-color);
    font-weight: 800;
    font-size: var(--text-sh);
    transition: background-color 0.2s ease-in-out;
    padding: 1rem 1.5rem;
    border-radius: 100%;
}

.search-pagination > button:hover {
    background: rgba(197, 197, 197, 0.5);
}

.search-pagination > .page-active {
    border: var(--accent-a) solid 2px;
    background: rgba(80, 168, 242, 0.2);
}

.hide {
    display: none;
}

/* Properties Page End */

/* Project info Page Start */

/* Project info banner*/
    .project {
        background-color: var(--primary-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .project-display {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .swiper-full {
        width: 100%;
        height: 80vw;
    }

    .proj-hero > img{
        aspect-ratio: 16/9;
    }

/* Project info main body*/

    .project-info-wrapper {
        display: flex;
        position: relative;
        flex-direction: column;
        width: 100%;
    }

    .project-info-body {
        padding-top: var(--gap-mid);
        padding-bottom: var(--gap-mid);
        color: var(--primary-color);
        display: flex;
        flex-direction: column;
        gap: var(--gap-mid);
        width: 100%;
    }

    .item-break {
        border: 1px solid var(--text-secondary);
        width: 100%;
    }

    .project-feature-wrap {
        display: flex;
        flex-wrap: wrap;
    }

    .project-feature-item {
        flex: 1 1 30%;
        display: flex;
        flex-direction: column;
        gap: var(--gap-sm);
        padding: var(--gap-sm);
    }

    .project-overview {
        display: flex;
        flex-direction: column;
        gap: var(--gap-sm);
    }

    .overview-info {
        flex-wrap: wrap;
        display: flex;
        gap: var(--gap-sm);
    }

    .overview-info svg {
        width: 2rem;
        height: auto;
        fill: var(--accent-a);
    }

    .media-view {
        display: flex;
        gap: var(--gap-sm);
    }

    .media-view svg {
        width: 16px;
        height: auto;
        fill: var(--primary-color);
    }

    .project-cta {
        width: 100%;
        display: flex;
        position: relative;
        justify-content: center;
    }

    .project-cta-wrap {
        position: fixed;
        bottom: 0;
        padding: 0;
        height: max-content;
        width: 100%;
        justify-content: center;
        z-index: 1;
    }

    .project-cta-body {
        padding: var(--gap-mid);
        border: 1px solid var(--text-secondary);
        background-color: var(--text-primary);
        display: flex;
        justify-content: center;
    }

    .project-cta-body button{
        width: 100%;
    }

    .project-container {
        display: flex;
        width: 100%;
    }

    .location-container iframe {
        width: 100%;
    }


/* Project info gallery*/

    .gallery {
        position: fixed;
        z-index: 3000;
        background-color: var(--primary-color);
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        display: none;
        flex-direction: column;
    }

    .gallery-display-wrapper {
        display: flex;
        margin-left: var(--margin-b);
        margin-right: var(--margin-b);
    }

    .gallery-display {
        display: flex;
        flex-direction: column;
        overflow: auto;
        height: 85vh;
    }

    .gallery-item-wrap {
        display: flex;
    }

    .gallery-item {
        flex: 1;
        display: flex;
        padding: 0.5rem;
    }

    .gallery-top {
        display: flex;
        justify-content: flex-end;
        margin-left: var(--margin-b);
        margin-right: var(--margin-b);
    }

    .gallery-close {
        background-color: transparent;
        font-style: normal;
        font-family: "TH-Body" , "EN-Font";
        appearance: none;
        border: none;
        font-size: 4rem;
        color: var(--text-primary);
        cursor: pointer;
        transition: color 0.2s ease-in-out;
        display: flex;
        width: max-content;
    }

    .show-gallery {
        display: flex;
    }

    .projectimg {
        max-width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

/* Project info Page End */

/* Hero header */

    .hero-base {
        position: relative;
        padding-top: var(--margin-b);
        width: 100%;
        background-color: var(--primary-color);
    }

    .hero-base-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: var(--gap-big) 0;
        margin-left: 0;
        gap: 1rem;
        width: 100%;
    }

    .hero-title {
        color: var(--text-primary);
        
        display: flex;
        width: 100%;
        flex-direction: column;
        text-align: left;
        text-shadow: 2px 5px 4px rgb(0, 0, 0, 0.4);
    }

@media (min-width: 640px) {

    :root {
        font-size: 16px;
        --margin-b: 1.875rem;
        --gap-big: 2.5rem;
        --gap-mid: 2rem;

        --text-h1: 2.5rem;
        --text-h2: 2rem;
        --text-h3: 1.75rem;
    } 
}


@media (min-width: 900px) {

    :root {
        --margin-b: 3.125rem;
        --gap-big: 4rem;
        --gap-mid: 2rem;

        --text-h1: 3rem;
        --text-h2: 2.5rem;
        --text-h3: 2rem;
    }

    .map-wrap {
        position: static;
        visibility: visible;
        width: 50%;
    }

}

@media (min-width: 1200px) {

    :root {
        --margin-b: 6rem;
        --gap-big: 6rem;
    }

    .map-wrap {
        width: 100%;
    }
}

@media (min-width: 1600px) {

}