/* ============================================
   HABITAT CONSULTANT - MAIN STYLES
   ============================================ */

@import url('theme.css');

/* Base Styles */
html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Sticky Header */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    box-shadow: var(--shadow-sm);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding-bottom: 2rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--pastel-green) 0%, var(--pastel-blue) 100%);
    border-radius: var(--border-radius-lg);
    padding: 3rem 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--pastel-beige);
    border-top: 1px solid var(--pastel-gray);
}

/* Navbar Customization */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

/* Form Controls */
.form-control-lg, .form-select-lg {
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
}

/* Cards */
.card {
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
}

.card-header {
    border-radius: var(--border-radius-md) var(--border-radius-md) 0 0 !important;
    font-weight: 600;
}

/* Buttons */
.btn {
    border-radius: var(--border-radius-md);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

/* Table Styles */
.table {
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

/* Loading Spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Touch-friendly for mobile */
@media (max-width: 768px) {
    .btn {
        padding: 0.75rem 1rem;
        min-height: 44px;
    }
    
    .form-control, .form-select {
        min-height: 44px;
        font-size: 16px;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid var(--pastel-blue-dark);
    outline-offset: 2px;
}

