/* ========================================
   Tour Planner - Clean Tech Design
   ======================================== */

/* CSS Variables */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #64748b;
    --accent: #0ea5e9;
    --dark: #0f172a;
    --darker: #020617;
    --light: #f8fafc;
    --border: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --card-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --card-shadow-hover: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--light);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

main {
    flex: 1;
}

/* Navbar Styles */
.navbar {
    background: var(--primary) !important;
    border-bottom: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;  /* Thinner navbar */
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: white !important;
    letter-spacing: -0.5px;
    transition: var(--transition);
}

.navbar-brand:hover {
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-brand i {
    color: white;
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85) !important;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: white !important;
}

.nav-link i {
    font-size: 1rem;
}

.navbar-dark .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
}

.navbar-dark .navbar-brand {
    color: white !important;
}

.dropdown-toggle {
    color: white !important;
}

/* Card Styles */
.card {
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    overflow: hidden;
    background: white;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary);
}

.card-body {
    padding: 2rem;
}

.card h3 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Button Styles */
.btn {
    border-radius: 8px;
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgb(37 99 235 / 0.3);
}

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

.btn-secondary:hover {
    background: #475569;
}

.btn-outline-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border);
}

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

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

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

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Hero Section */
.display-3,
.display-4,
.display-5 {
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.lead {
    color: var(--text-secondary);
    font-size: 1.125rem;
    font-weight: 400;
}

/* Footer Styles */
.footer {
    background: white;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.footer .text-muted {
    color: var(--text-secondary) !important;
}

/* Alert Styles */
.alert {
    border-radius: 8px;
    border: 1px solid var(--border);
}

/* Dropdown Menu */
.dropdown-menu {
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow-hover);
    padding: 0.5rem;
    margin-top: 0.5rem !important;
}

.dropdown-item {
    border-radius: 6px;
    transition: var(--transition);
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
}

.dropdown-item:hover {
    background: var(--light);
    color: var(--primary);
}

.dropdown-item i {
    width: 1.25rem;
}

/* Badge Styles */
.badge {
    border-radius: 6px;
    padding: 0.25rem 0.625rem;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1rem;
    }

    .card-body {
        padding: 1.5rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Loading Animation */
.spinner-border {
    border-width: 3px;
}

/* Utility Classes */
.text-primary-custom {
    color: var(--primary) !important;
}

.text-gradient {
    color: var(--primary) !important;
}

.shadow-custom {
    box-shadow: var(--card-shadow) !important;
}

.shadow-custom-hover:hover {
    box-shadow: var(--card-shadow-hover) !important;
}

/* Feature Icons */
.feature-icon i {
    color: var(--primary);
}

/* Stats */
.stat-item h3 {
    color: var(--dark);
}

.stat-item i {
    color: var(--primary);
}

/* Section Backgrounds */
.bg-white {
    background: white !important;
}

.hero-section {
    background: white;
    border-bottom: 1px solid var(--border);
}
