@font-face {
    font-family: "Argesta Display";
    src: url("../../fonts/Argesta/Argesta\ Display.otf");
}

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

:root {
    --primary-gradient: linear-gradient(135deg, #2c5f5d 0%, #1a3a38 100%);
    --secondary-gradient: linear-gradient(135deg, #7d9d9c 0%, #5a7c7a 100%);
    --accent-gradient: linear-gradient(135deg, #a8c5c3 0%, #8ba9a7 100%);
    --primary-color: #2c5f5d;
    --secondary-color: #5a7c7a;
    --accent-color: #8ba9a7;
    --highlight-color: #c9a96e;
    --text-dark: #2c3e50;
    --text-light: #e8ebe9;
    --bg-light: #fafaf8;
    --bg-dark: #1a1f1e;
    --card-light: #f5f6f4;
    --card-dark: #252a29;
}

body {
    font-family: "Montserrat", sans-serif;
    overflow-x: hidden;
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    letter-spacing: 0.3px;
}

body.loaded {
    overflow-x: hidden;
    overflow-y: auto;
}

body.dark-mode {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

body.menu-open {
    overflow: hidden;
}

/* Hide content until loaded */
body:not(.loaded) > *:not(.page-loader) {
    opacity: 0;
    visibility: hidden;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fafaf8 0%, #f5f6f4 50%, #e8ebe9 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode .page-loader {
    background: linear-gradient(135deg, #1a1f1e 0%, #252a29 50%, #2c3e3c 100%);
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 500px;
    padding: 0 20px;
}

.loader-logo {
    opacity: 0;
    animation: logoFadeIn 1s ease forwards 0.3s;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.loader-logo-circle {
    width: 150px;
    height: 150px;
    /* background: var(--primary-gradient); */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* box-shadow: 0 10px 30px rgba(44, 95, 93, 0.3); */
    margin-bottom: 20px;
}

.loader-logo-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}

.loader-logo h1 {
    /* font-family: "Playfair Display", serif; */
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
        "Lucida Sans", Arial, sans-serif;
    font-size: 42px;
    font-weight: 400;
    letter-spacing: 3px;
    /* text-transform: lowercase; */
    color: var(--primary-color);
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(44, 95, 93, 0.1);
}

body.dark-mode .loader-logo h1 {
    color: var(--text-light);
}

.loader-logo span {
    display: block;
    font-size: 12px;
    letter-spacing: 5px;
    color: var(--secondary-color);
    margin-top: 0;
    text-shadow: 0 1px 5px rgba(90, 124, 122, 0.1);
    text-transform: uppercase;
}

@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Spinner */
.loader-spinner {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto 50px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spinnerRotate 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    box-shadow: 0 0 15px rgba(44, 95, 93, 0.2);
}

.spinner-ring:nth-child(1) {
    animation-delay: -0.45s;
}

.spinner-ring:nth-child(2) {
    animation-delay: -0.3s;
    border-top-color: var(--secondary-color);
}

.spinner-ring:nth-child(3) {
    animation-delay: -0.15s;
    border-top-color: var(--accent-color);
}

@keyframes spinnerRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Progress Bar */
.loader-progress {
    width: 300px;
    height: 3px;
    background: rgba(44, 95, 93, 0.15);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin: 0 auto 25px;
    box-shadow: 0 2px 8px rgba(44, 95, 93, 0.08);
}

.progress-bar {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 10px;
    width: 0%;
    animation: progressLoad 3s ease-in-out forwards;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(44, 95, 93, 0.3);
}

.progress-bar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: progressShine 1.5s infinite;
}

@keyframes progressLoad {
    0% {
        width: 0%;
    }

    30% {
        width: 30%;
    }

    60% {
        width: 60%;
    }

    90% {
        width: 90%;
    }

    100% {
        width: 100%;
    }
}

@keyframes progressShine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.loader-text {
    font-size: 12px;
    color: #6a7a78;
    letter-spacing: 2px;
    opacity: 0;
    animation: textFadeIn 0.5s ease forwards 1s;
    margin: 0;
    font-weight: 400;
}

body.dark-mode .loader-text {
    color: #b8c4c2;
}

@keyframes textFadeIn {
    to {
        opacity: 1;
    }
}

/* Hide Scrollbar */
* {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

*::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

html {
    scroll-behavior: smooth;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    z-index: 100;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.6),
        rgba(0, 0, 0, 0.3)
    );
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

header.scrolled {
    background: rgba(250, 250, 248, 0.98);
    box-shadow: 0 4px 20px rgba(44, 95, 93, 0.08);
    backdrop-filter: blur(30px);
    padding: 15px 40px;
    border-bottom: 1px solid rgba(44, 95, 93, 0.08);
}

body.dark-mode header {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.4)
    );
}

body.dark-mode header.scrolled {
    background: rgba(26, 31, 30, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(168, 197, 195, 0.1);
}

header.scrolled .search-bar {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.dark-mode header.scrolled .search-bar {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

header.scrolled .search-bar svg {
    stroke: #2c3e50;
}

body.dark-mode header.scrolled .search-bar svg {
    stroke: #e0e0e0;
}

header.scrolled .search-bar input {
    color: #2c3e50;
}

body.dark-mode header.scrolled .search-bar input {
    color: #e0e0e0;
}

header.scrolled .search-bar input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

body.dark-mode header.scrolled .search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

header.scrolled .logo h1 {
    color: #2c3e50;
}

body.dark-mode header.scrolled .logo h1 {
    color: #e0e0e0;
}

header.scrolled .logo span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

header.scrolled .menu-btn span {
    background: #2c3e50;
}

body.dark-mode header.scrolled .menu-btn span {
    background: #e0e0e0;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 101;
    background: var(--primary-gradient);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    padding: 0;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(44, 95, 93, 0.25), 0 0 0 0 rgba(44, 95, 93, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-mode-toggle:hover {
    background: var(--secondary-gradient);
    box-shadow: 0 6px 25px rgba(44, 95, 93, 0.35),
        0 0 30px rgba(44, 95, 93, 0.15);
    transform: scale(1.08);
}

.dark-mode-toggle:active {
    transform: scale(0.95);
}

.dark-mode-toggle svg {
    width: 24px;
    height: 24px;
    fill: white;
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -12px;
    margin-top: -12px;
}

.dark-mode-toggle .sun-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

.dark-mode-toggle .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

body.dark-mode .dark-mode-toggle .sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

body.dark-mode .dark-mode-toggle .moon-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

/* Search Bar */
.search-container {
    flex: 0 0 280px;
}

.search-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 12px 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.search-bar:focus-within {
    background: rgba(255, 255, 255, 0.35);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(44, 95, 93, 0.2), 0 0 40px rgba(44, 95, 93, 0.1);
    transform: translateY(-2px);
}

.search-bar svg {
    width: 20px;
    height: 20px;
    stroke: white;
    margin-right: 10px;
    transition: stroke 0.3s ease;
}

.search-bar input {
    background: transparent;
    border: none;
    color: white;
    font-size: 14px;
    width: 100%;
    outline: none;
    transition: color 0.3s ease;
}

.search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

/* Header Logo Circle */
.header-logo-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    /* background: var(--primary-gradient); */
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(44, 95, 93, 0.2);
    transition: all 0.3s ease;
}

.header-logo-circle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(44, 95, 93, 0.3);
}

/* Mobile: Search/Logo di sidebar */
@media (max-width: 768px) {
    .search-container,
    .header-left {
        display: none;
    }
}

/* Logo */
.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.logo h1 {
    color: white;
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 3px;
    /* text-transform: lowercase; */
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
        "Lucida Sans", Arial, sans-serif;
    transition: all 0.3s ease;
}

.logo span {
    display: block;
    font-size: 10px;
    letter-spacing: 5px;
    margin-top: -5px;
    transition: color 0.3s ease;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile: Logo di kiri */
@media (max-width: 768px) {
    .logo {
        position: static;
        transform: none;
        text-align: left;
        flex: 1;
    }

    .logo h1 {
        font-size: 24px;
    }
}

/* Menu Button */
.menu-btn {
    flex: 0 0 auto;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 103;
}

.menu-btn span {
    display: block;
    width: 30px;
    height: 2px;
    background: white;
    margin: 6px 0;
    transition: 0.3s;
}

.menu-btn.active span {
    background: #2c3e50;
}

body.dark-mode .menu-btn.active span {
    background: #e0e0e0;
}

.menu-btn.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

/* Sidebar Menu */
.sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 102;
    padding: 100px 50px 120px;
    overflow-y: auto;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
}

body.dark-mode .sidebar {
    background: rgba(26, 26, 26, 0.98);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
}

.sidebar.active {
    right: 0;
}

.sidebar-logo {
    position: absolute;
    left: 50px;
    top: 30px;
    opacity: 0;
    transition: opacity 0.4s ease 0.3s;
}

.sidebar.active .sidebar-logo {
    opacity: 1;
}

.sidebar-logo h2 {
    color: #2c3e50;
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 2px;
    /* text-transform: lowercase; */
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
        "Lucida Sans", Arial, sans-serif;
}

body.dark-mode .sidebar-logo h2 {
    color: #e0e0e0;
}

.sidebar-logo span {
    display: block;
    font-size: 9px;
    letter-spacing: 4px;
    margin-top: -3px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Sidebar Close Button */
.sidebar-close {
    position: absolute;
    right: 30px;
    top: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease 0.3s;
}

.sidebar.active .sidebar-close {
    opacity: 1;
}

.sidebar-close span {
    display: block;
    width: 30px;
    height: 2px;
    background: #2c3e50;
    margin: 6px 0;
    transition: 0.3s;
}

body.dark-mode .sidebar-close span {
    background: #e0e0e0;
}

.sidebar-close span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.sidebar-close span:nth-child(2) {
    opacity: 0;
}

.sidebar-close span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.sidebar-close:hover span {
    background: var(--primary-color);
}

/* Sidebar Search - Mobile only */
.sidebar-search {
    display: none;
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .sidebar-search {
        display: block;
    }
}

.sidebar-search .search-bar {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.dark-mode .sidebar-search .search-bar {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-search .search-bar svg {
    stroke: #2c3e50;
}

body.dark-mode .sidebar-search .search-bar svg {
    stroke: #e0e0e0;
}

.sidebar-search .search-bar input {
    color: #2c3e50;
}

body.dark-mode .sidebar-search .search-bar input {
    color: #e0e0e0;
}

.sidebar-search .search-bar input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

body.dark-mode .sidebar-search .search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.sidebar nav ul {
    list-style: none;
}

.sidebar nav ul li {
    margin: 30px 0;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.3s ease;
}

.sidebar.active nav ul li {
    opacity: 1;
    transform: translateX(0);
}

.sidebar.active nav ul li:nth-child(1) {
    transition-delay: 0.1s;
}

.sidebar.active nav ul li:nth-child(2) {
    transition-delay: 0.2s;
}

.sidebar.active nav ul li:nth-child(3) {
    transition-delay: 0.3s;
}

.sidebar.active nav ul li:nth-child(4) {
    transition-delay: 0.4s;
}

.sidebar.active nav ul li:nth-child(5) {
    transition-delay: 0.5s;
}

.sidebar.active nav ul li:nth-child(6) {
    transition-delay: 0.6s;
}

.sidebar nav ul li a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 24px;
    font-weight: 400;
    transition: 0.3s;
    display: block;
    position: relative;
}

body.dark-mode .sidebar nav ul li a {
    color: #e0e0e0;
}

.sidebar nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: #f5f5dc;
    transition: width 0.3s ease;
}

.sidebar nav ul li a:hover {
    color: var(--primary-color);
    transform: translateX(10px);
}

.sidebar nav ul li a:hover::after {
    width: 60px;
    background: var(--primary-gradient);
}

/* Hero Section with Parallax */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: url("../../backgorund.webp") center/cover no-repeat;
    will-change: transform;
    transform: translateZ(0);
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3),
        rgba(0, 0, 0, 0.5)
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h2 {
    font-size: 50px;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: "Playfair Display", serif;
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 1px;
}

.explore-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: white;
    padding: 0;
    padding-right: 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    overflow: visible;
    font-weight: 500;
    height: 50px;
}

.explore-btn::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    transition: all 0.4s ease;
    z-index: -1;
}

.explore-btn::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    z-index: -2;
    opacity: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.3);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.explore-btn .arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-right: 10px;
    font-size: 20px;
    transition: transform 0.4s ease;
    flex-shrink: 0;
}

.explore-btn .text {
    position: relative;
    transition: all 0.4s ease;
}

.explore-btn .text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: white;
    transition: width 0.4s ease;
}

