/* ================================================================
   Vaal River Rustic Modern Theme - KhonzaWebApp
   Inspired by the tranquil beauty of Parys & Vaal River region
   Free State / Gauteng border, golden sunsets, natural elegance
   ================================================================ */

:root {
    /* Primary color - Warm terracotta / rusty orange (red earth of Vaal) */
    --vaal-primary: #BC6C25;
    --vaal-primary-dark: #8B4513;
    --vaal-primary-light: #D97D3C;
    
    /* Secondary color - Deep river green (lush riverbanks) */
    --vaal-secondary: #2D6A4F;
    --vaal-secondary-light: #52B788;
    
    /* Accent color - Golden sunset (river at dusk) */
    --vaal-accent: #F4A261;
    --vaal-accent-light: #E9C46A;
    
    /* Neutral palette */
    --vaal-bg-light: #F8F1E9;
    --vaal-bg-lighter: #FDFAF5;
    --vaal-text-dark: #344E41;
    --vaal-text-light: #666666;
    --vaal-border: #E8DCC8;
    
    /* Utility colors */
    --vaal-success: #2D6A4F;
    --vaal-warning: #F4A261;
    --vaal-danger: #BC6C25;
    --vaal-info: #2D6A4F;
    

    
    /* Icon sizing */
    --icon-size: 24px;
}

/* ================================================================
   BASE TYPOGRAPHY & LAYOUT
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Open+Sans:wght@400;500;600;700&display=swap');

html, body {
    background-color: var(--vaal-bg-light);
    color: var(--vaal-text-dark);
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--vaal-text-dark);
    font-weight: 700;
    letter-spacing: 0.5px;
}

p {
    color: var(--vaal-text-light);
    font-weight: 400;
}

a {
    color: var(--vaal-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--vaal-primary-dark);
    text-decoration: none;
}

/* ================================================================
   NAVBAR / HEADER
   ================================================================ */

.navbar {
    background: linear-gradient(135deg, var(--vaal-secondary) 0%, var(--vaal-secondary-light) 100%);
    box-shadow: 0 4px 12px rgba(45, 106, 79, 0.15);
    padding: 0.75rem 0;
    border-bottom: 3px solid var(--vaal-primary);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff !important;
    letter-spacing: 1px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
    color: var(--vaal-accent-light) !important;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 0.5rem;
    position: relative;
    transition: color 0.3s ease;
    font-weight: 500;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--vaal-accent-light) !important;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--vaal-accent);
    border-radius: 2px;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ================================================================
   HERO SECTION
   ================================================================ */

.hero-section {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-bottom: 3rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(212, 125, 60, 0.3) 0%, 
        rgba(45, 106, 79, 0.4) 100%);
    z-index: 1;
}

.hero-section-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: brightness(1.1);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 3rem 2rem;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.3rem;
    color: #f0f0f0;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .hero-section {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
}

/* ================================================================
   BUTTONS
   ================================================================ */

.btn {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    border-radius: 6px;
}

