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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    overflow-x: hidden;
    background: #000;
}

/* Navigation Dots */
.navigation-dots {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.2);
}

.dot.active {
    background: white;
    border-color: white;
}

/* Next slide arrow */
.next-slide-arrow {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1000;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.next-slide-arrow:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.next-slide-arrow svg {
    transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    text-align: center;
    color: white;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-indicator span {
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 30px;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.arrow-down {
    width: 25px;
    height: 25px;
    border-bottom: 3px solid white;
    border-right: 3px solid white;
    transform: rotate(45deg);
    margin: 15px auto 5px;
}

.arrow-down.second {
    margin-top: -10px;
    opacity: 0.5;
}

/* DuProprio corner link */
.duproprio-corner {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 1000;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.duproprio-corner:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Slides */
.slide {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0) 0%, 
        rgba(0,0,0,0) 50%, 
        rgba(0,0,0,0.3) 100%);
    z-index: 1;
    pointer-events: none;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
    transition: transform 10s ease-out, filter 0.5s ease;
}

.slide:hover .image-container img {
    transform: scale(1.05);
    filter: brightness(0.95);
}

/* Parallax effect for desktop */
@media (min-width: 769px) {
    .slide {
        background: transparent;
        position: relative;
        z-index: auto;
    }
    
    /* Ensure content is always on top */
    .slide .content-overlay {
        position: relative;
        z-index: 100 !important;
    }
    
    .slide:not(:first-child) {
        background: linear-gradient(to bottom, 
            transparent 0%, 
            rgba(0,0,0,0.02) 50%, 
            rgba(0,0,0,0.05) 100%);
    }
    
    /* Keep images in background */
    .slide .image-container {
        z-index: 1 !important;
    }
}

.dark-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

/* Content Overlays */
.content-overlay {
    position: relative;
    z-index: 100;
    color: white;
    text-align: center;
    padding: 40px;
    animation: fadeInUp 1s ease-out;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: auto;
    transition: opacity 0.3s ease-out;
}

/* Fade out class for content overlay */
.content-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Feature indicators */
.feature-indicators {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
    transition: opacity 0.3s ease-out;
}

/* Fade out class for feature indicators */
.feature-indicators.fade-out {
    opacity: 0;
}

.indicator {
    position: absolute;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    animation: fadeIn 1s ease-out;
    animation-delay: 0.5s;
    animation-fill-mode: both;
    white-space: nowrap;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.content-overlay.align-left {
    text-align: left;
    margin-right: auto;
    margin-left: 10%;
    max-width: 600px;
}

.content-overlay.align-right {
    text-align: right;
    margin-left: auto;
    margin-right: 10%;
    max-width: 600px;
}

.content-overlay.align-center {
    text-align: center;
    max-width: 800px;
}

/* Typography */
.main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: 1px;
    opacity: 0.95;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

/* Price Tag */
.price-tag {
    display: inline-block;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 30px;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 20px;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Features Grid */
.features-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 40px 0;
}

.feature {
    text-align: center;
}

.feature-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    margin-bottom: 5px;
}

.feature-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

/* Location Text */
.location {
    font-size: 1.1rem;
    margin: 30px 0;
    line-height: 1.8;
}

/* Hide/show classes for responsive content */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: white;
    color: #000;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin-top: 30px;
    border: 2px solid white;
}

.cta-button:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    margin-left: 20px;
}

.cta-button.secondary:hover {
    background: white;
    color: #000;
}

/* Explore neighborhood button */
.explore-neighborhood-btn {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: white;
    padding: 12px 24px;
    margin-top: 20px;
    border: 2px solid white;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.explore-neighborhood-btn:hover {
    background: white;
    color: #000;
}

.explore-neighborhood-btn:hover svg polyline {
    stroke: #000;
}

/* Neighborhood detail slide */
.neighborhood-detail-slide {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    z-index: 200;
    transition: transform 0.6s ease-in-out;
}

.neighborhood-detail-slide.active {
    transform: translateX(-100%);
}

/* Markers container - positioned over the image */
.markers-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Bus line SVG */
.bus-line-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.bus-line {
    animation: dash 20s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -10;
    }
}

/* For object-fit: cover, we need to calculate the actual image position */
.neighborhood-detail-slide .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.close-neighborhood-btn {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 201;
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.close-neighborhood-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Ensure the parent section has overflow hidden */
#slide-15 {
    overflow: hidden;
    position: relative;
}

/* Neighborhood overlay - dark mask */
.neighborhood-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
    z-index: 2;
}

/* Location highlights container */
.location-highlights {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

/* Location marker */
.location-marker {
    position: absolute;
    pointer-events: auto;
}

/* Circle highlight */
.location-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid white;
    background: rgba(255, 255, 255, 0.1);
    position: absolute;
    transform: translate(-50%, -50%);
    animation: pulse-ring 2s infinite;
}

/* Inner circle for better visibility */
.location-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