.explore-btn:hover::before {
    width: calc(100% + 35px);
    border-radius: 50px;
    box-shadow: 0 0 30px rgba(44, 95, 93, 0.4), 0 0 60px rgba(44, 95, 93, 0.2),
        0 8px 25px rgba(44, 95, 93, 0.25);
}

.explore-btn:hover .arrow {
    transform: translateX(5px);
}

.explore-btn:hover .text::after {
    width: 100%;
}

.explore-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 245, 220, 0.3);
}

/* Contact Circle */
.contact-circle {
    display: none;
}

/* Reveal on Scroll Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for children */
.reveal.active .stagger-item {
    opacity: 0;
    transform: translateY(30px);
    animation: staggerFadeIn 0.6s ease forwards;
}

.reveal.active .stagger-item:nth-child(1) {
    animation-delay: 0.1s;
}

.reveal.active .stagger-item:nth-child(2) {
    animation-delay: 0.2s;
}

.reveal.active .stagger-item:nth-child(3) {
    animation-delay: 0.3s;
}

.reveal.active .stagger-item:nth-child(4) {
    animation-delay: 0.4s;
}

.reveal.active .stagger-item:nth-child(5) {
    animation-delay: 0.5s;
}

.reveal.active .stagger-item:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes staggerFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade in from left */
.fade-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in from right */
.fade-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Scale animation */
.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.active {
    opacity: 1;
    transform: scale(1);
}

