/* Global Styles */
:root {
    --primary-dark: #1a1a1a;
    --secondary-dark: #2c2c2c;
    --gray-medium: #4a4a4a;
    --gray-light: #e0e0e0;
    --gray-lighter: #f5f5f5;
}

* {
    -webkit-tap-highlight-color: transparent;
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--gray-lighter);
    margin: 0;
    padding: 0;
    width: 100%;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Custom Navbar */
.custom-navbar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--gray-medium) 100%);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    z-index: 101;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.navbar-toggler {
    padding: 0.5rem;
    font-size: 1.25rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    border-color: rgba(255,255,255,0.3);
}

.nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 0.75rem 1.25rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 1.25rem;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: calc(100% - 2.5rem);
}

.nav-link:hover {
    color: white !important;
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(26, 26, 26, 0.98);
        margin: 1rem -1rem -1rem;
        padding: 1.5rem 0;
        border-radius: 0 0 10px 10px;
    }
    
    .nav-link {
        padding: 1rem 1.5rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-item:last-child .nav-link {
        border-bottom: none;
    }
}

/* Hero Section - Full Width */
.hero-section {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--primary-dark) 50%, #000000 100%);
    min-height: 100vh;
    min-height: 100svh;
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
    width: 100vw;
    max-width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Override container padding for hero section */
.hero-section .container {
    max-width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
    position: relative;
    z-index: 2;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: pulse 15s ease-in-out infinite;
    z-index: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Animated Background Shapes */
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    will-change: transform;
}

.shape-1 {
    width: 300px;
    height: 300px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 10%;
    left: 10%;
    animation: float-rotate 20s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    top: 60%;
    right: 15%;
    animation: float-rotate 15s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    bottom: 20%;
    left: 20%;
    animation: float-pulse 12s ease-in-out infinite;
}

.shape-4 {
    width: 250px;
    height: 250px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    top: 30%;
    right: 25%;
    animation: float-rotate 18s ease-in-out infinite;
}

.shape-5 {
    width: 180px;
    height: 180px;
    border-radius: 70% 30% 50% 50% / 60% 40% 60% 40%;
    bottom: 30%;
    right: 10%;
    animation: float-pulse 10s ease-in-out infinite;
}

.shape-6 {
    width: 220px;
    height: 220px;
    border-radius: 50% 50% 30% 70% / 50% 70% 30% 50%;
    top: 50%;
    left: 5%;
    animation: float-rotate 16s ease-in-out infinite reverse;
}

@keyframes float-rotate {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg) scale(0.9);
    }
}

@keyframes float-pulse {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(20px, -20px) scale(1.2);
        opacity: 0.5;
    }
}

/* Particles */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particle-float 15s infinite;
    will-change: transform;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 14s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 10s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 13s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 11s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 15s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2s; animation-duration: 12s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4s; animation-duration: 14s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1s; animation-duration: 13s; }
.particle:nth-child(10) { left: 15%; animation-delay: 3s; animation-duration: 11s; }
.particle:nth-child(11) { left: 25%; animation-delay: 5s; animation-duration: 10s; }
.particle:nth-child(12) { left: 35%; animation-delay: 0s; animation-duration: 14s; }
.particle:nth-child(13) { left: 45%; animation-delay: 2s; animation-duration: 12s; }
.particle:nth-child(14) { left: 55%; animation-delay: 4s; animation-duration: 13s; }
.particle:nth-child(15) { left: 65%; animation-delay: 1s; animation-duration: 11s; }
.particle:nth-child(16) { left: 75%; animation-delay: 3s; animation-duration: 15s; }
.particle:nth-child(17) { left: 85%; animation-delay: 5s; animation-duration: 10s; }
.particle:nth-child(18) { left: 95%; animation-delay: 2s; animation-duration: 12s; }
.particle:nth-child(19) { left: 12%; animation-delay: 4s; animation-duration: 14s; }
.particle:nth-child(20) { left: 88%; animation-delay: 1s; animation-duration: 13s; }

