/* Custom styles for MD WEBBER */

/* Smooth transitions for all interactive elements */
a, button, input, textarea, select {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Selection color */
::selection {
    background: rgba(201, 149, 46, 0.3);
    color: #f5f5f5;
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid #c9952e;
    outline-offset: 2px;
}

/* Body background gradient */
body {
    background-color: #030703;
    background-image: 
        radial-gradient(ellipse at 20% 0%, rgba(17, 32, 17, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(17, 32, 17, 0.3) 0%, transparent 50%);
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(3, 7, 3, 0.9) !important;
    border-bottom: 1px solid rgba(61, 122, 61, 0.15);
}

/* Gold gradient text animation */
@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.gold-shimmer {
    background: linear-gradient(
        135deg,
        #c9952e 0%,
        #e8c97a 20%,
        #d4a84b 40%,
        #c9952e 60%,
        #b07a1f 80%,
        #e8c97a 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s ease-in-out infinite;
}

/* Pulse animation for decorative dots */
@keyframes pulse-dot {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

.hero-gradient .w-1\.5,
.hero-gradient .w-2 {
    animation: pulse-dot 3s ease-in-out infinite;
}

.hero-gradient .w-2 {
    animation-delay: 1s;
}

.hero-gradient .w-1\.5 {
    animation-delay: 2s;
}

/* Image hover zoom */
.service-card img,
#about img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover img,
#about:hover img {
    transform: scale(1.03);
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #0d1a0d inset !important;
    -webkit-text-fill-color: #f5f5f5 !important;
    caret-color: #f5f5f5;
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }
    .hero-gradient, .pattern-grid {
        display: none;
    }
}
