/* ====================================
   PREMIUM GLASSMORPHISM & ENHANCEMENTS
   ==================================== */

/* Glassmorphism Navigation */
nav {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
}

/* Hero Content - Clean Glassmorphism with Better Readability */
.hero-content {
    background: linear-gradient(135deg, 
                rgba(0, 0, 0, 0.35) 0%, 
                rgba(0, 0, 0, 0.45) 100%) !important;
    backdrop-filter: blur(16px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(140%) !important;
    border-radius: 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 
                0 2px 8px rgba(0, 0, 0, 0.15) !important;
    padding: 3.5rem 3rem !important;
    max-width: 720px !important;
}

/* Enhanced Typography - Bold & Readable */
.hero-title {
    font-weight: 600 !important;
    letter-spacing: -0.02em !important;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.4),
                 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    color: white !important;
    font-size: 4.5rem !important;
    line-height: 1.1 !important;
}

.hero-subtitle {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    color: rgba(255, 255, 255, 0.85) !important;
    display: inline-block !important;
    margin-bottom: 1rem !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
}

.hero-content p {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    font-size: 1.15rem !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Premium Buttons - Clean & Refined */
.btn-primary {
    background: #6B9F5C !important;
    box-shadow: 0 4px 16px rgba(107, 159, 92, 0.35),
                0 2px 6px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    border: none !important;
}

.btn-primary::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.6s ease;
}

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

.btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 24px rgba(107, 159, 92, 0.45),
                0 3px 10px rgba(0, 0, 0, 0.2) !important;
    background: #5A8A4D !important;
}

/* Trust Badges with Glassmorphism */
.trust-badge-container {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(10px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(150%) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

/* Property Cards - Clean & Refined */
.property-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(107, 159, 92, 0.1) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    position: relative !important;
}

/* Premium shimmer effect on property cards */
.property-card::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.6s ease;
    z-index: 1;
    pointer-events: none;
}

.property-card:hover::before {
    left: 100%;
}

.property-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 
        0 16px 48px rgba(107, 159, 92, 0.2),
        0 8px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    border-color: rgba(107, 159, 92, 0.3) !important;
}

/* Gallery Dots - Premium Style */
.gallery-dots {
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    padding: 8px 12px !important;
    border-radius: 20px !important;
}

.dot {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(4px) !important;
}

.dot.active {
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.6) !important;
}

/* Bed Configuration - Premium Style */
.bed-item {
    background: linear-gradient(135deg, #FAFAFA 0%, #F5F5F5 100%) !important;
    border: 1px solid rgba(107, 159, 92, 0.1) !important;
    transition: all 0.3s ease !important;
}

.bed-item:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(107, 159, 92, 0.15) !important;
    border-color: rgba(107, 159, 92, 0.3) !important;
}

/* Testimonial Cards - Glassmorphism */
article[style*="background: white"] {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

article[style*="background: white"]:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12),
                0 8px 20px rgba(0, 0, 0, 0.08) !important;
}

/* Star Ratings - Gold Glow */
.fas.fa-star {
    filter: drop-shadow(0 1px 2px rgba(212, 168, 85, 0.5)) !important;
    transition: all 0.3s ease !important;
}

article:hover .fas.fa-star {
    filter: drop-shadow(0 2px 6px rgba(212, 168, 85, 0.8)) !important;
}

/* Meet Mary Section - Photo Enhancement */
img[alt*="Mary Ferri"] {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2),
                0 8px 20px rgba(0, 0, 0, 0.15),
                inset 0 -1px 0 rgba(255, 255, 255, 0.1) !important;
    transition: all 0.4s ease !important;
    filter: brightness(1.02) contrast(1.05) !important;
}

img[alt*="Mary Ferri"]:hover {
    transform: scale(1.03) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25),
                0 12px 30px rgba(0, 0, 0, 0.18) !important;
}

/* WhatsApp Button - Premium Green */
a[style*="#25D366"] {
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%) !important;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4) !important;
    transition: all 0.3s ease !important;
}

a[style*="#25D366"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5) !important;
}

/* Contact Buttons - Glassmorphism */
.contact-action {
    backdrop-filter: blur(8px) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Property Grid - Smooth Animations */
.property-grid {
    animation: fadeInUp 0.8s ease-out !important;
}

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

/* Section Titles - Premium Typography */
h2[style*="font-family: var(--font-display)"] {
    font-weight: 300 !important;
    letter-spacing: -0.01em !important;
    color: #2C2C2C !important;
}

/* ====================================
   GLASSMORPHISM SECTIONS
   ==================================== */

/* Properties Section */
#properties {
    background: linear-gradient(180deg, #FAFBF9 0%, #F5F7F3 50%, #EDF2EA 100%) !important;
    position: relative;
}

#properties::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(107, 159, 92, 0.3), transparent);
}

/* Section Header Glass Card */
section > div[style*="text-align: center"][style*="margin-bottom"] {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    padding: 3rem !important;
    border-radius: 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Experience Cards - Enhanced Glassmorphism */
.experience-card {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden !important;
}

.experience-card:hover {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow: 0 24px 64px rgba(107, 159, 92, 0.15),
                0 12px 24px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(107, 159, 92, 0.3) !important;
}

.experience-card img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.experience-card:hover img {
    transform: scale(1.1) !important;
}

/* Included Badge - Glass Style */
.experience-card span[style*="background: #6B9F5C"] {
    background: linear-gradient(135deg, rgba(107, 159, 92, 0.95), rgba(90, 138, 77, 0.95)) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 16px rgba(107, 159, 92, 0.4) !important;
}

/* Alternating Section Backgrounds */
section:nth-of-type(odd) {
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFBF9 100%) !important;
}