/* Location label */
.location-label {
    position: absolute;
    top: -45px;
    left: 50px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Arrow pointing from label to circle */
.location-label::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 10px;
    width: 12px;
    height: 12px;
    background: rgba(0, 0, 0, 0.9);
    transform: rotate(45deg);
    border-right: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

/* Animation for circle */
@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* Category-specific markers */
/* Shopping/Commercial - Blue */
.location-shopping .location-circle {
    width: 60px;
    height: 60px;
    border-color: #4A90E2;
    background: rgba(74, 144, 226, 0.1);
}

.location-shopping .location-circle::before {
    width: 45px;
    height: 45px;
    border-color: rgba(74, 144, 226, 0.8);
}

.location-shopping .location-label {
    font-size: 0.85rem;
    padding: 6px 12px;
    border-color: rgba(74, 144, 226, 0.5);
}

.location-shopping .location-label::after {
    border-right-color: rgba(74, 144, 226, 0.5);
    border-bottom-color: rgba(74, 144, 226, 0.5);
}

/* Parks/Green spaces - Green */
.location-park .location-circle {
    width: 60px;
    height: 60px;
    border-color: #52C41A;
    background: rgba(82, 196, 26, 0.1);
}

.location-park .location-circle::before {
    width: 45px;
    height: 45px;
    border-color: rgba(82, 196, 26, 0.8);
}

.location-park .location-label {
    font-size: 0.85rem;
    padding: 6px 12px;
    border-color: rgba(82, 196, 26, 0.5);
}

/* Transport - Purple */
.location-transport .location-circle {
    width: 60px;
    height: 60px;
    border-color: #B37FEB;
    background: rgba(179, 127, 235, 0.1);
}

.location-transport .location-circle::before {
    width: 45px;
    height: 45px;
    border-color: rgba(179, 127, 235, 0.8);
}

.location-transport .location-label {
    font-size: 0.85rem;
    padding: 6px 12px;
    border-color: rgba(179, 127, 235, 0.5);
}

/* Education - Orange */
.location-education .location-circle {
    width: 60px;
    height: 60px;
    border-color: #FA8C16;
    background: rgba(250, 140, 22, 0.1);
}

.location-education .location-circle::before {
    width: 45px;
    height: 45px;
    border-color: rgba(250, 140, 22, 0.8);
}

.location-education .location-label {
    font-size: 0.85rem;
    padding: 6px 12px;
    border-color: rgba(250, 140, 22, 0.5);
}

/* Metro station marker */
.location-metro {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    width: auto !important;
    height: auto !important;
}

.metro-logo {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    display: inline-block !important;
}

.location-metro .location-circle {
    display: none !important;
}

.metro-label {
    position: static !important;
    margin: 0 !important;
    background: rgba(0, 0, 0, 0.9) !important;
    color: white !important;
    padding: 4px 8px !important;
    border-radius: 12px !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(179, 127, 235, 0.5) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
    display: inline-block !important;
}

.metro-label::after {
    display: none !important;
}

/* Bus info marker */
.bus-info-marker {
    pointer-events: auto;
}

.bus-info-marker .location-circle {
    display: none !important;
}

.bus-info-label {
    background: rgba(179, 127, 235, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: translateX(-50%);
}

/* Amenities panel */
.amenities-panel {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 25px 30px;
    z-index: 201;
    max-width: 280px;
}

.amenities-panel h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
}

.amenities-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.amenities-list li {
    color: white;
    font-size: 0.9rem;
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.4;
    font-weight: 400;
}

.amenities-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #52C41A;
    font-weight: bold;
    font-size: 1rem;
}

.amenities-list li.more {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-style: italic;
    opacity: 0.9;
}

/* Responsive - hide on small screens */
@media (max-width: 768px) {
    .amenities-panel {
        display: none;
    }
    
    .explore-neighborhood-btn {
        display: none;
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .navigation-dots {
        right: 15px;
    }
    
    .duproprio-corner {
        top: 15px;
        left: 15px;
        font-size: 0.8rem;
        padding: 8px 15px;
    }
    
    
    .slide {
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .image-container {
        position: relative;
        height: 60vh;
        width: 100%;
    }
    
    .image-container img {
        object-fit: contain;
        object-position: center;
        width: 100%;
        height: 100%;
        background: #000;
    }
    
    /* Hide indicators on mobile for better readability */
    .feature-indicators {
        display: none;
    }
    
    .content-overlay {
        padding: 20px;
        position: relative;
        bottom: auto;
        left: 0;
        right: 0;
        margin: 0;
        max-width: 100%;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: none;
        border: none;
        min-height: 40vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .content-overlay.align-left,
    .content-overlay.align-right,
    .content-overlay.align-center {
        text-align: center;
        margin: 0;
    }
    
    .features-grid {
        flex-direction: row;
        gap: 15px;
        justify-content: center;
    }
    
    .feature {
        flex: 1;
        max-width: 100px;
    }
    
    .feature-number {
        font-size: 1.8rem;
    }
    
    .feature-text {
        font-size: 0.75rem;
    }
    
    .scroll-indicator {
        bottom: 10px;
        z-index: 1001;
    }
    
    .scroll-indicator span {
        font-size: 11px;
        letter-spacing: 2px;
        padding: 6px 12px;
    }
    
    .arrow-down {
        width: 15px;
        height: 15px;
        border-bottom: 2px solid white;
        border-right: 2px solid white;
        margin: 8px auto 3px;
    }
    
    .arrow-down.second {
        margin-top: -8px;
    }
    
    /* Show/hide responsive content */
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
    
    .price-tag {
        font-size: 1.5rem;
        padding: 10px 20px;
        background: rgba(255, 255, 255, 0.1);
    }
    
    h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .subtitle {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .image-container {
        height: 55vh;
    }
    
    .content-overlay {
        min-height: 45vh;
        padding: 20px 15px;
    }
    
    h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .feature-number {
        font-size: 1.5rem;
    }
    
    .feature-text {
        font-size: 0.7rem;
    }
    
    .price-tag {
        font-size: 1.2rem;
        padding: 8px 16px;
        margin-top: 10px;
    }
    
    .navigation-dots {
        right: 10px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .navigation-dots {
        gap: 10px;
    }
}