/* Custom Styles for Connecticut Backyard Chickens */

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #b91c1c;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --bg-cream: #fefce8;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    color: var(--text-dark);
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-brand i {
    font-size: 1.75rem;
    vertical-align: middle;
}

/* Hero Section */
.hero-section {
    background-image: url('ct_backyard_chickens_2025.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(254, 252, 232, 0.85);
    background: linear-gradient(135deg, rgba(254, 252, 232, 0.9) 0%, rgba(254, 243, 199, 0.85) 100%);
    pointer-events: none;
}

.hero-section .container {
    z-index: 1;
}

.hero-section h1 {
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

.hero-section .lead {
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* Feature Cards */
.feature-icon i {
    font-size: 3rem;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Product Cards */
.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2) !important;
}

.product-icon i {
    font-size: 3rem;
    color: var(--accent-color);
}

.product-card .btn-sm {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
}

/* Resources Section */
#resources a:not(.btn) {
    color: var(--primary-color);
    transition: color 0.2s ease;
}

#resources a:not(.btn):hover {
    color: var(--secondary-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #1e40af;
    border-color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

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

/* Section Spacing */
section {
    scroll-margin-top: 70px;
}

/* Footer */
footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    transform: translateY(-2px);
}

footer a.text-light:hover {
    color: var(--accent-color) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-logo {
        max-width: 100%;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
}

/* Utility Classes */
.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.shadow {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.6s ease-out;
}

/* Vue Breeder Table Styles */
.table thead th {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.table thead th:hover {
    background-color: rgba(30, 58, 138, 0.1);
}

.table-hover tbody tr:hover {
    background-color: rgba(251, 191, 36, 0.1);
}

#breeder-search {
    border-left: none;
}

#breeder-search:focus {
    box-shadow: 0 0 0 0.25rem rgba(30, 58, 138, 0.25);
    border-color: var(--primary-color);
}

/* Reviews Styles */
.reviews-container {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    border-top: 1px solid #dee2e6;
    padding-top: 0.5rem;
}

.review-item {
    transition: all 0.2s ease;
    border: 1px solid transparent;
    max-width: 100%;
}

.review-item:hover {
    border-color: currentColor;
    transform: translateX(2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bg-success-subtle {
    background-color: rgba(25, 135, 84, 0.1) !important;
}

.bg-danger-subtle {
    background-color: rgba(220, 53, 69, 0.1) !important;
}

