/* Custom styles for C&A Property Management */

/* Ensure all text meets WCAG AA contrast requirements */
.text-plum-100 {
    color: #e8dcc8;
}

.text-plum-200 {
    color: #d4c4b0;
}

.text-plum-300 {
    color: #b8a898;
}

.text-plum-400 {
    color: #9a8a7a;
}

.text-plum-500 {
    color: #7a6a5a;
}

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

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

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

::-webkit-scrollbar-track {
    background: #1a0a1e;
}

::-webkit-scrollbar-thumb {
    background: #4a1a54;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b2473;
}

/* Card hover effects */
.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(74, 26, 84, 0.4);
}

/* Button shine effect */
.btn-gold {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-gold::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: left 0.5s ease;
}

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

/* Fade in animation for below-fold content */
@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Decorative corner accents */
.corner-accent {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(212, 168, 67, 0.3);
}

.corner-tl {
    top: -10px;
    left: -10px;
    border-right: none;
    border-bottom: none;
}

.corner-br {
    bottom: -10px;
    right: -10px;
    border-left: none;
    border-top: none;
}

/* Mobile menu animation */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    max-height: 400px;
}

/* Gold line divider */
.gold-line {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #d4a843 50%, transparent 100%);
}

/* Ensure proper form styling */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #d4a843 !important;
    box-shadow: 0 0 0 1px #d4a843;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .magazine-hero {
        grid-template-columns: 1fr;
    }
    
    .corner-accent {
        width: 40px;
        height: 40px;
    }
}