/* Rotate in animation */
.rotate-in {
    opacity: 0;
    transform: rotate(-5deg) scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.rotate-in.active {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* About Section */
.about-section {
    min-height: 100vh;
    background: #ffffff;
    padding: 100px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dark-mode .about-section {
    background: #1a1a1a;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-logo {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active .about-logo {
    opacity: 1;
    transform: translateY(0);
}

.about-logo img {
    height: 100px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.about-container h2 {
    font-family: "Playfair Display", serif;
    font-size: 48px;
    font-weight: 400;
    color: #2c3e50;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active .about-container h2 {
    opacity: 1;
    transform: translateY(0);
}

body.dark-mode .about-container h2 {
    color: #e0e0e0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #5a5a5a;
    margin-bottom: 30px;
    text-align: center;
}

body.dark-mode .about-content p {
    color: #b0b0b0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin-top: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.info-item {
    text-align: center;
    padding: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active .info-item:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.reveal.active .info-item:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.info-item h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.dark-mode .info-item h3 {
    color: #e0e0e0;
}

.info-item p {
    font-size: 15px;
    line-height: 1.6;
    color: #5a5a5a;
    margin: 0;
}

body.dark-mode .info-item p {
    color: #b0b0b0;
}

.divider {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 60%;
    background: rgba(44, 62, 80, 0.1);
    pointer-events: none;
}

body.dark-mode .divider {
    background: rgba(224, 224, 224, 0.1);
}

/* Tenant Carousel Section */
.tenant-section {
    min-height: 100vh;
    background: #ffffff;
    padding: 100px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dark-mode .tenant-section {
    background: #1a1a1a;
}

.tenant-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.tenant-container h2 {
    font-family: "Playfair Display", serif;
    font-size: 48px;
    font-weight: 400;
    color: #2c3e50;
    margin-bottom: 60px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active .tenant-container h2 {
    opacity: 1;
    transform: translateY(0);
}

body.dark-mode .tenant-container h2 {
    color: #e0e0e0;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.reveal.active .carousel-wrapper {
    opacity: 1;
    transform: translateY(0);
}

.carousel-container {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tenant-card {
    flex: 0 0 calc(25% - 22.5px);
    background: #f8f8f8;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

body.dark-mode .tenant-card {
    background: #2a2a2a;
}

.tenant-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

body.dark-mode .tenant-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.tenant-card-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.tenant-card-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tenant-card:hover .tenant-card-image::after {
    opacity: 1;
}

.tenant-card-content {
    padding: 25px;
}

.tenant-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 10px;
}

body.dark-mode .tenant-card h3 {
    color: #e0e0e0;
}

.tenant-card p {
    font-size: 14px;
    color: #5a5a5a;
    margin-bottom: 15px;
}

body.dark-mode .tenant-card p {
    color: #b0b0b0;
}

.tenant-card-tag {
    display: inline-block;
    padding: 6px 18px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 12px rgba(44, 95, 93, 0.25);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(44, 95, 93, 0.25);
}

.carousel-btn:hover {
    background: var(--secondary-gradient);
    transform: scale(1.12);
    box-shadow: 0 5px 20px rgba(44, 95, 93, 0.35),
        0 0 30px rgba(44, 95, 93, 0.15);
}

.carousel-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: scale(1);
}

/* Experience Section */
.experience-section {
    min-height: 100vh;
    background: #ffffff;
    padding: 100px 40px;
    display: flex;
    align-items: center;
    position: relative;
}

body.dark-mode .experience-section {
    background: #1a1a1a;
}

.experience-wrapper {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active .experience-wrapper {
    opacity: 1;
    transform: translateY(0);
}

.experience-left {
    flex: 0 0 300px;
    padding-left: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.all-experience-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #2c3e50;
    padding: 0;
    padding-right: 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    overflow: visible;
    font-weight: 500;
    height: 50px;
    font-family: "Playfair Display", serif;
}

body.dark-mode .all-experience-btn {
    color: #e0e0e0;
}

.all-experience-btn::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    transition: all 0.4s ease;
    z-index: 0;
}

.all-experience-btn .arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-right: 15px;
    font-size: 20px;
    transition: transform 0.4s ease;
    flex-shrink: 0;
    color: white;
    position: relative;
    z-index: 1;
}

.all-experience-btn .text {
    position: relative;
    transition: all 0.4s ease;
    z-index: 1;
}

.all-experience-btn .text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 0;
    height: 1px;
    background: #2c3e50;
    transition: width 0.4s ease;
}

body.dark-mode .all-experience-btn .text::after {
    background: #e0e0e0;
}

.all-experience-btn:hover::before {
    width: calc(100% + 35px);
    border-radius: 50px;
    box-shadow: 0 0 30px rgba(44, 95, 93, 0.4), 0 0 60px rgba(44, 95, 93, 0.2);
}

.all-experience-btn:hover .arrow {
    transform: translateX(5px);
}

.all-experience-btn:hover .text::after {
    width: 100%;
}

.all-experience-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 245, 220, 0.3);
}

.experience-cards {
    flex: 1;
    display: flex;
    gap: 20px;
    height: 600px;
    overflow: hidden;
    position: relative;
}

.experience-card {
    position: relative;
    flex: 1;
    border-radius: 0px; /* Sharper edges for editorial feel, or small radius */
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.8s cubic-bezier(0.25, 1, 0.5, 1); /* Smoother bezier */
    margin: 0 2px; /* Tiny gap for separation */
}

.experience-card.expanded {
    flex: 3 !important; /* increased expansion ratio */
}

.experience-card.promotion {
    flex: 3;
}

.experience-card:not(.promotion):not(.expanded) {
    flex: 1;
}

/* Background Image Layer (Parallax Zoom Effect) */
.experience-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 0;
    filter: brightness(0.9);
}

/* Hover Effect: Zoom Background */
.experience-card:hover::before {
    transform: scale(1.15);
    filter: brightness(1);
}

/* Overlay Layer */
.experience-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 1;
    opacity: 0.8;
    transition: opacity 0.5s ease;
}

.experience-card:hover::after {
    opacity: 0.6; /* Lighten overlay on hover */
}

/* Only apply hover expand effect on devices that support hover properly */
@media (min-width: 1025px) {
    .experience-card:hover {
        flex: 3 !important;
    }

    .experience-cards:hover .experience-card:not(:hover) {
        flex: 0.8 !important;
        filter: grayscale(0.4); /* Subtle focus on active */
    }
}

/* Mobile Styling */
@media (max-width: 1024px) {
    .experience-cards {
        gap: 15px;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .experience-card {
        flex: 0 0 280px !important;
        min-width: 280px;
        height: 450px;
        border-radius: 10px;
    }
}

.experience-card-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px; /* Constrain width */
    z-index: 3;
    text-align: left;
    opacity: 0;
    transition: all 0.6s ease 0.1s;
    transform: translateY(20px);

    /* Glassmorphism Panel */
    background: rgba(255, 255, 255, 0.05); /* Ultra subtle wash */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px; /* Editorial box feel */
}

.experience-card-content.active {
    pointer-events: auto;
}

.experience-card h4 {
    font-family: "Argesta Display", "Playfair Display", serif; /* Use fancier font if available */
    font-size: 38px;
    font-weight: 400;
    color: white;
    margin: 0 0 20px 0;
    letter-spacing: -0.5px; /* Tighter modern serif tracking */
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Button Refinement */
.experience-card-button {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    color: #1a1a1a; /* Dark text on white btn */
    padding: 12px 30px;
    border-radius: 0px; /* Sharp editorial button */
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    gap: 10px;
}

.experience-card-button:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Vertical Title Refinement */
.experience-card-title-vertical {
    position: absolute;
    bottom: 0;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;

    /* Vertical Gradient Overlay when collapsed */
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.2),
        transparent,
        rgba(0, 0, 0, 0.2)
    );
}