@keyframes particle-float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* Glowing Text */
.glow-text {
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2),
        0 0 30px rgba(255, 255, 255, 0.1);
    animation: text-glow 3s ease-in-out infinite alternate;
}

@keyframes text-glow {
    from {
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.3),
            0 0 20px rgba(255, 255, 255, 0.2),
            0 0 30px rgba(255, 255, 255, 0.1);
    }
    to {
        text-shadow: 
            0 0 20px rgba(255, 255, 255, 0.5),
            0 0 30px rgba(255, 255, 255, 0.3),
            0 0 40px rgba(255, 255, 255, 0.2);
    }
}

/* Pulse Button */
.pulse-button {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: button-pulse 2s ease-in-out infinite;
}

.pulse-button::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.6s, height 0.6s;
}

.pulse-button:hover::before {
    width: 300px;
    height: 300px;
}

.button-content {
    position: relative;
    z-index: 2;
}

.button-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.pulse-button:hover .button-shine {
    left: 100%;
}

@keyframes button-pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
        transform: scale(1.05);
    }
}

.hero-section h1 {
    font-weight: 300;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
}

.hero-section .lead {
    font-weight: 300;
    position: relative;
    z-index: 2;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 1s ease-out;
}

.fade-in-delay {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.fade-in-delay-2 {
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: float 2s ease-in-out infinite;
    z-index: 2;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 10px; }
    100% { opacity: 0; top: 30px; }
}

/* Sections */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* Override the global section styling specifically for hero */
section#home {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* Section Background Shapes - Universal */
.section-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-shape {
    position: absolute;
    opacity: 0.08;
    transition: all 0.3s ease;
}

/* Property Section Shapes - Circles and Squares */
.property-section {
    background: var(--gray-lighter);
}

.shape-circle-1 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.12);
    top: 10%;
    right: 5%;
    animation: float-slow 20s ease-in-out infinite;
}

.shape-circle-2 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid rgba(0, 0, 0, 0.12);
    bottom: 15%;
    left: 10%;
    animation: float-medium 15s ease-in-out infinite reverse;
}

.shape-square-1 {
    width: 120px;
    height: 120px;
    background: rgba(0, 0, 0, 0.1);
    top: 50%;
    left: 5%;
    transform: rotate(45deg);
    animation: rotate-slow 25s linear infinite;
}

/* Video Section Shapes - Triangles and Hexagons */
.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid rgba(0, 0, 0, 0.1);
    top: 5%;
    left: 10%;
    animation: float-slow 18s ease-in-out infinite;
}

.shape-hexagon-1 {
    width: 100px;
    height: 173px;
    background: rgba(0, 0, 0, 0.08);
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    bottom: 10%;
    right: 8%;
    animation: float-medium 16s ease-in-out infinite reverse;
}

.shape-diamond-1 {
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.12);
    transform: rotate(45deg);
    top: 60%;
    right: 15%;
    animation: pulse-shape 8s ease-in-out infinite;
}

/* Gallery Section Shapes - Stars and Circles */
.shape-star-1 {
    width: 100px;
    height: 100px;
    background: rgba(0, 0, 0, 0.1);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    top: 8%;
    right: 12%;
    animation: twinkle 6s ease-in-out infinite;
}

.shape-star-2 {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.08);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    bottom: 20%;
    left: 15%;
    animation: twinkle 8s ease-in-out infinite 2s;
}

.shape-circle-3 {
    width: 180px;
    height: 180px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    top: 40%;
    left: 5%;
    animation: float-slow 22s ease-in-out infinite;
}

/* Reviews Section Shapes - Waves and Dots */
.shape-wave-1 {
    width: 300px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.12) 20%, transparent 20%);
    background-size: 50px 50px;
    top: 10%;
    right: 0;
    animation: wave-move 15s linear infinite;
}

.shape-wave-2 {
    width: 250px;
    height: 80px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.1) 15%, transparent 15%);
    background-size: 40px 40px;
    bottom: 15%;
    left: 0;
    animation: wave-move 20s linear infinite reverse;
}

