/**
 * KIADATE COMPANY LIMITED - Custom Branding & Professional Styles
 * Enhances the LeadMark template with company-specific styling
 */

/* ====== BRAND COLORS ====== */
:root {
    --kiadate-primary: #1a472a;
    --kiadate-primary-light: #2d5a3d;
    --kiadate-secondary: #c4a747;
    --kiadate-dark: #0d2818;
    --kiadate-text: #333;
    --kiadate-muted: #999;
}

/* ====== BODY & GENERAL ====== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--kiadate-text);
    line-height: 1.6;
}

/* ====== HERO SECTION ====== */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 40, 24, 0.3);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-section .display-3 {
    font-size: 3.5rem;
}

@media (max-width: 768px) {
    .hero-section .display-3 {
        font-size: 2.5rem;
    }
}

/* ====== NAVBAR CUSTOM ====== */
.custom-navbar {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.custom-navbar.affix {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.navbar-brand {
    font-weight: 700;
    color: var(--kiadate-primary) !important;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    margin-right: 0.5rem;
    border-radius: 50%;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--kiadate-text) !important;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--kiadate-secondary) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====== CARDS & SECTIONS ====== */
.card {
    border: none;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.product-card {
    overflow: hidden;
    border-radius: 8px;
}

.product-card img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.08);
}

/* ====== BUTTONS ====== */
.btn-warning {
    background: var(--kiadate-secondary);
    border-color: var(--kiadate-secondary);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background: #b8932e;
    border-color: #b8932e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 167, 71, 0.3);
}

.btn-outline-light {
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--kiadate-secondary);
    border-color: var(--kiadate-secondary);
}

/* ====== BADGES ====== */
.badge {
    font-weight: 500;
    font-size: 0.9rem;
}

.badge-light {
    background: #f0f0f0;
    color: var(--kiadate-primary);
}

/* ====== TEXT UTILITIES ====== */
.text-warning {
    color: var(--kiadate-secondary) !important;
}

.text-muted {
    color: var(--kiadate-muted) !important;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

/* ====== SECTIONS ====== */
section {
    padding: 60px 0;
}

.bg-light {
    background: #f8f9fa !important;
}

.bg-dark {
    background: #2a2a2a !important;
}

section h2 {
    color: var(--kiadate-primary);
    margin-bottom: 2rem;
    font-weight: 700;
}

section h3,
section h4,
section h5 {
    color: var(--kiadate-primary);
    font-weight: 600;
}

/* ====== IMAGES ====== */
img {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: 8px;
}

.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* ====== FOOTER ====== */
footer {
    background: #1a1a1a !important;
}

footer h5,
footer h6 {
    color: white;
    font-weight: 600;
}

footer a {
    color: var(--kiadate-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--kiadate-secondary);
}

footer .text-muted {
    color: #999 !important;
}

/* ====== FORMS ====== */
.form-control {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--kiadate-secondary);
    box-shadow: 0 0 0 0.2rem rgba(196, 167, 71, 0.25);
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-invalid:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

label {
    color: var(--kiadate-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* ====== LISTS ====== */
.list-unstyled li {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.list-unstyled i {
    color: var(--kiadate-secondary);
    margin-right: 0.5rem;
}

/* ====== ANIMATIONS ====== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 992px) {
    section {
        padding: 40px 0;
    }
    
    .navbar-brand span {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 400px;
        text-align: center;
    }
    
    .hero-section .display-3 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    section {
        padding: 30px 0;
    }
    
    .col-lg-6,
    .col-md-3,
    .col-md-4,
    .col-md-6 {
        margin-bottom: 1.5rem;
    }
}

/* ====== UTILITY CLASSES ====== */
.text-decoration-none {
    text-decoration: none !important;
}

.text-sm {
    font-size: 0.875rem;
}

.pt-8 {
    padding-top: 8rem;
}

.pb-8 {
    padding-bottom: 8rem;
}

.pt-6 {
    padding-top: 6rem;
}

.pb-6 {
    padding-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.py-5 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.gap-3 {
    gap: 1rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 600;
    color: var(--kiadate-primary);
}

/* ====== DISPLAY ====== */
.display-2,
.display-3,
.display-4 {
    font-weight: 700;
    color: var(--kiadate-primary);
}

.text-warning {
    color: var(--kiadate-secondary) !important;
}

/* ====== POSITION FIXED ALERTS ====== */
.position-fixed {
    position: fixed !important;
}

/* ====== SCROLLBAR STYLING ====== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--kiadate-secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b8932e;
}

/* ====== ACCESSIBILITY ====== */
a:focus,
button:focus {
    outline: 2px solid var(--kiadate-secondary);
    outline-offset: 2px;
}

/* ====== PRINT STYLES ====== */
@media print {
    .navbar,
    footer,
    .btn {
        display: none;
    }
    
    body {
        background: white;
    }
}