.experience-card-title-vertical h4 {
    font-family: "Argesta Display", "Playfair Display", serif;
    font-size: 32px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg); /* Fix rotation if needed, or keep standard */
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Visibility States */
.experience-card.promotion .experience-card-content,
.experience-card.expanded .experience-card-content,
.experience-card:hover .experience-card-content {
    opacity: 1;
    transform: translateY(0);
}

.experience-card.promotion .experience-card-title-vertical,
.experience-card.expanded .experience-card-title-vertical,
.experience-card:hover .experience-card-title-vertical {
    opacity: 0;
}

.experience-cards:hover
    .experience-card.promotion:not(:hover):not(.expanded)
    .experience-card-content {
    opacity: 0;
    transform: translateY(20px);
}

.experience-cards:hover
    .experience-card.promotion:not(:hover):not(.expanded)
    .experience-card-title-vertical {
    opacity: 1;
}

/* Move Background Images to ::before */
.experience-card.promotion::before {
    background-image: url("https://images.unsplash.com/photo-1607082348824-0a96f2a4b9da?w=800");
}

.experience-card.events::before {
    background-image: url("https://images.unsplash.com/photo-1492684223066-81342ee5ff30?w=800");
}

.experience-card.dining::before {
    background-image: url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?w=800"); /* Dining/Restaurant image */
}

.experience-card.new-store::before {
    background-image: url("https://images.unsplash.com/photo-1441986300917-64674bd600d8?w=800");
}

/* Cleanup old background styles if any remain on the element itself */
.experience-card.promotion,
.experience-card.events,
.experience-card.dining,
.experience-card.new-store {
    background-image: none;
}

