/* ============================================================
   HOME PAGE STYLES
   Kế thừa header + side-nav từ masterplan.css
   ============================================================ */

/* Section 1 (Home) và Section 3 (Location) - Menu màu đen */
body.section-home .nav-item a,
body.section-location .nav-item a {
    color: #000 !important;
    opacity: 0.3;
}

body.section-home .nav-item.active a,
body.section-location .nav-item.active a {
    color: #000 !important;
    opacity: 1;
}

body.section-home .nav-item.active a::after,
body.section-location .nav-item.active a::after {
    background: #000 !important;
}

body.section-home .nav-item a:hover,
body.section-location .nav-item a:hover {
    color: #000 !important;
    opacity: 0.6;
}

/* Các section khác - Menu màu trắng (mặc định) */
body.section-video .nav-item a,
body.section-floorplan .nav-item a,
body.section-amenities .nav-item a,
body.section-news .nav-item a,
body.section-partners .nav-item a,
body.section-360 .nav-item a,
body.section-contact .nav-item a {
    color: #FFF !important;
}

body.section-video .nav-item.active a,
body.section-floorplan .nav-item.active a,
body.section-amenities .nav-item.active a,
body.section-news .nav-item.active a,
body.section-partners .nav-item.active a,
body.section-360 .nav-item.active a,
body.section-contact .nav-item.active a {
    color: #FFF !important;
}

body {
    background-color: var(--primary-green);
}

/* Logo Particle Effect */
.logo-wrapper {
    position: relative;
    display: inline-block;
}

/* Đảm bảo header/menu luôn nằm trên cùng và không bị ẩn ở các trang khác (masterplan, library, progress) */
header {
    z-index: 12000 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Đẩy header xuống thấp hơn riêng cho trang masterplan & library để không che logo */
body.page-masterplan header,
body.page-library header {
    top: 60px !important; /* cao hơn mặc định 40px một chút */
}

.logo {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.logo-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.logo-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-gold);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

#home-wrapper {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.home-section {
    position: absolute;
    inset: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    visibility: hidden;
}

/* Tách amenities-content khỏi transform context của section */
#section-amenities {
    transform-style: flat !important;
}

.home-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    filter: brightness(0.85);
    transform: scale(1.02);
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bg-home {
    background-image: url('../assets/index/index1.png');
}

.bg-location {
    background-image: url('../assets/index/index3.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    width: 100vw;
    height: 100vh;
    min-width: 100vw;
    min-height: 100vh;
    transform: none;
}

/* Location: dùng nền vàng phẳng để full bleed */
#section-location .bg-location {
    background-image: none;
    background-color: #d9c79a;
}

.bg-floorplan {
    background-image: url('../assets/maps-shop-house.svg');
}

.bg-amenities {
    background-image: url('../assets/index/BACKGROUND 2.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.bg-news {
    background-image: url('../assets/index/index6.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.bg-news::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.bg-partners {
    background-image: url('../assets/index/BACKGROUND 2.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.bg-360 {
    background-image: url('../assets/index/bg.png');
}

.bg-contact {
    background-image: url('../assets/index/BACKGROUND 2.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.home-content {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5vw;
}

/* Full-bleed for location section to remove side green bars */
#section-location .home-content {
    padding: 0;
}

/* ============================================================
   SECTION 1: HOME/HERO
   ============================================================ */
.hero-content {
    text-align: left;
    color: #fff;
    max-width: none;
    width: 100%;
    padding: 0 5vw;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 72px;
    font-weight: 600;
    margin: 0;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: var(--primary-green);
    line-height: 1.2;
    position: absolute;
    top: -20vh;
    left: 2vw;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.hero-title-line {
    display: block;
    font-size: 1em;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 16px;
    letter-spacing: 2px;
    color: var(--primary-gold);
}

.hero-description {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 40px;
}

.hero-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30vh;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3), transparent);
    z-index: 1;
    pointer-events: none;
}

.hero-labels {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 5;
    pointer-events: none;
}

.hero-label {
    position: absolute;
    display: flex;
    align-items: center;
    opacity: 0;
    animation: labelFadeIn 1s ease-out forwards;
}

.hero-label span {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-green);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    white-space: nowrap;
    background: transparent;
    padding: 8px 16px;
    border: none;
}

