/* Custom CSS for Piața Locală Pișcolt */

/* Root Variables */
:root {
    --primary-green: #198754;
    --primary-green-light: #20c997;
    --text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Text Utilities */
.text-shadow {
    text-shadow: var(--text-shadow);
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* Navbar Styles */
.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 600;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    border-radius: 6px;
    margin: 0 4px;
    padding: 8px 12px !important;
}

.nav-link:hover {
    background-color: rgba(25, 135, 84, 0.1);
    color: var(--primary-green) !important;
}

.nav-link.active {
    background-color: var(--primary-green);
    color: white !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 12px;
}

.dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: rgba(25, 135, 84, 0.1);
    color: var(--primary-green);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg img {
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
}

.min-vh-75 {
    min-height: 75vh;
}

/* Scroll Indicator Animation */
.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Button Styles */
.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-success {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-success:hover {
    background-color: #157347;
    border-color: #146c43;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Card Styles */
.card {
    border-radius: 12px;
    transition: all 0.3s ease;
}

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

/* Language Switcher */
.btn-group .btn {
    border-radius: 6px !important;
}

.btn-group .btn:first-child {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.btn-group .btn:last-child {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .lead {
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .navbar-brand div {
        font-size: 0.9rem;
    }
    
    .nav-link {
        padding: 12px 16px !important;
        margin: 2px 0;
    }
}

@media (max-width: 576px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1.25rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
    }
    
    .btn-lg {
        width: 100%;
        justify-content: center;
    }
}

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

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Footer Styles */
footer a:hover {
    color: white !important;
    transition: color 0.3s ease;
}

footer .list-unstyled a:hover {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

.border-white-50 {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Utility Classes */
.object-fit-cover {
    object-fit: cover;
}

.bg-opacity-90 {
    background-color: rgba(var(--bs-bg-opacity-rgb), 0.9) !important;
}