/* Event Highlight Section with Slider */
.event-section {
    min-height: 100vh;
    background: var(--bg-light);
    padding: 100px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dark-mode .event-section {
    background: var(--bg-dark);
}

.event-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.event-container h2 {
    font-family: "Playfair Display", serif;
    font-size: 52px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 70px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 1px;
}

.reveal.active .event-container h2 {
    opacity: 1;
    transform: translateY(0);
}

body.dark-mode .event-container h2 {
    color: var(--text-light);
}

/* Event Slider Wrapper */
.event-slider-wrapper {
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.reveal.active .event-slider-wrapper {
    opacity: 1;
    transform: translateY(0);
}

.event-grid {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Desktop: Show 2 cards */
@media (min-width: 769px) {
    .event-card {
        flex: 0 0 calc(50% - 15px);
        min-width: calc(50% - 15px);
    }
}

/* Mobile: Show 1 card */
@media (max-width: 768px) {
    .event-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
}

.event-card {
    position: relative;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.event-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(44, 95, 93, 0.2),
        0 0 60px rgba(44, 95, 93, 0.08);
}

body.dark-mode .event-card {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

body.dark-mode .event-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(168, 197, 195, 0.1);
}

.event-card-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-card:hover .event-card-bg {
    transform: scale(1.15);
}

.event-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 40%,
        rgba(0, 0, 0, 0.85) 100%
    );
    z-index: 1;
    transition: opacity 0.4s ease;
}

.event-card:hover::before {
    background: linear-gradient(
        to bottom,
        rgba(44, 95, 93, 0.08) 0%,
        rgba(44, 95, 93, 0.2) 40%,
        rgba(0, 0, 0, 0.88) 100%
    );
}

.event-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 35px;
    z-index: 2;
    color: white;
}

.event-date {
    display: inline-block;
    background: var(--primary-gradient);
    color: white;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    box-shadow: 0 3px 15px rgba(44, 95, 93, 0.3);
    transition: all 0.3s ease;
}

.event-card:hover .event-date {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(44, 95, 93, 0.4);
}

.event-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 12px;
    color: white;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.event-card p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 18px;
    letter-spacing: 0.3px;
}

.event-link {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    gap: 10px;
    transition: all 0.3s ease;
    padding: 8px 0;
    letter-spacing: 0.5px;
}

.event-link::before {
    content: "";
    position: absolute;
    bottom: 28px;
    left: 35px;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.4s ease;
}

.event-card:hover .event-link::before {
    width: 120px;
}

.event-link:hover {
    gap: 15px;
    transform: translateX(5px);
}

/* Event Navigation Controls */
.event-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

.reveal.active .event-controls {
    opacity: 1;
    transform: translateY(0);
}

.event-nav-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--primary-gradient);
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 15px rgba(44, 95, 93, 0.25);
    position: relative;
    overflow: hidden;
}

.event-nav-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.event-nav-btn:hover::before {
    width: 100%;
    height: 100%;
}

.event-nav-btn:hover {
    background: var(--secondary-gradient);
    transform: scale(1.12);
    box-shadow: 0 5px 25px rgba(44, 95, 93, 0.4), 0 0 40px rgba(44, 95, 93, 0.2);
}

.event-nav-btn:active {
    transform: scale(0.95);
}

