/* Google Material Design inspired styles for Landing Point Eats */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --google-blue: #4285f4;
    --google-green: #34a853;
    --google-yellow: #fbbc05;
    --google-red: #ea4335;
    --google-grey-50: #fafafa;
    --google-grey-100: #f5f5f5;
    --google-grey-200: #eeeeee;
    --google-grey-300: #e0e0e0;
    --google-grey-600: #757575;
    --google-grey-800: #424242;
    --google-grey-900: #212121;
    --primary-custom: #0f4d5c;
    --secondary-custom: #3fbcd0;
    --shadow-1: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-2: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    --shadow-3: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    --border-radius: 8px;
    --border-radius-large: 16px;
}

/* Typography */
body {
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--google-grey-800);
    background-color: var(--google-grey-50);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Google Sans', sans-serif;
    font-weight: 500;
    line-height: 1.3;
    color: var(--google-grey-900);
    margin-bottom: 0.8rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2rem;
    font-weight: 400;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
}

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: white;
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-2);
    transform: translateY(-2px);
}

.card-header {
    border: none;
    border-radius: var(--border-radius-large) var(--border-radius-large) 0 0;
    padding: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.25px;
}

.card-body {
    padding: 1.5rem;
}

/* Buttons */
.btn {
    border-radius: 24px;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.25px;
    padding: 12px 24px;
    border: none;
    transition: all 0.2s ease;
    text-transform: none;
    box-shadow: var(--shadow-1);
}

.btn:hover {
    box-shadow: var(--shadow-2);
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-custom) 0%, var(--secondary-custom) 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0a3d47 0%, #2fa8bd 100%);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-custom);
    color: var(--primary-custom);
    background: transparent;
    box-shadow: none;
}

.btn-outline-primary:hover {
    background: var(--primary-custom);
    color: white;
    border-color: var(--primary-custom);
}

/* Form Controls */
.form-control, .form-select {
    border-radius: var(--border-radius);
    border: 2px solid var(--google-grey-300);
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-shadow: none;
}

.form-control:focus, .form-select:focus {
    border-color: var(--google-blue);
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

/* Navigation */
.navbar {
    background: white !important;
    box-shadow: var(--shadow-1);
    padding: 1rem 0;
}

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

.nav-link {
    font-weight: 400;
    color: var(--google-grey-600) !important;
    padding: 8px 16px !important;
    border-radius: 20px;
    transition: all 0.2s ease;
    margin: 0 4px;
}

.nav-link:hover {
    background: var(--google-grey-100);
    color: var(--google-grey-800) !important;
}

/* Venue Cards */
.venue-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: var(--border-radius-large);
    overflow: hidden;
}

.venue-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-3);
}

.venue-image {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.venue-card:hover .venue-image {
    transform: scale(1.05);
}

.venue-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--google-grey-100) 0%, var(--google-grey-200) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--google-grey-600);
}

/* Badges */
.badge {
    border-radius: 16px;
    font-weight: 500;
    font-size: 0.75rem;
    padding: 6px 12px;
    letter-spacing: 0.25px;
}

.category-badge {
    background: var(--google-grey-100);
    color: var(--google-grey-800);
    border: 1px solid var(--google-grey-300);
}

.category-restaurant {
    background: rgba(234, 67, 53, 0.1);
    color: var(--google-red);
    border: 1px solid rgba(234, 67, 53, 0.2);
}

.category-coffee {
    background: rgba(52, 168, 83, 0.1);
    color: var(--google-green);
    border: 1px solid rgba(52, 168, 83, 0.2);
}

.category-fast-casual {
    background: rgba(66, 133, 244, 0.1);
    color: var(--google-blue);
    border: 1px solid rgba(66, 133, 244, 0.2);
}

.category-bar {
    background: rgba(251, 188, 5, 0.1);
    color: #f57c00;
    border: 1px solid rgba(251, 188, 5, 0.2);
}

/* Stars */
.star-rating {
    color: var(--google-yellow);
    font-size: 1.1rem;
}

.star-rating .empty {
    color: var(--google-grey-300);
}

/* Map Container */
.map-container, .map-container-large {
    border-radius: 0 0 var(--border-radius-large) var(--border-radius-large);
    overflow: hidden;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-custom) 0%, var(--secondary-custom) 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
    border-radius: 0 0 var(--border-radius-large) var(--border-radius-large);
}

.hero-section h1 {
    color: white;
    font-weight: 300;
    font-size: 3rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Alerts */
.alert {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-1);
    border-left: 4px solid;
}

.alert-info {
    background: rgba(66, 133, 244, 0.05);
    border-left-color: var(--google-blue);
    color: var(--google-blue);
}

/* Review Cards */
.review-card {
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius-large);
    transition: all 0.2s ease;
}

.review-card:hover {
    box-shadow: var(--shadow-2);
}

.review-header {
    font-weight: 500;
    color: var(--google-grey-900);
}

.review-meta {
    color: var(--google-grey-600);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.875rem;
    }
}

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

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

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

::-webkit-scrollbar-track {
    background: var(--google-grey-100);
}

::-webkit-scrollbar-thumb {
    background: var(--google-grey-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--google-grey-600);
}