/* Custom styles for G's Tree Services */

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

/* Custom gold gradient for buttons */
.btn-gold {
    background: linear-gradient(135deg, #c9a84c 0%, #e0ca7e 50%, #c9a84c 100%);
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #d4b965 0%, #e8d58a 50%, #d4b965 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 168, 76, 0.3);
}

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

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(201, 168, 76, 0.15);
}

/* Floating animation keyframes */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

/* Gold glow effect */
.gold-glow {
    box-shadow: 0 0 40px rgba(201, 168, 76, 0.2);
}

/* Shimmer effect for special elements */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.shimmer-effect {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(201, 168, 76, 0.1) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

/* Mobile menu transitions */
.mobile-menu {
    transition: transform 0.3s ease-in-out;
}

/* Custom form focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #c9a84c !important;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1) !important;
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure content is visible without JS */
@supports not (animation-name: reveal) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-display {
        font-size: 2.5rem;
    }
    
    .float-1, .float-2, .float-3 {
        animation: none;
    }
}

/* Print styles */
@media print {
    nav, .mobile-menu, #contact-form {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .text-gold-gradient {
        -webkit-text-fill-color: #c9a84c;
    }
}
