/* Anderson's Home Analysis - Premium Dark Luxury Styles */

/* Custom properties */
:root {
    --plum-deep: #2d0a4e;
    --plum-mid: #581c87;
    --amber-gold: #d4a017;
    --amber-light: #f5c842;
    --dark-900: #0a0a0f;
    --dark-800: #12121a;
    --dark-700: #1a1a25;
}

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--dark-900);
    color: #f5f5f5;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
.font-display {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Gold gradient text */
.text-gold-gradient {
    background: linear-gradient(135deg, #d4a017 0%, #f5c842 50%, #b8860b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

/* Gold line animation */
.gold-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--amber-gold), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Button styles */
.btn-gold {
    background: linear-gradient(135deg, #d4a017, #f5c842);
    color: var(--dark-900);
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 160, 23, 0.4);
}

.btn-gold:focus {
    outline: 2px solid var(--amber-light);
    outline-offset: 2px;
}

/* Service cards */
.service-card {
    background: linear-gradient(135deg, rgba(26, 10, 46, 0.8), rgba(10, 10, 15, 0.9));
    border: 1px solid rgba(212, 160, 23, 0.2);
    transition: all 0.4s ease;
}

.service-card:hover {
    border-color: rgba(212, 160, 23, 0.6);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(212, 160, 23, 0.1);
}

/* Magazine-style image */
.magazine-image {
    position: relative;
    overflow: hidden;
}

.magazine-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid rgba(212, 160, 23, 0.3);
    z-index: 1;
    pointer-events: none;
}

/* Gold glow effect */
.gold-glow {
    box-shadow: 0 0 30px rgba(212, 160, 23, 0.3), 0 0 60px rgba(212, 160, 23, 0.1);
}

/* Plum gradient background */
.plum-gradient {
    background: linear-gradient(135deg, var(--dark-900) 0%, #1a0a2e 50%, var(--dark-900) 100%);
}

/* Decorative elements */
.plum-accent {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(88, 28, 135, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-900);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4a017, #b8860b);
    border-radius: 4px;
}

/* Form styles */
input,
select,
textarea {
    background-color: var(--dark-700);
    color: #f5f5f5;
    border: 1px solid rgba(212, 160, 23, 0.3);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    width: 100%;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #d4a017;
}

input::placeholder,
textarea::placeholder {
    color: #6b7280;
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-asymmetric {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .font-display.text-5xl {
        font-size: 2.5rem;
    }

    .font-display.text-4xl {
        font-size: 2rem;
    }
}

/* Print styles */
@media print {
    .btn-gold,
    .mobile-menu {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