#label-product {
    top: -40vh;
    left: 22%;
    animation-delay: 0.5s;
}

#label-experience {
    top: -45vh;
    left: 35%;
    transform: translateX(-50%);
    animation-delay: 0.7s;
}

#label-value {
    top: -43vh;
    right: 33%;
    animation-delay: 0.9s;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 12px;
    letter-spacing: 1px;
    opacity: 0.7;
}

.scroll-arrow {
    font-size: 24px;
    opacity: 0.7;
}

.scroll-indicator-bottom {
    position: absolute;
    bottom: 5vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-arrow-down {
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: bounce 2s infinite, fadeInUp 1s ease-out 1.2s both;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.scroll-arrow-down:hover {
    color: var(--primary-gold);
    transform: translateY(5px);
}

@keyframes labelFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Video Section */
.video-fullscreen {
    position: relative;
    z-index: auto;
}

.video-fullscreen-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    background: #000;
    pointer-events: none;
}

.video-fullscreen-wrapper iframe,
.video-fullscreen-wrapper video {
    pointer-events: auto;
}

.youtube-fullscreen-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Desktop local video player (replaces YouTube iframe) */
.home-video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

/* Section 3: Location */
.location-content {
    width: 100%;
    max-width: none;
    height: 100%;
    position: relative;
}

.location-map-container {
    position: absolute;
    top: 4vh;
    left: 50%;
    transform: translateX(-50%);
    width: min(1400px, 95vw);
    height: 70vh;
    margin-bottom: 0;
    z-index: 1;
    overflow: visible;
    margin-left: 0;
    margin-right: 0;
    animation: mapFadeIn 1s ease-out;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.location-map-image {
    width: 100%;
    height: 100%;
    display: block;
    border: none !important;
    outline: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    object-fit: contain;
    transition: transform 0.5s ease;
    animation: mapZoomIn 1.2s ease-out;
}

.location-map-image:hover {
    transform: scale(1.02);
}

.location-route-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.route-path {
    fill: none;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 12 10;
    animation: route-dash 2.6s linear infinite;
}

.route-blue {
    stroke: #2d7bd8;
}

.route-green {
    stroke: #49b84a;
    animation-duration: 3.2s;
}

.route-red {
    stroke: #e33a3a;
    animation-duration: 2.2s;
}

@keyframes route-dash {
    to {
        stroke-dashoffset: -44;
    }
}

.location-text-content {
    position: absolute;
    left: 5vw;
    bottom: 6vh;
    text-align: left;
    color: #fff;
    max-width: 700px;
    margin: 0;
    z-index: 2;
    animation: textSlideIn 1s ease-out 0.3s both;
}

.location-main-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--primary-green);
    line-height: 1.2;
    animation: titleFadeIn 1s ease-out 0.5s both;
    position: relative;
}

.location-main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-gold);
    animation: underlineExpand 1s ease-out 1s forwards;
}

.location-description {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.95;
    color: #000;
    animation: descriptionFadeIn 1s ease-out 0.7s both;
}

.location-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: transparent;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: buttonFadeIn 1s ease-out 0.9s both;
    position: relative;
    overflow: hidden;
}

.location-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.location-cta-btn:hover::before {
    left: 100%;
}

.location-cta-btn:hover {
    background: #fff;
    color: var(--primary-green);
    transform: translateX(5px);
}

.location-cta-btn .arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

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

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.section-description {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* ============================================================
   SECTION 4: FLOOR PLAN
   ============================================================ */
.floorplan-content {
    text-align: center;
    color: #fff;
}

/* Floorplan on Home: ported masterplan layout (scoped) */
#section-floorplan {
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    overflow: hidden;
}

