/* Additional custom styles for Virtual Flip Formula */

/* Import Campton font */
@import url('https://fonts.googleapis.com/css2?family=Campton:wght@300;400;500;600;700;800;900&display=swap');

/* Apply Campton font to all elements */
* {
    font-family: 'Campton', sans-serif;
}

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

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

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

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

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

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

/* Custom button styles with Virtual Flip Formula colors */
.btn-primary {
    background: linear-gradient(135deg, #8dc63f, #099302);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(141, 198, 63, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #8dc63f;
    color: #8dc63f;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #8dc63f;
    color: white;
    transform: translateY(-2px);
}

/* Custom card hover effects */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(53, 66, 77, 0.15);
}

/* Gradient backgrounds with Virtual Flip Formula colors */
.gradient-bg {
    background: linear-gradient(135deg, #35424d, #8dc63f);
}

.gradient-bg-light {
    background: linear-gradient(135deg, rgba(141, 198, 63, 0.1), rgba(9, 147, 2, 0.1));
}

/* Custom form styles */
.form-input {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #8dc63f;
    box-shadow: 0 0 0 3px rgba(141, 198, 63, 0.1);
    outline: none;
}

/* Responsive text sizes */
@media (max-width: 640px) {
    .text-responsive {
        font-size: 1.5rem;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .text-responsive {
        font-size: 2rem;
    }
}

@media (min-width: 1025px) {
    .text-responsive {
        font-size: 2.5rem;
    }
}

/* Loading animation */
.loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #8dc63f;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Custom scrollbar with Virtual Flip Formula colors */
::-webkit-scrollbar {
    width: 8px;
}

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

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

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

/* Mobile navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(53, 66, 77, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

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

/* Utility classes with Virtual Flip Formula colors */
.text-gradient {
    background: linear-gradient(135deg, #8dc63f, #099302);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-gradient {
    border: 2px solid;
    border-image: linear-gradient(135deg, #8dc63f, #099302) 1;
}

/* Focus styles for accessibility */
.focus-visible:focus {
    outline: 2px solid #8dc63f;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .floating-nav,
    .btn-primary,
    .btn-secondary {
        display: none !important;
    }
}

/* Virtual Flip Formula specific color classes */
.brand-green { color: #8dc63f; }
.brand-dark-green { color: #099302; }
.brand-navy { color: #35424d; }
.bg-brand-green { background-color: #8dc63f; }
.bg-brand-dark-green { background-color: #099302; }
.bg-brand-navy { background-color: #35424d; }
.border-brand-green { border-color: #8dc63f; }
.border-brand-dark-green { border-color: #099302; }
.bg-light-green { background-color: rgba(141, 198, 63, 0.1); }

/* Hover effects for Virtual Flip Formula colors */
.hover-brand-green:hover {
    color: #8dc63f;
}

.hover-bg-brand-green:hover {
    background-color: #8dc63f;
}

.hover-bg-brand-dark-green:hover {
    background-color: #099302;
} 