:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar {
    border-bottom: 1px solid #e0e0e0;
}

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
}

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

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.guide-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #f8f9fa;
}

.guide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.col-lg-3 .guide-image-container {
    height: 200px;
}

.card {
    border: none;
    border-radius: 10px;
}

.card.h-100 {
    display: flex;
    flex-direction: column;
}

.card.h-100 .card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card.h-100 .card-body .card-title {
    min-height: 1.5em;
}

.card.h-100 .card-body .card-text.text-muted {
    min-height: 2.5em;
}

.guide-badges {
    min-height: 2.5em;
    margin-bottom: 0.5rem;
}

.guide-bio {
    min-height: 4.5em;
    max-height: 4.5em;
    overflow: hidden;
    flex-grow: 1;
}

.card.h-100 .card-body .btn {
    margin-top: auto;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    transition: transform 0.2s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

footer {
    margin-top: auto;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.badge {
    padding: 0.4em 0.8em;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
        min-height: 300px !important;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .float-md-start {
        float: none !important;
        display: block;
        margin: 0 auto 1rem auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .guide-image-container {
        height: 200px;
    }
    
    .col-lg-3 .guide-image-container {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .guide-image-container {
        height: 180px;
    }
    
    .col-lg-3 .guide-image-container {
        height: 150px;
    }
}

img {
    max-width: 100%;
    height: auto;
}

.form-check-input {
    border: 2px solid #6c757d;
    width: 1.25em;
    height: 1.25em;
}

.form-check-input:checked {
    border-color: var(--primary-color);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}
