/* ============================================================================
   FILE LOCATION: /assets/css/style.css
   FILE NAME: style.css
   FUNCTION: Custom styles for Shanabau website
   VERSION: 1.0.0
   GENERATED: 2025-10-06
   CHANGELOG:
     v1.0.0 (2025-10-06) - Initial stylesheet
   ============================================================================ */

/* ============================================================================
   Global Styles
   ============================================================================ */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #0B9134;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* ============================================================================
   Navigation
   ============================================================================ */

.navbar-brand {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

/* ============================================================================
   Hero Section
   ============================================================================ */

.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 500px;
}

.hero-section h1 {
    color: var(--dark-color);
}

.hero-section .lead {
    color: var(--secondary-color);
}

/* ============================================================================
   Cards
   ============================================================================ */

.card {
    border: none;
    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.15) !important;
}

.card-header {
    border-bottom: none;
    font-weight: 600;
}

/* ============================================================================
   Services
   ============================================================================ */

.services-section {
    background-color: #fff;
}

.service-item {
    transition: all 0.3s ease;
    background-color: #fff;
}

.service-item:hover {
    background-color: var(--light-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.category-section {
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================================
   Buttons
   ============================================================================ */

.btn {
    font-weight: 500;
    padding: 0.625rem 1.25rem;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* ============================================================================
   Forms
   ============================================================================ */

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

/* ============================================================================
   Tables
   ============================================================================ */

.table {
    margin-bottom: 0;
}

.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

/* ============================================================================
   Badges
   ============================================================================ */

.badge {
    padding: 0.5rem 0.75rem;
    font-weight: 500;
    font-size: 0.875rem;
}

/* ============================================================================
   Breadcrumb
   ============================================================================ */

.breadcrumb-section {
    border-bottom: 1px solid #dee2e6;
}

.breadcrumb {
    background-color: transparent;
    margin-bottom: 0;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #0a58ca;
    text-decoration: underline;
}

/* ============================================================================
   Opening Hours
   ============================================================================ */

.opening-hours-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* ============================================================================
   Call to Action
   ============================================================================ */

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a58ca 100%);
}

.cta-section h2,
.cta-section p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* ============================================================================
   Footer
   ============================================================================ */

.footer {
    background-color: var(--dark-color);
    margin-top: auto;
}

.footer a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ============================================================================
   Alerts
   ============================================================================ */

.alert {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.alert i {
    font-size: 1.25rem;
    vertical-align: middle;
}

/* ============================================================================
   Icons
   ============================================================================ */

.display-3 i,
.display-4 i {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* ============================================================================
   Responsive
   ============================================================================ */

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0 !important;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .card-body {
        padding: 1rem !important;
    }

    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/* ============================================================================
   Animations
   ============================================================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease;
}

/* ============================================================================
   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;
}

/* ============================================================================
   Print Styles
   ============================================================================ */

@media print {
    .navbar,
    .footer,
    .cta-section,
    .btn {
        display: none;
    }

    .card {
        box-shadow: none !important;
        border: 1px solid #dee2e6 !important;
    }
}