.btn-primary {
    background-color: var(--vaal-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(188, 108, 37, 0.2);
}

.btn-primary:hover {
    background-color: var(--vaal-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(188, 108, 37, 0.3);
    color: white;
}

.btn-primary:active {
    transform: translateY(0);
}

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

.btn-secondary:hover {
    background-color: var(--vaal-secondary-light);
    transform: translateY(-2px);
    color: white;
}

.btn-outline-primary {
    color: var(--vaal-primary);
    border: 2px solid var(--vaal-primary);
}

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

.btn-accent {
    background-color: var(--vaal-accent);
    color: var(--vaal-text-dark);
    font-weight: 600;
}

.btn-accent:hover {
    background-color: var(--vaal-accent-light);
    color: var(--vaal-text-dark);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    color: white;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.4rem 0.9rem;
    font-size: 0.875rem;
}

/* ================================================================
   CARDS
   ================================================================ */

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background-color: white;
    transition: all 0.3s ease;
    border-top: 4px solid var(--vaal-primary);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card-header {
    background: linear-gradient(135deg, var(--vaal-primary) 0%, var(--vaal-primary-light) 100%);
    color: white;
    border: none;
    padding: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.card-header h5 {
    color: white;
    margin-bottom: 0;
}

.card-body {
    padding: 1.5rem;
    color: var(--vaal-text-dark);
}

.card-title {
    font-family: 'Playfair Display', serif;
    color: var(--vaal-text-dark);
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--vaal-text-light);
    font-size: 0.95rem;
}

/* ================================================================
   SERVICE CARDS
   ================================================================ */

.service-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(45, 106, 79, 0.15);
}

.service-card-header {
    background: linear-gradient(135deg, var(--vaal-secondary) 0%, var(--vaal-secondary-light) 100%);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid var(--vaal-primary);
}

.service-card-icon {
    font-size: 2rem;
}

.service-card-title {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin: 0;
}

.service-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-description {
    color: var(--vaal-text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-card-footer {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.service-card-footer .btn {
    flex: 1;
}

/* ================================================================
   BADGES & BADGES
   ================================================================ */

.badge {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    padding: 0.5rem 0.9rem;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.badge-primary {
    background-color: var(--vaal-primary);
    color: white;
}

.badge-secondary {
    background-color: var(--vaal-secondary);
    color: white;
}

.badge-accent {
    background-color: var(--vaal-accent);
    color: var(--vaal-text-dark);
    font-weight: 700;
}

.badge-loyalty {
    background: linear-gradient(135deg, var(--vaal-accent) 0%, var(--vaal-accent-light) 100%);
    color: var(--vaal-text-dark);
    border: 2px solid var(--vaal-primary);
    font-weight: 700;
    padding: 0.6rem 1rem;
}

.badge-provider {
    background: linear-gradient(135deg, var(--vaal-secondary) 0%, var(--vaal-secondary-light) 100%);
    color: white;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
}

/* ================================================================
   ALERTS
   ================================================================ */

.alert {
    border: none;
    border-left: 4px solid var(--vaal-primary);
    border-radius: 6px;
    font-weight: 500;
}

.alert-success {
    background-color: #e8f5e9;
    color: #2d6a4f;
    border-left-color: #2d6a4f;
}

.alert-warning {
    background-color: #fff3e0;
    color: #bc6c25;
    border-left-color: #bc6c25;
}

.alert-danger {
    background-color: #ffebee;
    color: #d32f2f;
    border-left-color: #d32f2f;
}

.alert-info {
    background-color: #e0f2f1;
    color: #2d6a4f;
    border-left-color: #2d6a4f;
}

/* ================================================================
   FOOTER
   ================================================================ */

footer {
    background: linear-gradient(135deg, #2a2a2a 0%, #3d3d3d 100%);
    color: #e0e0e0;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 3px solid var(--vaal-primary);
}

footer h5 {
    color: var(--vaal-accent);
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

footer a {
    color: #b0b0b0;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--vaal-accent);
}

footer p {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

.footer-tagline {
    color: var(--vaal-accent);
    font-style: italic;
    font-weight: 500;
    margin: 1rem 0;
}

/* ================================================================
   FORMS
   ================================================================ */

.form-control,
.form-select {
    border: 2px solid var(--vaal-border);
    border-radius: 6px;
    padding: 0.7rem 1rem;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s ease;
    color: var(--vaal-text-dark);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--vaal-primary);
    box-shadow: 0 0 0 0.2rem rgba(188, 108, 37, 0.15);
    color: var(--vaal-text-dark);
}

.form-label {
    font-weight: 600;
    color: var(--vaal-text-dark);
    margin-bottom: 0.5rem;
}

.form-text {
    color: var(--vaal-text-light);
    font-size: 0.9rem;
}

/* ================================================================
   SECTIONS & CONTAINERS
   ================================================================ */

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--vaal-text-dark);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--vaal-primary), var(--vaal-accent));
    border-radius: 2px;
}

.section-header p {
    color: var(--vaal-text-light);
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

.container-section {
    padding: 3rem 0;
}

/* ================================================================
   NAVIGATION / PAGINATION
   ================================================================ */

.pagination {
    gap: 0.5rem;
}

.page-link {
    color: var(--vaal-primary);
    border: 2px solid var(--vaal-border);
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.page-link:hover {
    background-color: var(--vaal-primary);
    border-color: var(--vaal-primary);
    color: white;
}

.page-item.active .page-link {
    background-color: var(--vaal-primary);
    border-color: var(--vaal-primary);
}

.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item {
    color: var(--vaal-text-light);
}

.breadcrumb-item.active {
    color: var(--vaal-primary);
    font-weight: 600;
}

.breadcrumb-item a {
    color: var(--vaal-primary);
}

/* ================================================================
   RATING & REVIEWS
   ================================================================ */

.rating {
    color: var(--vaal-accent);
    font-size: 1.1rem;
}

.stars {
    color: var(--vaal-accent);
    letter-spacing: 2px;
}

.review-item {
    padding: 1.5rem;
    border-left: 4px solid var(--vaal-primary);
    background-color: var(--vaal-bg-lighter);
    border-radius: 6px;
    margin-bottom: 1rem;
}

.review-author {
    font-weight: 600;
    color: var(--vaal-text-dark);
    margin-bottom: 0.5rem;
}

.review-text {
    color: var(--vaal-text-light);
    margin-bottom: 0.5rem;
}

.review-date {
    font-size: 0.9rem;
    color: #999;
}

/* ================================================================
   MODAL
   ================================================================ */

.modal-content {
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border-top: 4px solid var(--vaal-primary);
}

.modal-header {
    background: linear-gradient(135deg, var(--vaal-secondary) 0%, var(--vaal-secondary-light) 100%);
    color: white;
    border: none;
    border-radius: 10px 10px 0 0;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

/* ================================================================
   UTILITIES
   ================================================================ */

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

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

.text-accent {
    color: var(--vaal-accent) !important;
}

.bg-primary {
    background-color: var(--vaal-primary) !important;
}

.bg-secondary {
    background-color: var(--vaal-secondary) !important;
}

.bg-accent {
    background-color: var(--vaal-accent) !important;
}

.bg-light-warm {
    background-color: var(--vaal-bg-light) !important;
}

.border-primary {
    border-color: var(--vaal-primary) !important;
}

.border-accent {
    border-color: var(--vaal-accent) !important;
}

.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.shadow-md {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
}

/* ================================================================
   ANIMATIONS
   ================================================================ */

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-slide-in {
    animation: slideInLeft 0.6s ease-out;
}

/* ================================================================
   RESPONSIVE ADJUSTMENTS
   ================================================================ */

@media (max-width: 992px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    h1, h2 {
        font-size: 1.75rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    footer {
        padding: 2rem 0 1rem;
    }
}



/* ================================================================
   CATEGORY ICONS WITH VAAL RIVER ACCENTS
   ================================================================ */

/* Category Icon Wrapper - Base styling */
.category-icon-wrapper {
    position: relative;
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.6, 1);
}

.category-icon-wrapper i {
    font-size: 1.5em;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.category-icon-wrapper:hover i {
    transform: scale(1.15);
}

/* Category Icon in Cards */
.service-card .category-icon-wrapper i,
.category-card .category-icon-wrapper i {
    font-size: 2em;
    color: var(--vaal-primary);
}

.service-card .category-icon-wrapper:hover i,
.category-card .category-icon-wrapper:hover i {
    color: var(--vaal-secondary);
}

/* Category Icon in Badges/Tags */
.category-badge .category-icon-wrapper i {
    font-size: 1.2em;
    margin-right: 8px;
}

.category-badge .category-icon-accent {
    top: -4px;
    right: -4px;
    font-size: 0.7em;
    padding: 1px 3px;
}

/* Category Icon in Dropdowns/Selectors */
.category-select .category-icon-wrapper i {
    font-size: 1.3em;
    margin-right: 10px;
    color: var(--vaal-text-dark);
}

/* Category Icon in Provider Profiles */
.provider-services .category-icon-wrapper i {
    font-size: 1.4em;
    color: var(--vaal-secondary);
    margin-right: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .category-icon-wrapper i {
        font-size: 1.3em;
    }
    
    .category-icon-accent {
        font-size: 0.8em;
        padding: 1px 3px;
    }
    
    .service-card .category-icon-wrapper i,
    .category-card .category-icon-wrapper i {
        font-size: 1.8em;
    }
}

@media (max-width: 576px) {
    .category-icon-wrapper i {
        font-size: 1.1em;
    }
    
    .service-card .category-icon-wrapper i,
    .category-card .category-icon-wrapper i {
        font-size: 1.6em;
    }
}

/* ================================================================
   ACCESSIBILITY
   ================================================================ */

a:focus,
button:focus {
    outline: 2px solid var(--vaal-primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* ================================================================
   ICON COLOR ACCENT CLASSES
   ================================================================ */

i.vaal-accent-ripple,
.vaal-accent-ripple {
    color: #4B9FBF !important;
}

i.vaal-accent-stone,
.vaal-accent-stone {
    color: #6B7280 !important;
}

i.vaal-accent-bridge,
.vaal-accent-bridge {
    color: #A63A50 !important;
}

i.vaal-accent-protea,
.vaal-accent-protea {
    color: #E07A9B !important;
}

i.vaal-accent-warm,
.vaal-accent-warm {
    color: #BC6C25 !important;
}

i.vaal-accent-cool,
.vaal-accent-cool {
    color: #2D6A4F !important;
}