#section-floorplan .map-area {
    position: absolute;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
}

#section-floorplan .map-image-container {
    width: 120vmin;
    height: auto;
    aspect-ratio: 1160 / 913;
    position: absolute;
    top: 50%;
    left: 50%;
    /* Nắn lại vị trí cho giống trang masterplan: dịch nhẹ sang trái */
    transform: translate(-55%, -50%) !important;
    will-change: transform;
}

#section-floorplan .map-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

#section-floorplan .map-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Master Plan Labels Interaction (scoped) */
#section-floorplan .master-label {
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-box: fill-box;
    transform-origin: center bottom;
}

#section-floorplan .master-label:hover {
    transform: translateY(-10px) scale(1.1);
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
}

#section-floorplan .master-label rect {
    transition: fill 0.3s ease;
}

#section-floorplan .master-label:hover rect {
    fill: #FFF1CE;
}

.floorplan-cta {
    position: absolute;
    left: 1.5vw;
    bottom: 5vh;
    z-index: 25;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.floorplan-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    letter-spacing: 6px;
    color: var(--primary-gold);
    text-transform: uppercase;
}

.floorplan-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
}

.floorplan-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: var(--primary-green);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    text-decoration: none;
    width: fit-content;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.floorplan-btn:hover {
    transform: translateX(4px);
    border-color: #fff;
    background: #fff;
    color: var(--primary-green);
}

/* Cho phép click CTA trong section mặt bằng */
#section-floorplan .hotspots-layer {
    pointer-events: none;
}

/* Hiển thị hotspots/street labels khi dùng masterplan trong trang home */
#section-floorplan .hotspot,
#section-floorplan .street-label {
    opacity: 1;
}

.cta-button {
    display: inline-block;
    padding: 14px 40px;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 30px;
}

.cta-button:hover {
    background: #fff;
    color: var(--primary-green);
    transform: translateY(-2px);
}

/* ============================================================
   SECTION 5: AMENITIES
   ============================================================ */
.amenities-content {
    width: 100%;
    max-width: 1200px;
    transform: none !important;
    will-change: auto;
    position: relative;
    z-index: 1;
    display: none;
}

/* Chỉ hiện amenities-content khi đang ở section amenities */
body.section-amenities #section-amenities .amenities-content {
    display: block;
    visibility: visible;
    opacity: 1;
    position: relative;
    transform: none;
    z-index: 1;
}

#section-amenities .amenity-card {
    transform: none !important;
    opacity: 1 !important;
}

.amenities-carousel {
    position: relative;
    width: 100%;
    overflow: visible;
    z-index: 1;
    padding: 40px 80px 60px;
    touch-action: pan-y;
}

.amenities-track {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: center;
}

.amenities-slide {
    flex: 0 0 auto;
    width: 250px;
    opacity: 0.6;
    visibility: visible;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(0.85);
    z-index: 1;
}

.amenities-slide.active {
    opacity: 1;
    visibility: visible;
    width: 500px;
    transform: scale(1);
    z-index: 2;
}

.amenity-card {
    background: transparent;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    height: 100%;
}

.amenity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
}

.amenity-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    overflow: hidden;
    position: relative;
}

.amenities-slide.active .amenity-image {
    min-height: 400px;
}

.amenity-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.amenity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.amenity-card:hover .amenity-image img {
    transform: scale(1.05);
}

.amenity-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    z-index: 2;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.amenity-text h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.amenity-text p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.95;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.amenity-btn {
    padding: 12px 32px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.amenity-btn:hover {
    background: #fff;
    color: var(--primary-green);
    transform: translateX(5px);
    text-shadow: none;
}

.amenities-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    pointer-events: auto;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

.amenities-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
    border-color: var(--primary-gold);
}

.amenities-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.amenities-arrow-prev {
    left: 0;
}

.amenities-arrow-next {
    right: 0;
}

.amenities-arrow span {
    line-height: 1;
    font-weight: 300;
}

