/* Custom styles for Bull Path Savannah Inc website */

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Animation classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.animate-pulse-slow {
    animation: pulse 3s ease-in-out infinite;
}

/* Custom hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
}

/* Carousel custom styles */
.carousel-item {
    transition: opacity 0.5s ease-in-out;
}

/* Navigation active state */
.navbar .menu li a.active {
    color: #FFD700;
    font-weight: 600;
}

/* Custom button styles */
.btn-bull-primary {
    background-color: #FFD700;
    color: #000000;
    border: none;
    transition: all 0.3s ease;
}

.btn-bull-primary:hover {
    background-color: #E6C200;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* Card hover effects */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.1);
}

/* Form styles */
.form-control input:focus,
.form-control textarea:focus,
.form-control select:focus {
    border-color: #FFD700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

/* Loading animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Hero section background overlay */
.hero-overlay {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(51, 51, 51, 0.5));
}

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

::-webkit-scrollbar-track {
    background: #000000;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #E6C200;
}

/* Responsive text sizes */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .btn {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .card {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
}

/* Accessibility improvements */
.btn:focus,
.input:focus,
.textarea:focus,
.select:focus {
    outline: 2px solid #FFD700;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-gray-300 {
        color: #ffffff !important;
    }
    
    .text-gray-400 {
        color: #cccccc !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Custom utility classes */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.bg-gradient-bull {
    background: linear-gradient(135deg, #000000 0%, #333333 50%, #FFD700 100%);
}

.border-gradient {
    border: 2px solid;
    border-image: linear-gradient(45deg, #FFD700, #E6C200) 1;
}

/* Mobile menu improvements */
@media (max-width: 1024px) {
    .dropdown-content {
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
    }
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Loading states */
.btn.loading {
    pointer-events: none;
}

.btn.loading .loading-spinner {
    display: inline-block;
}

.btn.loading #submitText {
    opacity: 0.7;
}

/* Alert styles */
.alert {
    border-radius: 8px;
    border: 1px solid;
}

.alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
    color: #22c55e;
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
}