/* GOA Luxury Property - Custom Luxury Styles */

@layer utilities {
    .text-shadow-luxury {
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    }
}

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

.animate-fadeIn {
    animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #14171A;
}
::-webkit-scrollbar-thumb {
    background: #C5A880;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9C7E55;
}

/* Hero Section */
.hero-gradient-overlay {
    background: linear-gradient(180deg, rgba(20, 23, 26, 0.4) 0%, rgba(20, 23, 26, 0.75) 70%, #14171A 100%);
}

/* Luxury Property Card Image Zoom */
.property-card-image {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.group:hover .property-card-image {
    transform: scale(1.05);
}

/* Subtle Gold Borders */
.border-gold-subtle {
    border-color: rgba(197, 168, 128, 0.3);
}

/* Aspect Ratios */
.aspect-card {
    aspect-ratio: 4 / 3;
}
.aspect-hero {
    aspect-ratio: 16 / 9;
}

/* ============================================================
   Luxury Scroll-Reveal, Micro-Interactions & Aesthetic Polish
   ============================================================ */

/* Scroll reveal: sections fade + rise into view */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1.is-visible { transition-delay: 0.08s; }
.reveal-delay-2.is-visible { transition-delay: 0.16s; }
.reveal-delay-3.is-visible { transition-delay: 0.24s; }
.reveal-delay-4.is-visible { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal.is-visible {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Gentle hover lift for cards / grid tiles */
.card-hover-lift {
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.card-hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -12px rgba(20, 23, 26, 0.18);
    border-color: rgba(197, 168, 128, 0.45);
}

/* Animated gold gradient underline beneath section eyebrow labels */
.eyebrow-gold {
    position: relative;
    display: inline-block;
}
.eyebrow-gold::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 2px;
    width: 28px;
    background: linear-gradient(90deg, #C5A880, transparent);
    transition: width 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal.is-visible .eyebrow-gold::after {
    width: 56px;
}

/* Shimmering sheen sweep across primary gold CTA buttons */
.shimmer-gold {
    position: relative;
    overflow: hidden;
}
.shimmer-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
    transform: skewX(-20deg);
    transition: left 0.15s;
}
.shimmer-gold:hover::before {
    left: 130%;
    transition: left 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Soft pulsing glow ring behind lock / play icon badges */
@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(197, 168, 128, 0.45);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(197, 168, 128, 0);
    }
}
.glow-ring {
    animation: glowPulse 2.4s ease-in-out infinite;
}

/* Gentle continuous float for hero/accent icons */
@keyframes floatSoft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
.float-soft {
    animation: floatSoft 3.6s ease-in-out infinite;
}

/* Gold gradient text for premium emphasis */
.text-gradient-gold {
    background: linear-gradient(90deg, #9C7E55 0%, #E5D4BA 45%, #C5A880 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Keyword / tag chips: subtle pop + gold border on hover */
.chip-pop {
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.chip-pop:hover {
    transform: translateY(-2px) scale(1.04);
    background-color: rgba(197, 168, 128, 0.14);
    border-color: rgba(197, 168, 128, 0.55);
    color: #9C7E55;
}

/* Animated dashed accent frame used behind blurred lead-gen thumbnails */
@keyframes borderDrift {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}
.frame-drift {
    background-image: repeating-linear-gradient(45deg, rgba(197, 168, 128, 0.18) 0, rgba(197, 168, 128, 0.18) 2px, transparent 2px, transparent 14px);
    animation: borderDrift 6s linear infinite;
}

/* Section divider with center gold glint */
.divider-glint {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(197, 168, 128, 0.45) 50%, transparent 100%);
}

/* Star ratings: staggered fade-in pop */
@keyframes starPop {
    0% { opacity: 0; transform: scale(0.4); }
    100% { opacity: 1; transform: scale(1); }
}
.star-pop {
    animation: starPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