.amenities-pagination {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.amenities-footer-text {
    text-align: left;
    margin-top: 60px;
    color: #fff;
    padding-left: 0;
}

.amenities-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-gold);
    letter-spacing: 2px;
}

.amenities-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 1px;
    color: #fff;
    opacity: 0.95;
}

/* ============================================================
   SECTION 6: NEWS
   ============================================================ */
.news-content {
    width: 100%;
    max-width: 1400px;
    position: relative;
    z-index: 10;
}

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

.news-main {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 40px;
    color: #fff;
}

.news-date {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-gold);
    color: var(--primary-green);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

.news-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.3;
}

.news-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-green);
    color: #fff;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 20px;
}

.news-image {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-excerpt {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.9;
    color: #fff;
}

.news-btn {
    padding: 12px 32px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-btn:hover {
    background: #fff;
    color: var(--primary-green);
}

.news-sidebar {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 30px;
    color: #fff;
}

.sidebar-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #fff;
}

.news-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-item-image {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, #ccd7c5 0%, #f5f5f5 60%, #d6e0d3 100%);
    border-radius: 8px;
    margin-bottom: 12px;
}

.news-item-date {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.news-item-title {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
    color: #fff;
}

/* ============================================================
   SECTION 7: PARTNERS
   ============================================================ */
.partners-content {
    width: 100%;
    max-width: 1200px;
    text-align: center;
    color: #fff;
}

.developer-logo-wrapper {
    margin-bottom: 80px;
    display: flex;
    justify-content: center;
}

.developer-logo-img {
    max-width: 300px;
    height: auto;
    filter: brightness(1.1);
}

.partners-logo-wrapper,
.agents-logo-wrapper {
    margin-top: 40px;
    margin-bottom: 60px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.partners-carousel,
.agents-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.partners-track,
.agents-track {
    display: flex;
    gap: 60px;
    width: fit-content;
    will-change: transform;
}

.partners-carousel .partners-track {
    animation: scrollPartners 15s linear infinite;
}

.agents-carousel .agents-track {
    animation: scrollAgents 15s linear infinite;
}

.partners-track:hover,
.agents-track:hover {
    animation-play-state: paused;
}

.partners-logo-img,
.agents-logo-img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    flex-shrink: 0;
    object-fit: contain;
    filter: grayscale(0.3);
    transition: filter 0.3s ease;
}

.partners-logo-img:hover,
.agents-logo-img:hover {
    filter: grayscale(0);
}

@keyframes scrollPartners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 3));
    }
}

@keyframes scrollAgents {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 3));
    }
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.partner-item {
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.partner-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.partner-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
    line-height: 1.4;
}

.partner-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    opacity: 0.8;
    line-height: 1.6;
}

/* ============================================================
   SECTION 8: 360
   ============================================================ */
.view360-content {
    text-align: center;
    color: #fff;
    max-width: 800px;
}

.view360-placeholder {
    margin-top: 60px;
    padding: 80px 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.view360-icon {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-gold);
}

.view360-placeholder p {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    opacity: 0.8;
}

/* ============================================================
   SECTION 9: CONTACT
   ============================================================ */
