/* 
 * Paradise Estates - Custom CSS Styles
 * This file contains custom styles for the Paradise Estates website
 * Enhanced Design Theme with Improved Visibility
 */

/* General Styles */
:root {
    /* Modern color palette with improved contrast */
    --primary-color: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --secondary-color: #10b981;
    --secondary-light: #34d399;
    --secondary-dark: #059669;
    --accent-color: #f43f5e;
    --accent-light: #fb7185;
    --accent-dark: #e11d48;
    --text-color: #1e293b;
    --light-text: #f8fafc;
    --dark-bg: #0f172a;
    --gray-light: #f1f5f9;
    --gray-medium: #94a3b8;
    --gray-dark: #334155;
    
    /* UI properties */
    --glass-bg: rgba(255, 255, 255, 0.2);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    --neon-glow: 0 0 15px rgba(37, 99, 235, 0.8);
    --card-radius: 12px;
    --btn-radius: 8px;
    --transition-speed: 0.3s;

    /* Theme Colors - Consolidated to avoid conflicts */
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --secondary: #10b981;
    --secondary-light: #34d399;
    --secondary-dark: #059669;
    --accent: #f43f5e;
    --accent-light: #fb7185;
    --accent-dark: #e11d48;
    --success: #22c55e;
    --warning: #eab308;
    --danger: #ef4444;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: default; /* Reset to default cursor instead of hiding it */
}

/* Interactive elements cursor styles */
a, button, input[type="submit"], .btn, .plot-item {
    cursor: pointer;
}

/* Remove custom cursor styles */
.cursor-dot, .cursor-outline {
    display: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-shadow-lg {
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.text-glow {
    text-shadow: 0 0 10px rgba(58, 134, 255, 0.8);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: var(--btn-radius);
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: var(--light-text);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(to right, var(--primary-dark), var(--primary));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: white;
    border: none;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px var(--secondary);
}

.btn-outline {
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
    background: var(--light-text);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.btn-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: white;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: var(--glass-shadow);
}

/* Header Styles */
header {
    background-color: rgba(15, 23, 42, 0.8) !important; /* Darker background with higher opacity */
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(15, 23, 42, 0.95) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav-link {
    color: var(--light-text) !important;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(231, 76, 60, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    color: var(--light-text);
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    color: var(--light-text);
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
}

/* Plot Grid Styles */
.plot-grid {
    position: relative;
    display: grid;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease-out forwards;
}

.plot-item-small {
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.plot-available {
    background: linear-gradient(135deg, rgba(0, 200, 150, 0.1), rgba(0, 200, 150, 0.2));
    border: 1px solid rgba(0, 200, 150, 0.3);
    color: var(--secondary-dark);
}

.plot-available:hover {
    background: linear-gradient(135deg, rgba(0, 200, 150, 0.2), rgba(0, 200, 150, 0.3));
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 200, 150, 0.2);
    z-index: 10;
}

.plot-booked {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.1), rgba(255, 0, 110, 0.2));
    border: 1px solid rgba(255, 0, 110, 0.3);
    color: var(--accent-dark);
}

.plot-booked:hover {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.2), rgba(255, 0, 110, 0.3));
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 0, 110, 0.2);
    z-index: 10;
}

/* Filter Button Active State */
.filter-btn {
    transition: all 0.3s ease;
    border-radius: 6px;
    border: 1px solid transparent;
}

.filter-btn:hover {
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 10px rgba(58, 134, 255, 0.3);
}

/* Plot Details Section */
.plot-image-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--card-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.plot-image-container img {
    transition: transform 0.5s ease;
}

.plot-image-container:hover img {
    transform: scale(1.1);
}

