/* Custom styles for Bagniuk-Libby */

/* Ensure all text is readable on dark backgrounds */
body {
    background-color: #0d0a14;
    color: #f5f0fb;
}

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

/* Gold line accent */
.gold-line {
    background: linear-gradient(90deg, #d97706, #f59e0b, #d97706);
    height: 2px;
}

/* Pattern overlay */
.pattern-overlay {
    background-image: radial-gradient(ellipse at 20% 50%, rgba(76, 29, 149, 0.15) 0%, transparent 50%),
                      radial-gradient(ellipse at 80% 20%, rgba(217, 119, 6, 0.08) 0%, transparent 50%),
                      radial-gradient(ellipse at 50% 80%, rgba(76, 29, 149, 0.1) 0%, transparent 50%);
}

/* Service card styles */
.service-card {
    background: linear-gradient(145deg, rgba(46, 16, 101, 0.4) 0%, rgba(13, 10, 20, 0.6) 100%);
    border: 1px solid rgba(217, 119, 6, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    border-color: rgba(217, 119, 6, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(76, 29, 149, 0.3), 0 0 60px rgba(217, 119, 6, 0.1);
}

/* Gold button */
.btn-gold {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #d97706 100%);
    color: #0d0a14;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.btn-gold:hover {
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.5);
    transform: translateY(-2px);
}

/* Outline gold button */
.btn-outline-gold {
    border: 1px solid rgba(217, 119, 6, 0.6);
    color: #d97706;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: rgba(217, 119, 6, 0.1);
    border-color: #d97706;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Navigation scroll effect */
.nav-scrolled {
    background: rgba(13, 10, 20, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(217, 119, 6, 0.2);
}

/* Form styles */
input, textarea, select {
    background: rgba(46, 16, 101, 0.2) !important;
    border: 1px solid rgba(217, 119, 6, 0.3) !important;
    color: #f5f0fb !important;
}

input:focus, textarea:focus, select:focus {
    border-color: #d97706 !important;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1) !important;
    outline: none !important;
}

input::placeholder, textarea::placeholder {
    color: rgba(245, 240, 251, 0.5) !important;
}

/* Success message animation */
.success-message {
    animation: slideIn 0.5s ease forwards;
}

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

/* Reduced motion support */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
    
    h1 {
        font-size: 2.5rem !important;
    }
}