.contact-content {
    width: 100%;
    max-width: 1400px;
    color: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-images {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.contact-image-single {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0.85) contrast(1.1);
    position: relative;
    overflow: hidden;
}

.contact-image-single::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(206, 180, 114, 0.3),
        transparent
    );
    transition: left 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.contact-image-single::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(33, 54, 44, 0.1) 0%,
        rgba(206, 180, 114, 0.1) 50%,
        rgba(33, 54, 44, 0.1) 100%
    );
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.contact-image-single.loaded {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.contact-image-single:hover {
    filter: brightness(1) contrast(1.15);
    transform: scale(1.05);
}

.contact-image-single:hover::before {
    left: 100%;
}

.contact-image-single:hover::after {
    opacity: 1;
}

/* Smooth transitions */
.contact-image-single {
    will-change: transform, filter;
}

.contact-form-wrapper {
    display: flex;
    flex-direction: column;
}

.contact-form {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 60px;
    color: #fff;
}

.form-group {
    margin-bottom: 30px;
}

.form-group input {
    width: 100%;
    padding: 16px 0;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #fff;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-bottom-color: #fff;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.submit-btn {
    width: 100%;
    padding: 16px 32px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: #fff;
    color: var(--primary-green);
}

.submit-btn .arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

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

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.info-item h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

.info-item p {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.6;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}


/* ============================================================
   ADDITIONAL ANIMATIONS & EFFECTS
   ============================================================ */

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Glow Effect */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(206, 180, 114, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(206, 180, 114, 0.8), 0 0 60px rgba(206, 180, 114, 0.4);
    }
}

.glow-effect {
    animation: glow 2s ease-in-out infinite;
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    background-size: 1000px 100%;
    animation: shimmer 3s infinite;
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.pulse-effect {
    animation: pulse 2s ease-in-out infinite;
}

/* Rotate Animation */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.rotate-slow {
    animation: rotate 20s linear infinite;
}

/* Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Scale In */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

/* Gradient Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gradient-animated {
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

/* Hover Effects */
.hero-title {
    transition: all 0.3s ease;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-title:hover {
    transform: scale(1.05);
    text-shadow: 0 6px 30px rgba(206, 180, 114, 0.6);
}

.hero-subtitle {
    transition: all 0.3s ease;
}

.hero-subtitle:hover {
    transform: translateX(10px);
    color: var(--primary-gold);
}

/* Card Hover Effects */
.amenity-card,
.news-main,
.partner-item {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.amenity-card::before,
.news-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.5s;
}

.amenity-card:hover::before,
.news-main:hover::before {
    left: 100%;
}

.amenity-card:hover,
.news-main:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
}

/* Button Hover Effects */
.cta-button,
.location-cta-btn,
.floorplan-btn,
.amenity-btn,
.news-btn,
.submit-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button::after,
.location-cta-btn::after,
.floorplan-btn::after,
.amenity-btn::after,
.news-btn::after,
.submit-btn::after {
    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.6s, height 0.6s;
}

.cta-button:hover::after,
.location-cta-btn:hover::after,
.floorplan-btn:hover::after,
.amenity-btn:hover::after,
.news-btn:hover::after,
.submit-btn:hover::after {
    width: 300px;
    height: 300px;
}

/* Image Hover Effects */
.amenity-image img,
.news-image img,
.contact-image-vertical {
    transition: transform 0.5s ease, filter 0.5s ease;
}

.amenity-image:hover img,
.news-image:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.contact-image-vertical:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Text Typing Effect */
@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: var(--primary-gold);
    }
}

.typing-effect {
    overflow: hidden;
    border-right: 3px solid var(--primary-gold);
    white-space: nowrap;
    animation: typing 3s steps(40, end), blink 0.75s step-end infinite;
}

/* Section Title Effects */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-gold);
    transition: width 0.5s ease;
}

.section-title:hover::after {
    width: 100%;
}

/* Background Particles */
@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-gold);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 10s linear infinite;
}

/* Smooth Scroll Indicator */
.scroll-indicator {
    animation: bounce 2s infinite, fadeInUp 1s ease-out;
}

.scroll-arrow {
    animation: bounce 2s infinite;
}

/* Form Input Focus Effects */
.form-group input:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(206, 180, 114, 0.3);
}

/* Social Icons Hover */
.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 5px 15px rgba(206, 180, 114, 0.4);
    background: rgba(255, 255, 255, 0.2);
}

/* News Item Hover */
.news-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-item:hover {
    transform: translateX(10px);
    opacity: 1;
}

.news-item:hover .news-item-title {
    color: var(--primary-gold);
}