.plot-item {
    background-color: white;
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.plot-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.plot-item .plot-image {
    transition: all 0.5s ease-in-out;
}

.plot-item:hover .plot-image {
    transform: scale(1.1);
}

/* Testimonial Styles */
.testimonial-card {
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 5rem;
    color: rgba(37, 99, 235, 0.1);
    font-family: "Georgia", serif;
    line-height: 1;
    z-index: 0;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.star-rating {
    color: #ffb400;
}

/* Features Section */
.feature-card {
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: all 0.3s ease;
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

/* Footer Styles */
footer {
    background-color: var(--gray-900);
    color: var(--light-text);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.footer-link {
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-light);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-light) !important;
}

.footer-link:hover::after {
    width: 100%;
}

/* Back to Top Button */
#back-to-top {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(58, 134, 255, 0.4);
}

#back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(58, 134, 255, 0.6);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(58, 134, 255, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(58, 134, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(58, 134, 255, 0); }
}

.pulse-glow {
    animation: pulse-glow 2s infinite;
}

/* Animate on scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-100 { transition-delay: 0.1s; }
.animate-delay-200 { transition-delay: 0.2s; }
.animate-delay-300 { transition-delay: 0.3s; }
.animate-delay-400 { transition-delay: 0.4s; }
.animate-delay-500 { transition-delay: 0.5s; }

/* Glass Morphism */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--card-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Gradient Backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
}

.bg-gradient-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
}

/* Glass Morphism */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Skeleton Loading Animation */
@keyframes skeleton-loading {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

/* Construction Animation */
@keyframes construct {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.construct-animation {
    animation: construct 0.5s ease-out forwards;
}

/* Animated Border */
.animated-border {
    position: relative;
    overflow: hidden;
}

.animated-border::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-out;
}

.animated-border:hover::after {
    transform: scaleX(1);
}

/* Plot Grid Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Plot Status Indicators */
.status-available {
    background: linear-gradient(135deg, var(--success) 0%, #27AE60 100%);
    color: white;
}

.status-booked {
    background: linear-gradient(135deg, var(--danger) 0%, #C0392B 100%);
    color: white;
}

/* Construction Animation Elements */
.construction-element {
    opacity: 0;
    transform: translateY(20px);
}

.construction-element.animate {
    animation: constructElement 0.5s ease-out forwards;
}

@keyframes constructElement {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Plot Details Slide-in Animation */
.plot-details-container {
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
}

.plot-details-container.show {
    transform: translateX(0);
}

/* Loading Spinner */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-200);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .plot-grid {
        grid-template-columns: repeat(8, 1fr);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
    }
}

@media (max-width: 640px) {
    .plot-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Updated Header Styles for Better Visibility */
header {
    background-color: rgba(15, 23, 42, 0.8) !important; /* Darker background with higher opacity */
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(15, 23, 42, 0.95) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Improved Navbar Styling */
.nav-link {
    color: var(--light-text) !important;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Better Hero Text Visibility */
.hero-title {
    color: var(--light-text);
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    color: var(--light-text);
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
}

/* Enhanced Gradient Text */
.gradient-text {
    background: linear-gradient(to right, var(--primary-light), var(--secondary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
}

/* Add text shadow for improved readability */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Status badges with better contrast */
.plot-available .status-badge {
    background-color: rgba(34, 197, 94, 0.2);
    color: #15803d;
    font-weight: 600;
}

.plot-booked .status-badge {
    background-color: rgba(239, 68, 68, 0.2);
    color: #b91c1c;
    font-weight: 600;
}

/* 3D Animation Canvas Enhancements */
#plot3DAnimation {
    opacity: 0.7;
    filter: contrast(1.2) saturate(1.2);
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.9));
}

/* Updated development stages for better visibility */
.development-stage {
    position: relative;
    opacity: 0.7;
    transition: all 0.5s ease;
}

.development-stage.active {
    opacity: 1;
}

.development-stage.active .w-12 {
    animation: pulse-glow 2s infinite;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.8);
    }
    100% {
        box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    }
}

/* Call-to-Action section improvements */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
    opacity: 0.9;
    z-index: -1;
}

/* Footer improvements */
footer {
    background-color: var(--gray-900);
    color: var(--light-text);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}


.bg-gradient-to-r {
    background: linear-gradient(to right, var(--primary), var(--secondary));
}
.from-primary {
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.to-secondary {
    background: linear-gradient(to right, var(--secondary), var(--primary));
}