.shape-dot-grid {
    width: 150px;
    height: 150px;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.12) 2px, transparent 2px);
    background-size: 20px 20px;
    top: 50%;
    right: 10%;
    animation: pulse-shape 10s ease-in-out infinite;
}

/* Location Section Shapes - Pentagon and Cross */
.shape-pentagon-1 {
    width: 120px;
    height: 120px;
    background: rgba(0, 0, 0, 0.1);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    top: 15%;
    left: 8%;
    animation: float-medium 17s ease-in-out infinite;
}

.shape-cross-1 {
    width: 100px;
    height: 100px;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)) center/20px 100% no-repeat,
        linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)) center/100% 20px no-repeat;
    bottom: 20%;
    right: 10%;
    animation: rotate-medium 20s linear infinite;
}

/* Contact Section Shapes - Rings and Sparkles */
.shape-ring-1 {
    width: 150px;
    height: 150px;
    border: 5px solid rgba(0, 0, 0, 0.12);
    border-radius: 50%;
    top: 10%;
    right: 15%;
    animation: pulse-ring-shape 8s ease-in-out infinite;
}

.shape-ring-2 {
    width: 100px;
    height: 100px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    bottom: 25%;
    left: 12%;
    animation: pulse-ring-shape 10s ease-in-out infinite 2s;
}

.shape-sparkle-1 {
    width: 80px;
    height: 80px;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(0, 0, 0, 0.12) 40%, rgba(0, 0, 0, 0.12) 60%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(0, 0, 0, 0.12) 40%, rgba(0, 0, 0, 0.12) 60%, transparent 60%);
    top: 55%;
    right: 8%;
    animation: twinkle 7s ease-in-out infinite;
}

/* Animations */
@keyframes float-slow {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(30px, -30px);
    }
}

@keyframes float-medium {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-25px, 25px);
    }
}

@keyframes rotate-slow {
    from {
        transform: rotate(45deg);
    }
    to {
        transform: rotate(405deg);
    }
}

@keyframes rotate-medium {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse-shape {
    0%, 100% {
        transform: scale(1);
        opacity: 0.08;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.15;
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.05;
        transform: scale(1);
    }
    50% {
        opacity: 0.15;
        transform: scale(1.3);
    }
}

@keyframes pulse-ring-shape {
    0%, 100% {
        transform: scale(1);
        opacity: 0.08;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.15;
    }
}

@keyframes wave-move {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50px);
    }
}

h2 {
    font-weight: 300;
    letter-spacing: 1px;
    color: #555;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #444, #666);
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Property Cards */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.property-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.property-card::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.6s;
}

.property-card:hover::before {
    left: 100%;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2) !important;
}

.property-image {
    height: 200px;
    background: linear-gradient(135deg, #3a3a3a 0%, var(--primary-dark) 100%);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.property-image::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate-gradient 10s linear infinite;
}

@keyframes rotate-gradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.property-card:hover .property-image {
    background: linear-gradient(135deg, var(--gray-medium) 0%, var(--secondary-dark) 100%);
}

.property-info {
    padding: 1.5rem;
}

.property-info h3 {
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

/* Amenities */
.amenities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.amenity-item:hover::before {
    height: 60%;
}

.amenity-item:hover {
    transform: translateX(8px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.amenity-icon {
    font-size: 2.5rem;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.amenity-item:hover .amenity-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Video Section */
.video-section {
    background: white;
    position: relative;
    overflow: hidden;
}

.video-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.02) 0%, transparent 70%);
    animation: video-bg-float 20s ease-in-out infinite;
}

@keyframes video-bg-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

.video-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    transition: all 0.4s ease;
}

.video-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0,0,0,0.4);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-wrapper:hover .video-overlay {
    opacity: 0.3;
}

.play-pulse {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
}

.play-pulse::before,
.play-pulse::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid white;
    animation: pulse-ring 2s ease-out infinite;
}