/* Partner Item Enhanced */
.partner-item {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.partner-item:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Location Map Container */
.location-map-container {
    transition: transform 0.3s ease;
}

.location-map-container:hover {
    transform: translateX(-50%) translateY(-5px) scale(1.02);
}

/* Location Section Animations */
@keyframes mapFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes mapZoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes textSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes titleFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes underlineExpand {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes descriptionFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 0.95;
        transform: translateY(0);
    }
}

@keyframes buttonFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Additional Advanced Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes flip {
    from {
        transform: perspective(400px) rotateY(0);
    }
    to {
        transform: perspective(400px) rotateY(360deg);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes swing {
    20% {
        transform: rotate(15deg);
    }
    40% {
        transform: rotate(-10deg);
    }
    60% {
        transform: rotate(5deg);
    }
    80% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@keyframes wobble {
    0%, 100% {
        transform: translateX(0%);
    }
    15% {
        transform: translateX(-25px) rotate(-5deg);
    }
    30% {
        transform: translateX(20px) rotate(3deg);
    }
    45% {
        transform: translateX(-15px) rotate(-3deg);
    }
    60% {
        transform: translateX(10px) rotate(2deg);
    }
    75% {
        transform: translateX(-5px) rotate(-1deg);
    }
}

@keyframes rubberBand {
    from {
        transform: scale(1);
    }
    30% {
        transform: scaleX(1.25) scaleY(0.75);
    }
    40% {
        transform: scaleX(0.75) scaleY(1.25);
    }
    50% {
        transform: scaleX(1.15) scaleY(0.85);
    }
    65% {
        transform: scaleX(0.95) scaleY(1.05);
    }
    75% {
        transform: scaleX(1.05) scaleY(0.95);
    }
    to {
        transform: scale(1);
    }
}

@keyframes tada {
    from {
        transform: scale(1) rotate(0deg);
    }
    10%, 20% {
        transform: scale(0.9) rotate(-3deg);
    }
    30%, 50%, 70%, 90% {
        transform: scale(1.1) rotate(3deg);
    }
    40%, 60%, 80% {
        transform: scale(1.1) rotate(-3deg);
    }
    to {
        transform: scale(1) rotate(0deg);
    }
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.3);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.3);
    }
    70% {
        transform: scale(1);
    }
}

@keyframes flash {
    from, 50%, to {
        opacity: 1;
    }
    25%, 75% {
        opacity: 0;
    }
}

@keyframes slideInUp {
    from {
        transform: translate3d(0, 100%, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideInDown {
    from {
        transform: translate3d(0, -100%, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-100%, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(100%, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes lightSpeedIn {
    from {
        transform: translate3d(100%, 0, 0) skewX(-30deg);
        opacity: 0;
    }
    60% {
        transform: skewX(20deg);
        opacity: 1;
    }
    80% {
        transform: skewX(-5deg);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes rollIn {
    from {
        opacity: 0;
        transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Utility Classes for Animations */
.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.zoom-in {
    animation: zoomIn 0.6s ease-out;
}

.flip-animation {
    animation: flip 1s ease-in-out;
}

.shake-animation {
    animation: shake 0.5s ease-in-out;
}

.bounce-in {
    animation: bounceIn 0.8s ease-out;
}

.swing-animation {
    animation: swing 1s ease-in-out;
}

.wobble-animation {
    animation: wobble 1s ease-in-out;
}

.rubber-band {
    animation: rubberBand 0.8s ease-out;
}

.tada-animation {
    animation: tada 1s ease-in-out;
}

.heart-beat {
    animation: heartBeat 1.5s ease-in-out infinite;
}

.flash-animation {
    animation: flash 1s ease-in-out;
}

.slide-in-up {
    animation: slideInUp 0.8s ease-out;
}

.slide-in-down {
    animation: slideInDown 0.8s ease-out;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

.fade-in-down {
    animation: fadeInDown 0.8s ease-out;
}

.light-speed-in {
    animation: lightSpeedIn 0.8s ease-out;
}

.roll-in {
    animation: rollIn 0.8s ease-out;
}

