/* ============================================
   Brandy Gargis Real Estate — Custom Styles
   ============================================ */

/* Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

/* ============================================
   HERO DECORATIVE SHAPES
   ============================================ */
.deco-circle-1 {
    position: absolute;
    top: 10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(123, 45, 59, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.deco-circle-2 {
    position: absolute;
    bottom: 15%;
    right: 35%;
    width: 200px;
    height: 200px;
    background: rgba(255, 77, 109, 0.08);
    border-radius: 50%;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

.deco-circle-3 {
    position: absolute;
    top: 30%;
    left: -3%;
    width: 300px;
    height: 300px;
    background: rgba(255, 173, 184, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.deco-triangle {
    position: absolute;
    bottom: 20%;
    left: 5%;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(123, 45, 59, 0.05);
    transform: rotate(-15deg);
    pointer-events: none;
}

.deco-dots {
    position: absolute;
    top: 25%;
    left: 45%;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(123, 45, 59, 0.12) 2px, transparent 2px);
    background-size: 20px 20px;
    pointer-events: none;
    opacity: 0.6;
}

/* ============================================
   FLOATING ANIMATION
   ============================================ */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* ============================================
   ABOUT SECTION DECORATIONS
   ============================================ */
.about-circle-1 {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.about-circle-2 {
    position: absolute;
    bottom: -15%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 173, 184, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.about-rect {
    position: absolute;
    top: 20%;
    left: 5%;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transform: rotate(45deg);
    pointer-events: none;
}

/* ============================================
   CTA SECTION DECORATIONS
   ============================================ */
.cta-circle-1 {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.cta-circle-2 {
    position: absolute;
    bottom: -25%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 173, 184, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

/* ============================================
   FOOTER DECORATIONS
   ============================================ */
.footer-circle-1 {
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(123, 45, 59, 0.1) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(123, 45, 59, 0.02) 0%, transparent 60%);
    pointer-events: none;
    transition: opacity 0.5s ease;
}

/* ============================================
   NAVBAR SCROLL EFFECT
   ============================================ */
.nav-scrolled {
    background: rgba(254, 252, 251, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(123, 45, 59, 0.08);
}

.nav-transparent {
    background: transparent !important;
}

.nav-transparent .font-display {
    color: #1f2937 !important;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   CUSTOM SELECT STYLING
   ============================================ */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237B2D3B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    appearance: none;
    -webkit-appearance: none;
}

/* ============================================
   MOBILE MENU TRANSITIONS
   ============================================ */
#mobileMenu {
    animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .deco-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .deco-circle-2,
    .deco-circle-3 {
        display: none;
    }
    
    .deco-triangle {
        display: none;
    }
    
    .deco-dots {
        display: none;
    }
}

@media (max-width: 640px) {
    .floating-card {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        max-width: 100%;
        margin-top: 1rem;
    }
}

/* ============================================
   FOCUS VISIBLE
   ============================================ */
*:focus-visible {
    outline: 2px solid #7B2D3B;
    outline-offset: 2px;
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}