.play-pulse::after {
    animation-delay: 1s;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

/* Gallery Section */
.gallery-section {
    background: white;
}

.gallery-placeholder {
    height: 400px;
    background: linear-gradient(135deg, var(--gray-light) 0%, #c0c0c0 100%);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-placeholder:hover {
    background: linear-gradient(135deg, #d0d0d0 0%, #b0b0b0 100%);
    transform: scale(1.02);
}

.gallery-icon {
    filter: grayscale(100%);
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 2rem;
}

.carousel-indicators {
    margin-bottom: 1.5rem;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 0.5rem;
}

/* Modal Styles */
.modal-content {
    background: rgba(0,0,0,0.95);
}

.btn-close-white {
    filter: brightness(0) invert(1);
    opacity: 1;
    font-size: 1.5rem;
}

.gallery-placeholder-large {
    filter: grayscale(100%);
}

/* Reviews Section */
.reviews-section {
    background: #f0f0f0;
}

.review-card {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 8rem;
    color: rgba(0,0,0,0.05);
    font-family: Georgia, serif;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.stars {
    color: #ffc107;
    font-size: 1.25rem;
    text-shadow: 0 0 5px rgba(255, 193, 7, 0.3);
}

.review-text {
    color: #666;
    line-height: 1.8;
}

.reviewer {
    color: #444;
}

/* Review Modal Styles */
.rating-input {
    flex-direction: row-reverse;
}

.star-btn {
    font-size: 2.5rem;
    width: 4rem;
    height: 4rem;
    padding: 0;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 2px solid #ffc107;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.star-icon {
    color: #ddd;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-check:checked + .star-btn .star-icon,
.star-btn:hover .star-icon,
.btn-check:checked + .star-btn ~ .star-btn .star-icon {
    color: #ffc107;
    animation: star-pop 0.3s ease;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.btn-check:checked + .star-btn,
.star-btn:hover,
.btn-check:checked + .star-btn ~ .star-btn {
    background-color: rgba(255, 193, 7, 0.1);
    border-color: #ffc107;
    transform: scale(1.1);
}

@keyframes star-pop {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3) rotate(15deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.star-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.btn-check:checked + .star-btn::before,
.star-btn:hover::before {
    width: 100%;
    height: 100%;
}

.modal-content {
    border-radius: 15px;
    background: #f8f8f8;
}

.modal-header {
    padding: 1.5rem 1.5rem 0;
}

.modal-body {
    padding: 1.5rem;
}

.modal-title {
    color: #2c2c2c;
}

.form-label {
    color: #444;
}

.text-muted {
    color: #888 !important;
}

/* Map */
.map-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    background: var(--gray-lighter);
}

.form-control {
    border: 2px solid var(--gray-light);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-control:focus {
    border-color: var(--gray-medium);
    box-shadow: 0 0 0 0.2rem rgba(74,74,74,0.1);
}

.form-control-lg {
    font-size: 1rem;
}

.btn-dark {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-dark::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;
}

.btn-dark:hover::before {
    left: 100%;
}

.btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

footer {
    background: var(--primary-dark);
    color: white;
    text-align: center;
    padding: 2rem;
}

.success-message {
    display: none;
    background: #4a4a4a;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Spacing */
.py-md-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

/* Ensure hero takes full width on mobile */
@media (max-width: 767.98px) {
    .hero-section .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Mobile Optimizations */
@media (max-width: 968px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(10px);
        transition: left 0.3s ease;
        z-index: 99;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        padding: 3rem 0;
        gap: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a {
        display: block;
        padding: 1.5rem;
        font-size: 1.2rem;
    }

    .nav-links a::after {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .hero-section {
        min-height: 100svh;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .property-image {
        height: 180px;
    }
    
    .amenity-icon {
        font-size: 2rem;
    }
    
    .gallery-placeholder {
        height: 300px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 15%;
    }
    
    .btn-close-white {
        font-size: 1.25rem;
    }
    
    .video-wrapper {
        border-radius: 10px;
    }
}

@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 1.75rem !important;
        letter-spacing: 1px;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .gallery-placeholder {
        height: 250px;
    }
    
    .display-1 {
        font-size: 3.5rem;
    }
}

/* Landscape Mobile Fix */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 6rem 0 4rem;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .property-card:hover {
        transform: none;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1) !important;
    }
    
    .property-card:active {
        transform: scale(0.98);
    }
    
    .amenity-item:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.95);
    }
}

/* Video Section */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    background: #000;
}

.video-wrapper video {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.video-wrapper:hover {
    box-shadow: 0 25px 70px rgba(0,0,0,0.3);
    transform: translateY(-5px);
    transition: all 0.4s ease;
}

@media (max-width: 767.98px) {
    .video-wrapper {
        border-radius: 10px;
    }
    
    .video-wrapper video {
        border-radius: 10px;
    }
}

/* Video Section */
.video-section {
    background: white;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    background: #000;
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.video-wrapper:hover {
    box-shadow: 0 25px 70px rgba(0,0,0,0.3);
    transform: translateY(-5px);
    transition: all 0.4s ease;
}

@media (max-width: 767.98px) {
    .video-wrapper {
        border-radius: 10px;
    }
    
    .video-wrapper iframe,
    .video-wrapper video {
        border-radius: 10px;
    }
}item {
    background: white;
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.amenity-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #1a1a1a, #4a4a4a);
    transition: height 0.4s ease;
    transform: translateY(-50%);
}

/* Disable hover effect on touch devices */
@media (hover: none) and (pointer: coarse) {
    .amenity-item::before {
        display: none;
    }
    
    .amenity-item:hover {
        transform: none;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
}
/* MOBILE PARTICLE FIXES */
@media (max-width: 768px) {
    .hero-section .container {
        padding-top: 80px;
    }
    
    .hero-section h1,
    .hero-section .lead,
    .hero-section .btn {
        position: relative;
        z-index: 10;
    }
    
    .hero-section .row {
        position: relative;
        z-index: 10;
    }
    
    .floating-shape {
        backdrop-filter: blur(5px);
        animation-duration: 25s !important;
    }
    
    .shape-4, .shape-5, .shape-6 {
        display: none;
    }
    
    .particle {
        width: 3px;
        height: 3px;
        background: rgba(255, 255, 255, 0.4);
        animation-duration: 20s !important;
    }
    
    .particle:nth-child(n+11) {
        display: none;
    }
    
    @supports (-webkit-touch-callout: none) {
        .particles-container {
            opacity: 0.5;
        }
        
        .hero-section {
            min-height: -webkit-fill-available;
        }
    }
}
/* Custom Notification Styles */
.custom-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    min-width: 320px;
    max-width: 500px;
    padding: 1.25rem 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.custom-notification.show {
    transform: translateX(0);
}

.custom-notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.custom-notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.custom-notification-success .custom-notification-icon {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.custom-notification-error .custom-notification-icon {
    background: linear-gradient(135deg, #f44336, #da190b);
    color: white;
}

.custom-notification-message {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 500;
}

.custom-notification-close {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.custom-notification-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
    transform: scale(1.1);
}

/* Mobile responsive */
@media (max-width: 575.98px) {
    .custom-notification {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
        top: 80px;
    }
    
    .custom-notification-message {
        font-size: 0.9rem;
    }
}

/* Animation for notification appearance */
@keyframes slideInRight {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}
/* Hidden Reviews Styling */
.hidden-reviews {
    margin-top: 1.5rem;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Show More Button Styling */
#showMoreBtn {
    transition: all 0.3s ease;
    min-width: 250px;
}

#showMoreBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
/* Fix for navbar collapse on mobile */
.navbar-collapse {
    transition: height 0.3s ease-in-out !important;
}

@media (max-width: 991.98px) {
    .navbar-collapse.collapsing {
        transition: height 0.3s ease !important;
    }
    
    .navbar-collapse.show {
        display: block !important;
    }
}