/**
 * Gobird.app - Huvudstil
 */

/* === Grundläggande === */
:root {
    --primary-color: #ff9900;
	--bs-primary-rgb:245,155,24;
    --secondary-color: #00c9a7;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --text-color: #333333;
    --border-radius: 8px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

/* === Hero Section === */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 600px;
}

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

.hero h1 {
    color: white;
}

.hero .lead {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* === Cards === */
.card {
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.recommendation-card {
    border-left: 4px solid var(--primary-color);
}

/* === Buttons === */
.btn {
    border-radius: var(--border-radius);
    padding: 0.625rem 1.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #0052a3;
    border-color: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* === Forms === */
.form-control, .form-select {
    border-radius: var(--border-radius);
    border: 1px solid #dee2e6;
    padding: 0.625rem 0.875rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* === Navigation === */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--text-color);
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

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

/* === Footer === */
footer {
    margin-top: auto;
}

footer a:hover {
    opacity: 0.8;
}

/* === Feature Icons === */
.feature-icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
}

/* === Badges === */
.badge {
    padding: 0.5rem 0.875rem;
    font-weight: 500;
    border-radius: 20px;
}

/* === Animations === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.recommendation-card {
    animation: fadeIn 0.5s ease-out;
}

.recommendation-card:nth-child(1) { animation-delay: 0.1s; }
.recommendation-card:nth-child(2) { animation-delay: 0.2s; }
.recommendation-card:nth-child(3) { animation-delay: 0.3s; }
.recommendation-card:nth-child(4) { animation-delay: 0.4s; }
.recommendation-card:nth-child(5) { animation-delay: 0.5s; }

/* === Spinner === */
.spinner-border {
    width: 1.5rem;
    height: 1.5rem;
    border-width: 0.2em;
}

/* === Alerts === */
.alert {
    border-radius: var(--border-radius);
    border: none;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

/* === Responsive === */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 3rem 0 !important;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
}

/* === Utilities === */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

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

/* === Loading State === */
#loadingState {
    padding: 2rem;
    text-align: center;
}

#loadingState .spinner-border {
    width: 3rem;
    height: 3rem;
}