/* Blue Valley Farm - Custom Styles */

/* Custom color variables */
:root {
    --primary-green: #16A085;
    --secondary-orange: #D97706;
    --accent-blue: #1E40AF;
    --success-green: #10B981;
    --warning-orange: #F59E0B;
    --error-red: #EF4444;
    --neutral-gray: #6B7280;
}

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

/* Custom button styles */
.btn-primary {
    background-color: var(--primary-green);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: fit-content;
}

.btn-primary:hover {
    background-color: #138D75;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(22, 160, 133, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-orange);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: fit-content;
}

.btn-secondary:hover {
    background-color: #B45309;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

/* Prevent button text wrapping */
.btn-primary i,
.btn-secondary i {
    margin-right: 8px;
    flex-shrink: 0;
}

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

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Service card specific styles */
.service-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.service-card img {
    border-radius: 8px;
    margin-bottom: 16px;
}

.service-card .price {
    color: var(--primary-green);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-card .btn-primary {
    margin-top: auto;
    align-self: flex-start;
}

/* Team member cards */
.team-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.team-card img {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
}

/* Testimonial cards */
.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Form styles */
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(22, 160, 133, 0.1);
}

.form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

/* Hero section enhancements */
.hero-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
}

/* Navigation enhancements */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-green);
}

.nav-link.active {
    color: var(--primary-green);
    font-weight: 600;
}

/* Mobile menu improvements */
@media (max-width: 768px) {
    .mobile-menu {
        background: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-menu a {
        padding: 12px 16px;
        border-bottom: 1px solid #F3F4F6;
        transition: background-color 0.3s ease;
    }
    
    .mobile-menu a:hover {
        background-color: #F9FAFB;
    }
}

/* Stats section */
.stats-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1;
}

/* Icon containers */
.icon-container {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.icon-container.primary {
    background-color: rgba(22, 160, 133, 0.1);
    color: var(--primary-green);
}

.icon-container.secondary {
    background-color: rgba(217, 119, 6, 0.1);
    color: var(--secondary-orange);
}

.icon-container.accent {
    background-color: rgba(30, 64, 175, 0.1);
    color: var(--accent-blue);
}

/* Portfolio project cards */
.portfolio-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.portfolio-card .content {
    padding: 24px;
}

/* Blog article cards */
.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card .content {
    padding: 20px;
}

/* Cookie banner styles */
#cookie-consent-banner {
    background: #1F2937;
    border-top: 3px solid var(--primary-green);
}

#cookie-consent-banner button {
    transition: all 0.3s ease;
}

#cookie-consent-banner button:hover {
    transform: translateY(-1px);
}

/* Responsive spacing adjustments */
@media (max-width: 640px) {
    .stats-number {
        font-size: 2.5rem;
    }
    
    .service-card,
    .team-card,
    .testimonial-card {
        padding: 20px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility classes */
.text-primary {
    color: var(--primary-green);
}

.text-secondary {
    color: var(--secondary-orange);
}

.text-accent {
    color: var(--accent-blue);
}

.bg-primary {
    background-color: var(--primary-green);
}

.bg-secondary {
    background-color: var(--secondary-orange);
}

.bg-accent {
    background-color: var(--accent-blue);
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
}