section:nth-of-type(even) {
    background: linear-gradient(180deg, #F5F7F3 0%, #EDF2EA 100%) !important;
}

/* Section Dividers */
section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(107, 159, 92, 0.4), transparent);
    border-radius: 2px;
}

/* Property Grid Enhancement */
.property-grid {
    display: grid !important;
    gap: 2.5rem !important;
}

/* Floating Decorative Elements */
section[id="properties"]::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(107, 159, 92, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

section[id="properties"]::before {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(107, 159, 92, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Trust Section Glass Effect */
section[style*="F5F5F0"] {
    background: linear-gradient(135deg, rgba(245, 245, 240, 0.9) 0%, rgba(250, 250, 248, 0.95) 100%) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

/* Contact Section Enhancement */
#contact {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAF6 100%) !important;
    position: relative;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #6B9F5C, transparent);
}

/* Mobile Menu - Glassmorphism */
.mobile-menu {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth !important;
}

/* Image Loading - Smooth Fade In */
img {
    opacity: 0;
    animation: fadeIn 0.6s ease-in forwards;
}

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

/* Premium Focus States */
a:focus, button:focus {
    outline: 2px solid rgba(107, 159, 92, 0.5) !important;
    outline-offset: 3px !important;
}

/* Elevated Shadows on Scroll (applied via JS) */
.elevated {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18) !important;
}

/* Trust Badge Icons - Glow Effect */
.fab.fa-airbnb,
.fab.fa-google,
.fas.fa-map-marker-alt {
    filter: drop-shadow(0 2px 8px currentColor) !important;
    transition: all 0.3s ease !important;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.8rem !important;
    }
    
    h2[style*="font-family: var(--font-display)"] {
        font-size: 2rem !important;
    }
}

/* Premium Loading State */
.property-grid p[style*="Loading"] {
    animation: pulse 1.5s ease-in-out infinite !important;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Accessibility Improvements */
.btn-primary:focus-visible,
a:focus-visible {
    outline: 3px solid #6B9F5C !important;
    outline-offset: 4px !important;
}

/* Print Styles */
@media print {
    nav,
    .mobile-menu,
    .mobile-nav {
        display: none !important;
    }
}

/* ====================================
   ADDITIONAL PREMIUM ENHANCEMENTS
   ==================================== */

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Section Animations on Scroll */
section {
    animation: fadeInUp 0.8s ease-out;
}

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

/* Enhanced Trust Badges */
section > div > div > div[style*="background: #FAF8F3"] {
    transition: all 0.3s ease !important;
}

section > div > div > div[style*="background: #FAF8F3"]:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

/* Premium Property Grid */
.property-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)) !important;
    gap: 2.5rem !important;
    padding: 0 2rem !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

@media (max-width: 768px) {
    .property-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 0 1rem !important;
    }
}

/* Testimonial Card Enhancements */
article[style*="background: white"] {
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

article[style*="background: white"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, #6B9F5C, #5A8A4D);
    transition: height 0.3s ease;
}

article[style*="background: white"]:hover::before {
    height: 100%;
}

article[style*="background: white"]:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15) !important;
}

/* Enhanced Star Ratings with Glow */
div[style*="color: #D4A855"] i.fa-star {
    filter: drop-shadow(0 2px 4px rgba(212, 168, 85, 0.4));
    transition: all 0.2s ease;
}

div[style*="color: #D4A855"]:hover i.fa-star {
    filter: drop-shadow(0 4px 8px rgba(212, 168, 85, 0.6));
    transform: scale(1.05);
}

/* Premium Link Hover Effects */
a {
    transition: all 0.3s ease !important;
}

/* Enhanced Section Headings */
h2[style*="font-family: var(--font-display)"] {
    /* Green underlines removed for cleaner look */
}

/* Mobile Navigation Enhancement */
.mobile-nav {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

/* Premium Button Shine Effect */
.btn-primary,
.btn-check-availability {
    position: relative !important;
    overflow: hidden !important;
}

.btn-primary::after,
.btn-check-availability::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    bottom: -50%;
    left: -50%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotateZ(60deg) translate(-5em, 7.5em);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

/* Enhanced Footer/Contact Section */
section[style*="padding: 6rem"] {
    position: relative !important;
}

section[style*="padding: 6rem"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(107, 159, 92, 0.3),
        transparent
    );
}

/* Premium Hover on Contact Buttons */
a[href^="https://wa.me"],
a[href^="mailto:"],
a[href^="tel:"] {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

a[href^="https://wa.me"]:hover,
a[href^="mailto:"]:hover,
a[href^="tel:"]:hover {
    transform: translateY(-3px) scale(1.02) !important;
}

/* Refined Typography Throughout */
body {
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Enhanced Focus States for Accessibility */
a:focus,
button:focus {
    outline: 3px solid rgba(107, 159, 92, 0.5) !important;
    outline-offset: 2px !important;
}

/* Premium Loading State (optional for future use) */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}