.event-nav-btn:disabled {
    background: linear-gradient(135deg, #ccc 0%, #999 100%);
    cursor: not-allowed;
    transform: scale(1);
    opacity: 0.5;
}

.event-nav-btn:disabled:hover {
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Hide controls if not needed */
.event-controls.hidden {
    display: none;
}

/* Mall Map Section */
.map-section {
    min-height: 100vh;
    background: #ffffff;
    padding: 100px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dark-mode .map-section {
    background: #1a1a1a;
}

.map-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.map-container h2 {
    font-family: "Playfair Display", serif;
    font-size: 48px;
    font-weight: 400;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active .map-container h2 {
    opacity: 1;
    transform: translateY(0);
}

body.dark-mode .map-container h2 {
    color: #e0e0e0;
}

.map-subtitle {
    text-align: center;
    font-size: 16px;
    color: #5a5a5a;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.reveal.active .map-subtitle {
    opacity: 1;
    transform: translateY(0);
}

body.dark-mode .map-subtitle {
    color: #b0b0b0;
}

.map-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.map-display {
    background: #f8f8f8;
    border-radius: 15px;
    overflow: hidden;
    height: 600px;
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.reveal.active .map-display {
    opacity: 1;
    transform: translateX(0);
}

body.dark-mode .map-display {
    background: #2a2a2a;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    color: #5a5a5a;
}

body.dark-mode .map-placeholder {
    color: #b0b0b0;
}

.map-icon {
    width: 90px;
    height: 90px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
    box-shadow: 0 6px 25px rgba(44, 95, 93, 0.3);
}

.map-floors {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: calc(4 * 78px + 3 * 15px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
    position: relative;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.reveal.active .map-floors {
    opacity: 1;
    transform: translateX(0);
}

/* Scroll indicator for map floors */
.scroll-indicator {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95), transparent);
    padding: 15px 0 0;
    text-align: center;
    font-size: 12px;
    color: #f5f5dc;
    font-weight: 600;
    letter-spacing: 1px;
    pointer-events: none;
    transition: opacity 0.3s ease;
    margin-right: -10px;
}

body.dark-mode .scroll-indicator {
    background: linear-gradient(to top, rgba(26, 26, 26, 0.95), transparent);
}

.scroll-indicator.hidden {
    opacity: 0;
}

.scroll-indicator svg {
    width: 16px;
    height: 16px;
    fill: #f5f5dc;
    animation: bounceDown 1.5s infinite;
    display: block;
    margin: 5px auto 0;
}

@keyframes bounceDown {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-5px);
    }

    60% {
        transform: translateY(-3px);
    }
}

/* Hide scrollbar for map floors */
.map-floors {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.map-floors::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.floor-item {
    background: #f8f8f8;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-height: 78px;
}

body.dark-mode .floor-item {
    background: #2a2a2a;
}

.floor-item:hover {
    border-color: #f5f5dc;
    transform: translateX(5px) scale(1.02);
    box-shadow: 0 5px 15px rgba(245, 245, 220, 0.2);
}

.floor-item.active {
    background: #f5f5dc;
    border-color: #f5f5dc;
}

.floor-item.active h4,
.floor-item.active p {
    color: #2c5f5d;
}

.floor-item h4 {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

body.dark-mode .floor-item h4 {
    color: #e0e0e0;
}

.floor-item p {
    font-size: 13px;
    color: #5a5a5a;
    margin: 0;
}

body.dark-mode .floor-item p {
    color: #b0b0b0;
}

/* Responsive untuk section baru */
@media (max-width: 1024px) {
    .event-grid {
        grid-template-columns: 1fr;
    }

    .dining-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .map-wrapper {
        grid-template-columns: 1fr;
    }

    .map-display {
        height: 400px;
    }

    .parking-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .event-section,
    .dining-section,
    .map-section,
    .parking-section {
        padding: 60px 20px;
    }

    .event-container h2,
    .dining-container h2,
    .map-container h2,
    .parking-container h2 {
        font-size: 36px;
    }

    .event-card {
        height: 300px;
    }

    .dining-grid {
        grid-template-columns: 1fr;
    }

    .parking-features {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c5f5d 0%, #1a3a38 100%);
    color: white;
    padding: 80px 40px 30px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="rgba(245, 245, 220,0.02)"/><circle cx="50" cy="50" r="30" fill="rgba(245, 245, 220,0.03)"/></svg>');
    opacity: 0.5;
}

body.dark-mode footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-column h3 {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 25px;
    color: white;
}

.footer-about p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: "→";
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #f5f5dc;
    transform: translateX(10px);
}

.footer-links a:hover::before {
    left: -15px;
    opacity: 1;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 15px;
}

.footer-contact-item svg {
    width: 20px;
    height: 20px;
    fill: #f5f5dc;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: #f5f5dc;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.footer-social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.footer-social-link:hover {
    background: #f5f5dc;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(245, 245, 220, 0.3);
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 40px 0 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand-logo {
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
        "Lucida Sans", Arial, sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: white;
    letter-spacing: 1px;
}

.footer-brand-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .experience-wrapper {
        flex-direction: column;
    }

    .experience-left {
        flex: none;
        width: 100%;
        padding-left: 0;
        text-align: center;
    }

    .experience-cards {
        width: 100%;
        height: 500px;
    }

    .tenant-card {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .sidebar {
        width: 100%;
        right: -100%;
        padding: 80px 30px 120px;
    }

    .sidebar-logo {
        left: 30px;
        top: 25px;
    }

    .hero h2 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .contact-circle {
        display: none;
    }

    .dark-mode-toggle {
        bottom: 20px;
        right: 20px;
    }

    .about-section {
        padding: 60px 20px;
    }

    .about-container h2 {
        font-size: 36px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .divider {
        display: none;
    }

    .tenant-section {
        padding: 60px 20px;
    }

    .tenant-container h2 {
        font-size: 36px;
    }

    .tenant-card {
        flex: 0 0 calc(50% - 15px);
    }

    .experience-section {
        padding: 60px 20px;
    }

    .experience-cards {
        flex-direction: column;
        height: auto;
        gap: 15px;
    }

    .experience-card {
        height: 200px;
        flex: none !important;
    }

    .experience-card h4 {
        writing-mode: horizontal-tb;
        font-size: 24px;
    }

    .experience-card-content {
        left: 20px;
        bottom: 20px;
        opacity: 1 !important;
    }

    .experience-card-title-vertical {
        display: none;
    }

    footer {
        padding: 60px 20px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .tenant-card {
        flex: 0 0 100%;
    }
}

/* Tenant Grid in Landing */
.tenant-content {
    width: 100%;
    position: relative;
    padding-right: 20px;
    /* Prevent overlap with map-floors */
}

@media (max-width: 1023px) {
    .tenant-content {
        padding-right: 0;
    }
}

/* Horizontal Scroll Indicator for Tenant Grid */
.tenant-scroll-indicator {
    position: absolute;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    opacity: 1 !important;
    transition: all 0.3s ease;
    z-index: 5;
    pointer-events: none;

    /* Enhanced Glassmorphism Effect */
    background: rgba(255, 255, 255, 0.85);
    /* More solid background */
    backdrop-filter: saturate(180%) blur(12px);
    /* iOS-style frosted glass */
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    padding: 10px 20px;
    /* Slightly larger padding */
    border-radius: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.5);
    /* Inner border ring */
    border: none;
    /* Removed standard border for shadow ring approach */
}

.tenant-scroll-indicator.right {
    right: 20px;
}

.tenant-scroll-indicator.left {
    left: 20px;
    flex-direction: row;
    /* Default row */
}

body.dark-mode .tenant-scroll-indicator {
    color: var(--text-light);
    background: rgba(30, 30, 30, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.tenant-scroll-indicator.hidden {
    opacity: 0 !important;
    visibility: hidden;
    transform: scale(0.9);
}

.tenant-scroll-indicator svg {
    width: 20px;
    height: 20px;
    fill: none;
    /* Changed to none for stroke path */
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tenant-scroll-indicator.right svg {
    animation: bounceRight 2s ease-in-out infinite;
}

.tenant-scroll-indicator.left svg {
    animation: bounceLeft 2s ease-in-out infinite;
}

body.dark-mode .tenant-scroll-indicator svg {
    fill: none;
    stroke: var(--text-light);
}

@keyframes bounceRight {
    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

@keyframes bounceLeft {
    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-5px);
    }
}

@media (max-width: 768px) {
    .tenant-scroll-indicator {
        font-size: 10px;
        bottom: 15px;
        right: 15px;
    }

    .tenant-scroll-indicator svg {
        width: 16px;
        height: 16px;
    }
}

.tenant-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
}

.tenant-grid::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

/* Tenant Grid Wrapper with Navigation */
.tenant-grid-wrapper {
    position: relative;
    width: 100%;
}

.tenant-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(44, 95, 93, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 10;
    opacity: 0;
}

.tenant-grid-wrapper:hover .tenant-nav-btn {
    opacity: 1;
}

.tenant-nav-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(44, 95, 93, 0.25);
    border-color: var(--primary-color);
}

.tenant-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.tenant-nav-btn.prev {
    left: 10px;
}

.tenant-nav-btn.next {
    right: 10px;
}

.tenant-nav-btn svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-color);
    transition: stroke 0.3s ease;
}

.tenant-nav-btn:hover svg {
    stroke: var(--secondary-color);
}

body.dark-mode .tenant-nav-btn {
    background: rgba(40, 40, 40, 0.95);
    border-color: rgba(168, 197, 195, 0.2);
}

body.dark-mode .tenant-nav-btn:hover {
    background: rgba(50, 50, 50, 1);
    border-color: var(--accent-color);
}

body.dark-mode .tenant-nav-btn svg {
    stroke: var(--accent-color);
}

body.dark-mode .tenant-nav-btn:hover svg {
    stroke: var(--text-light);
}

/* Mobile: Adjust button positioning and always show */
@media (max-width: 1024px) {
    .tenant-nav-btn {
        opacity: 1; /* Always visible on mobile */
        width: 40px;
        height: 40px;
    }

    .tenant-nav-btn.prev {
        left: 5px;
    }

    .tenant-nav-btn.next {
        right: 5px;
    }

    .tenant-nav-btn svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 768px) {
    .tenant-nav-btn {
        width: 36px;
        height: 36px;
    }

    .tenant-nav-btn.prev {
        left: 5px;
    }

    .tenant-nav-btn.next {
        right: 5px;
    }

    .tenant-nav-btn svg {
        width: 18px;
        height: 18px;
    }
}

.tenant-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    opacity: 1 !important;
    transform: none !important;
    /* Force visible */
    flex-shrink: 0;
    scroll-snap-align: start;
    touch-action: pan-y pinch-zoom;
    /* Allow vertical scroll and pinch zoom */
}

/* Desktop: Show 3 cards */
@media (min-width: 1024px) {
    .tenant-card {
        min-width: calc((100% - 3rem) / 3);
        /* 3 cards with 1.5rem gap between */
        max-width: calc((100% - 3rem) / 3);
    }
}

/* Tablet: Show 2 cards */
@media (min-width: 768px) and (max-width: 1023px) {
    .tenant-card {
        min-width: calc((100% - 1.5rem) / 2);
        /* 2 cards */
        max-width: calc((100% - 1.5rem) / 2);
    }
}

/* Mobile: Show 1 card */
@media (max-width: 767px) {
    .tenant-card {
        min-width: calc(100% - 40px);
        max-width: calc(100% - 40px);
    }
}

.tenant-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 30px rgba(44, 95, 93, 0.15);
}

body.dark-mode .tenant-card {
    background: rgba(40, 40, 40, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
}

.tenant-logo {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    padding: 20px;
    position: relative;
}

body.dark-mode .tenant-logo {
    background: rgba(255, 255, 255, 0.05);
}

.tenant-logo img {
    max-width: 120px;
    max-height: 100px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.tenant-card:hover .tenant-logo img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

.tenant-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Pill Badge (Overlapping) - Positioned at top-right of tenant-logo */
.floor-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #f5f5dc 0%, #e8e6ca 100%);
    color: #2c5f5d;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(245, 245, 220, 0.3);
}

.tenant-info h3 {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 700;
}

body.dark-mode .tenant-info h3 {
    color: #e0e0e0;
}

.tenant-category {
    font-size: 13px;
    color: #6a7a78;
    margin-bottom: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tenant-category svg {
    width: 14px;
    height: 14px;
    fill: #f5f5dc;
}

.tenant-meta {
    margin-top: auto;
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #666;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-mode .tenant-meta {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item svg {
    width: 14px;
    height: 14px;
    fill: #f5f5dc;
}

.see-details-btn {
    margin-top: 18px;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #f5f5dc 0%, #e8e6ca 100%);
    border: none;
    color: #2c5f5d;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(245, 245, 220, 0.25);
    position: relative;
    overflow: hidden;
}

.see-details-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.see-details-btn:hover::before {
    left: 100%;
}

.see-details-btn:hover {
    background: linear-gradient(135deg, #e8e6ca 0%, #d6d4b6 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 245, 220, 0.4);
}

.see-details-btn svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.see-details-btn:hover svg {
    transform: translateX(3px);
}

/* Tenant Details Modal */
.tenant-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tenant-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode .modal-overlay {
    background: rgba(0, 0, 0, 0.85);
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tenant-modal.active .modal-container {
    transform: scale(1) translateY(0);
}

body.dark-mode .modal-container {
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-close:hover {
    background: white;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

body.dark-mode .modal-close {
    background: rgba(50, 50, 50, 0.9);
}

body.dark-mode .modal-close:hover {
    background: rgba(60, 60, 60, 1);
}

.modal-close svg {
    width: 20px;
    height: 20px;
    stroke: #2c3e50;
}

body.dark-mode .modal-close svg {
    stroke: #e0e0e0;
}

.modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-height: 90vh;
    overflow: hidden;
}

@media (max-width: 768px) {
    .modal-content {
        grid-template-columns: 1fr;
        overflow-y: auto;
    }
}

/* Modal Carousel */
.modal-carousel {
    position: relative;
    background: #f8f9fa;
    overflow: hidden;
}

body.dark-mode .modal-carousel {
    background: rgba(20, 20, 20, 0.8);
}

.carousel-images {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.carousel-image {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.carousel-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
}

.modal-carousel:hover .carousel-nav {
    opacity: 1;
}

.carousel-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

body.dark-mode .carousel-nav {
    background: rgba(50, 50, 50, 0.9);
}

body.dark-mode .carousel-nav:hover {
    background: rgba(60, 60, 60, 1);
}

.carousel-nav svg {
    width: 24px;
    height: 24px;
    stroke: #2c3e50;
}

body.dark-mode .carousel-nav svg {
    stroke: #e0e0e0;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

body.dark-mode .carousel-indicator {
    background: rgba(255, 255, 255, 0.3);
}

body.dark-mode .carousel-indicator.active {
    background: rgba(255, 255, 255, 0.8);
}

/* Carousel Swipe Hint */
.carousel-swipe-hint {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    color: white;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 1;
    transition: opacity 0.5s ease;
    z-index: 5;
    pointer-events: none;
}

.carousel-swipe-hint.hidden {
    opacity: 0;
}

body.dark-mode .carousel-swipe-hint {
    background: rgba(255, 255, 255, 0.15);
}

.carousel-swipe-hint svg {
    width: 16px;
    height: 16px;
    stroke: white;
    animation: swipeHintBounce 2s ease-in-out infinite;
}

.carousel-swipe-hint svg:first-child {
    animation-delay: 0s;
}

.carousel-swipe-hint svg:last-child {
    animation-delay: 0.5s;
}

@keyframes swipeHintBounce {
    0%,
    100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-3px);
    }
}

.carousel-swipe-hint svg:last-child {
    animation-name: swipeHintBounceRight;
}

@keyframes swipeHintBounceRight {
    0%,
    100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(3px);
    }
}

@media (max-width: 768px) {
    .carousel-swipe-hint {
        font-size: 10px;
        padding: 10px 18px;
        gap: 8px;
    }

    .carousel-swipe-hint svg {
        width: 14px;
        height: 14px;
    }
}

/* Modal Details */
.modal-details {
    padding: 40px;
    overflow-y: auto;
    max-height: 90vh;
}

@media (max-width: 768px) {
    .modal-details {
        padding: 30px 20px;
    }
}

.modal-header {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.dark-mode .modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.modal-logo {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    flex-shrink: 0;
}

body.dark-mode .modal-logo {
    background: rgba(255, 255, 255, 0.05);
}

.modal-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.modal-title {
    flex: 1;
}

.modal-floor-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.modal-title h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

body.dark-mode .modal-title h2 {
    color: var(--text-light);
}

.modal-category {
    font-size: 14px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-info {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.modal-info-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: rgba(44, 95, 93, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.modal-info-item:hover {
    background: rgba(44, 95, 93, 0.1);
    transform: translateX(5px);
}

body.dark-mode .modal-info-item {
    background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .modal-info-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.modal-info-item svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-color);
    flex-shrink: 0;
}

body.dark-mode .modal-info-item svg {
    stroke: var(--accent-color);
}

.modal-info-item div {
    flex: 1;
}

.info-label {
    display: block;
    font-size: 12px;
    color: var(--secondary-color);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
}

body.dark-mode .info-value {
    color: var(--text-light);
}

.modal-description {
    padding: 20px;
    background: rgba(44, 95, 93, 0.03);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

body.dark-mode .modal-description {
    background: rgba(255, 255, 255, 0.03);
}

.modal-description p {
    line-height: 1.8;
    color: var(--text-dark);
}

body.dark-mode .modal-description p {
    color: var(--text-light);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        max-height: 95vh;
        border-radius: 16px;
    }

    .modal-carousel {
        min-height: 300px;
    }

    .carousel-image {
        padding: 20px;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
    }

    .carousel-nav.prev {
        left: 10px;
    }

    .carousel-nav.next {
        right: 10px;
    }

    .modal-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .modal-logo {
        width: 100px;
        height: 100px;
    }

    .modal-title h2 {
        font-size: 22px;
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    display: none;
    width: 100%;
}

.empty-state svg {
    width: 80px;
    height: 80px;
    fill: #f5f5dc;
    opacity: 0.5;
    margin-bottom: 15px;
}

.empty-state h3 {
    font-size: 20px;
    color: #2c3e50;
}

body.dark-mode .empty-state h3 {
    color: #ddd;
}

/* Map Floors Styling */
.map-floors {
    background: white;
    /* White background request */
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: fit-content;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #2c3e50;
    position: relative;
    /* For absolute indicators */
    overflow: hidden;
    /* Contain inner scroll */
    padding: 0;
    /* Remove padding from container, move to wrapper */
}

.floor-list-wrapper {
    padding: 1.5rem;
    max-height: 450px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* simple IE */
}

.floor-list-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

/* Vertical Scroll Indicators for Floors */
.floor-scroll-indicator {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    /* Glassmorphism */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 1;
    pointer-events: none;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

body.dark-mode .floor-scroll-indicator {
    background: rgba(40, 40, 40, 0.85);
    color: white;
}

.floor-scroll-indicator svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.floor-scroll-indicator.up {
    top: 15px;
    animation: bounceUp 2s infinite;
}

.floor-scroll-indicator.down {
    bottom: 15px;
    animation: bounceDown 2s infinite;
}

.floor-scroll-indicator.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px);
}

@keyframes bounceUp {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes bounceDown {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(5px);
    }
}

body.dark-mode .map-floors {
    background: rgba(40, 40, 40, 0.6);
    border-color: rgba(255, 255, 255, 0.05);
}

.floor-item {
    padding: 1rem;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    background: transparent;
}

.floor-item:hover {
    background: rgba(245, 245, 220, 0.1);
    transform: translateX(5px);
}

.floor-item.active {
    background: var(--primary-gradient);
    /* Solid active background */
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(245, 245, 220, 0.3);
    transform: translateX(5px);
}

.floor-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    /* Dark text for inactive items */
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

body.dark-mode .floor-item h4 {
    color: #e0e0e0;
}

.floor-item p {
    font-size: 12px;
    color: #6a7a78;
    /* Muted text for inactive items */
    margin: 0;
    transition: color 0.3s ease;
}

/* Active State Text Colors - White for constrast on gradient */
.floor-item.active h4 {
    color: white !important;
}

.floor-item.active p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Adjust Map Wrapper for Grid - Ensure Left/Right Split */
.map-wrapper {
    display: flex;
    flex-direction: column-reverse;
    gap: 30px;
}

@media (min-width: 1024px) {
    .map-wrapper {
        display: grid;
        grid-template-columns: 1fr 400px;
        /* Widened to 400px */
        align-items: start;
        gap: 40px;
    }

    .map-floors {
        order: 2;
        display: flex !important;
        /* Ensure it's visible */
        position: sticky;
        top: 2rem;
    }

    .map-display {
        order: 1;
        background: transparent;
        box-shadow: none;
        height: auto;
        overflow: visible;
        min-width: 0;
        /* CRITICAL: Prevents grid item from expanding beyond its cell */
        width: 100%;
    }
}
