@layer utilities {
  :root {
    --color-primary: #A67C5A;
    --color-secondary: #c64a26;
    --color-accent: #ffedae;
    --width-container: 80% !important;
    --text-sm: 1rem !important;
    --text-base: 1.125rem !important;
    --text-lg: 1.25rem !important;
    --text-xl: 1.5rem !important;
    --text-2xl: 1.875rem !important;
    --text-3xl: 2.25rem !important;
    --text-4xl: 3rem !important;
    --text-5xl: 3.75rem !important;
    --text-6xl: 4.5rem !important;
    --text-7xl: 6rem !important;
    --text-8xl: 8rem !important;
    --text-9xl: 9rem !important;
    --text-10xl: 10rem !important;
    --spacing: 0.25rem; /* Base spacing unit (4px) */
    /* Border radius variables */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-3xl: 32px;
    --radius-full: 150px;
  }
}

@font-face {
  font-family: 'Masteri';
  src: url('../../fonts/subset-LC-Masteri-Light.woff2') format('woff2'), url('../../fonts/subset-LC-Masteri-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Masteri';
  src: url('../../fonts/subset-LC-Masteri-Regular.woff2') format('woff2'), url('../../fonts/subset-LC-Masteri-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Masteri';
  src: url('../../fonts/subset-LC-Masteri-Medium.woff2') format('woff2'), url('../../fonts/subset-LC-Masteri-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Masteri';
  src: url('../../fonts/subset-LC-Masteri-Bold.woff2') format('woff2'), url('../../fonts/subset-LC-Masteri-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Masteri Sans';
  src: url('../../fonts/subset-LC-Masterisans-Regular.woff2') format('woff2'), url('../../fonts/subset-LC-Masterisans-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Masteri Sans';
  src: url('../../fonts/subset-LC-Masterisans-Medium.woff2') format('woff2'), url('../../fonts/subset-LC-Masterisans-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Myriad Pro';
  src: url('../../fonts/subset-MyriadPro-Regular.woff2') format('woff2'), url('../../fonts/subset-MyriadPro-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.font-masteri-sans {
  font-family: 'Masteri Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
}

.font-masteri {
  font-family: 'Masteri', serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
}

.text-\[\#c64a26\] {
  color: #c64a26;
}

.border-\[\#c64a26\] {
  border-color: #c64a26;
}

.bg-\[\#FFFDF3\] {
  background-color: #FFFDF3;
}

.border-1 {
  border-width: 1px;
}

.border-solid {
  border-style: solid;
}

.rounded-top-left {
  border-top-left-radius: var(--radius-full);
}

.rounded-top-right {
  border-top-right-radius: var(--radius-full);
}

.rounded-bottom-left {
  border-bottom-left-radius: var(--radius-full);
}

.rounded-bottom-right {
  border-bottom-right-radius: var(--radius-full);
}

.md\:rounded-top-left {
  @media (width >= 48rem) {
    border-top-left-radius: var(--radius-full);
  }
}

.header .--tabBar, .header .--tabBar span {
    color: var(--color-secondary);
}

.change .header .--tabBar, .change .header .--tabBar span {
    color: #fff;
}

header.change .border-secondary {
    border-color: #fff;
}

header.change .text-secondary {
    color: #fff;
}

header.change .bg-secondary {
    background-color: #fff;
}

header.change .border-\[\#c64a26\] {
    border-color: #fff;
}

.custom-bullet-list ul {
    list-style: none;
    padding: 0;
    column-count: 2;
    column-gap: 2rem;
}

.custom-bullet-list li {
    break-inside: avoid;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.custom-bullet-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='19.44' height='19.37' viewBox='0 0 19.44 19.37'%3e%3cpath d='M11.37 4c-.53-.12-1.08-.19-1.64-.19-.57 0-1.12.06-1.65.19l1.65-3.99L11.37 4z' fill='%23FFEDAE'/%3e%3cpath d='M3.51 4.17l2.57.83c-.52.42-.97.9-1.33 1.45l-1.24-2.28z' fill='%23FFEDAE'/%3e%3cpath d='M15.69 3.92l-2.54.91c.53.4.99.87 1.38 1.4l1.16-2.32z' fill='%23FFEDAE'/%3e%3ccircle cx='9.73' cy='9.68' r='4.99' fill='%23FFEDAE'/%3e%3cpath d='M15.43 11.3c.13-.53.2-1.08.2-1.64 0-.57-.06-1.12-.18-1.65l3.98 1.67-4 1.62z' fill='%23FFEDAE'/%3e%3cpath d='M3.99 8.04c-.12.53-.19 1.08-.18 1.65 0 .57.07 1.12.19 1.64l-4-1.63 3.99-1.66z' fill='%23FFEDAE'/%3e%3cpath d='M8.1 15.38c.53.12 1.08.19 1.64.19.57 0 1.12-.07 1.65-.19l-1.65 3.99-1.64-3.99z' fill='%23FFEDAE'/%3e%3cpath d='M3.62 15.33l2.55-.88c-.52-.41-.98-.89-1.36-1.42l-1.19 2.3z' fill='%23FFEDAE'/%3e%3cpath d='M15.94 15.17l-2.57-.83c.52-.42.96-.91 1.33-1.45l1.24 2.27z' fill='%23FFEDAE'/%3e%3c/svg%3e");
    background-size: contain;
    background-repeat: no-repeat;
}

.introduction-section .chars_ani, .ani_text {
  overflow: visible;
}

.text-black {
  color: #000;
}

.img-flag {
  left: 57%;
}

.line_road_1 {
  width: 9.5%;
}

.line_road {
    left: 48.8%;
    width: 51.25%;
}

.map-tab-btn:not(.active):hover {
    background-color: var(--color-secondary) !important; /* Your secondary color */
    color: white !important;
}

.map-tab-btn.active {
    background-color: var(--color-secondary) !important; /* Your secondary color */
    color: white !important;
}

.map-tab-btn:not(.active) {
    background-color: transparent !important;
    color: var(--color-secondary) !important; /* Your secondary color */
    border: 1px solid var(--color-secondary);
}

.mapLocation .itemLocation::after {
  border-radius: 0;
  border: 1px solid var(--color-secondary);
}

.border-secondary {
    border: 1px solid var(--color-secondary);
}

.bg-\[\#2d418d\] {
    background-color: #2d418d;
}

.lg\:grid-cols-4 {
    @media (width >= 64rem) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

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

.w-fit {
    width: fit-content;
}
.md\:max-w-\[40\%\] {
    @media (width >= 48rem) {
          max-width: 40% !important;
      }
}

.md\:bottom-20 {
    @media (width >= 48rem) {
        bottom: calc(var(--spacing) * 20);
    }
}

.md\:left-30 {
    @media (width >= 48rem) {
        left: calc(var(--spacing) * 30);
    }
}

/* Floorplan images - show full image without cropping */
.floorplan-floor-swiper img,
.floorplan-apartment-swiper img {
    height: auto !important;
    min-height: 300px;
    max-height: 80vh;
    object-fit: contain !important;
    width: 100% !important;
}

@media (min-width: 768px) {
    .floorplan-floor-swiper img,
    .floorplan-apartment-swiper img {
        min-height: 400px;
    }
}

@media (min-width: 1024px) {
    .floorplan-floor-swiper img,
    .floorplan-apartment-swiper img {
        min-height: 500px;
    }
}

/* Responsive utilities for navigation buttons */
.hidden {
    display: none;
}

.sm\:inline {
    @media (width >= 40rem) {
        display: inline;
    }
}

.flex {
    display: flex;
}

.md\:flex {
    @media (min-width: 768px) {
        display: flex;
    }
}

/* md:hidden must come after flex to override it */
.md\:hidden {
    @media (min-width: 768px) {
        display: none;
    }
}

/* Additional responsive utilities if needed */
.md\:block {
    @media (min-width: 768px) {
        display: block;
    }
}

.block {
    display: block;
}

header .--listMenu {
  background-color: var(--color-secondary);
}

.ml-50 {
    margin-left: calc(var(--spacing) * 50);
}

.ml-\[50px\] {
    margin-left: 50px;
}


.text-\[10vw\] {
    font-size: 10vw;
}

.md\:text-\[3\.4vw\] {
    @media (width >= 48rem) {
        font-size: 3.4vw;
    }
}

.text-\[3vw\] {
    font-size: 3vw;
}

.md\:text-\[2\.3vw\] {
    @media (width >= 48rem) {
        font-size: 2.3vw;
    }
}

.top-1\/4\.5 {
    top: calc(1 / 4.5 * 100%);
}

.md\:top-1\/5 {
    @media (width >= 48rem) {
        top: calc(1 / 5 * 100%);
    }
}

.w-\[80\%\] {
    width: 80%;
}

.order-3 {
    order: 3;
}

p {
  margin-bottom: 20px;
}

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


.md\:pt-3 {
  @media (width >= 48rem) {
        padding-top: calc(var(--spacing) * 3);
  }
}

.md\:w-\[200px\] {
  @media (width >= 48rem) {
        width: 200px;
  }
}

.introduction-section .h-max > br {
  @media (width >= 48rem) {
      display: none;
  }
}

.w-\[125px\] {
    width: 125px;
}

.md\:w-\[750px\] {
  @media (width >= 48rem) {
        width: 750px;
  }
}

.font-light {
    font-weight: 300;
}

.md\:text-7xl {
  @media (width >= 48rem) {
        font-size: var(--text-7xl);
  }
}

.md\:gap-20 {
    @media (width >= 48rem) {
        gap: calc(var(--spacing) * 20);
    }
}



.lg\:h-\[560px\] {
    @media (width >= 64rem) {
        height: 560px;
    }
}

.md\:gap-0 {
    @media (width >= 48rem) {
        gap: calc(var(--spacing) * 0);
    }
}

/* Pattern utility classes - không phụ thuộc vào container_frame */
.pattern-bottom-right::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -100px;
    width: 600px;
    height: 600px;
    background-image: url(../../images/homepage/pattern.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    pointer-events: none;
    z-index: 1;
}

.pattern-top-left::after {
    content: '';
    position: absolute;
    top: 45px;
    left: -110px;
    width: 250px;
    height: 250px;
    background-image: url(../../images/homepage/pattern.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top left;
    pointer-events: none;
    z-index: 1;
}

.pattern-bottom-left::after {
    content: '';
    position: absolute;
    bottom: 150px;
    left: -124px;
    width: 250px;
    height: 250px;
    background-image: url(../../images/homepage/pattern.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top left;
    pointer-events: none;
    z-index: 1;
}

/* Base class cho sections có pattern */
.with-pattern {
  position: relative;
  overflow: hidden;
}

/* Đảm bảo content luôn ở trên pattern */
.with-pattern > * {
  position: relative;
  z-index: 10;
}

/* Responsive sizes */
@media (min-width: 768px) {
  .pattern-bottom-right::after,
  .pattern-top-left::after,
  .pattern-bottom-left::after {
    width: 300px;
    height: 300px;
    right: 0;
  }
}



@media (min-width: 1024px) {
  .pattern-bottom-right::after {
    width: 400px;
    height: 400px;
  right: 0;
  }

  .--listMenu.pattern-bottom-right::after {
    bottom: 160px;
  }

      .pattern-top-left::after {
        width: 350px;
        height: 350px;
        left: -135px;
        top: 145px;
    }
}

@media (min-width: 1920px) {
    .pattern-top-left::after {
        width: 500px;
        height: 500px;
        left: -170px;
        top: 65px;
    }
}

.\!mt-6 {
    margin-top: calc(var(--spacing) * 6) !important;
}

.md\:ml-\[120px\] {
  @media (width >= 48rem) {
        margin-left: 120px;
  }
}

.md\:\!pb-30 {
    @media (width >= 48rem) {
        padding-bottom: calc(var(--spacing) * 30) !important;
    }
}

.md\:\!pt-30 {
    @media (width >= 48rem) {
        padding-top: calc(var(--spacing) * 30) !important;
    }
}

.wpml-ls-statics-footer {
    display: none;
}

@media (max-width: 768px) {
    header {
        height: 90px;
    }
}

/* Logo pulse animation */
@keyframes logo-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.logo-pulse {
    animation: logo-pulse 2s ease-in-out infinite;
    transform-origin: center;
}

@media (min-width: 1920px) {
    header {
        height: 90px;
    }
}

button, input, select, optgroup, textarea, ::file-selector-button {
	color: #fff;
}