/* Custom CSS for THIQA MINING Bootstrap Website */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation Styles */
.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar-brand h2 {
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-video {
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-title {
    animation: fadeInUp 1s ease-out;
}

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

/* About Section */
.experience-badge {
    transform: translate(20px, 20px);
}

.feature-icon {
    transition: transform 0.3s ease;
}

.feature-icon:hover {
    transform: scale(1.1);
}

/* Services Section */
.service-card {
    transition: all 0.3s ease;
    border: none;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.service-img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-icon {
    backdrop-filter: blur(10px);
}

/* Projects Section */
.project-card {
    transition: all 0.3s ease;
    border: none;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.project-img {
    height: 200px;
    object-fit: cover;
}

/* Contact Section */
.contact-icon {
    transition: transform 0.3s ease;
}

.contact-icon:hover {
    transform: scale(1.1);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Button Styles */
.btn {
    transition: all 0.3s ease;
    font-weight: 500;
}

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

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-2px);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

/* Card Animations */
.card {
    transition: all 0.3s ease;
}

/* Footer */
footer a:hover {
    color: white !important;
    transition: color 0.3s ease;
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem !important;
    }
    
    .display-4 {
        font-size: 2.5rem !important;
    }
    
    .experience-badge {
        position: static !important;
        transform: none !important;
        margin-top: 2rem;
        display: inline-block;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .display-4 {
        font-size: 2rem !important;
    }
    
    .lead {
        font-size: 1.1rem !important;
    }
}

/* Loading Animation */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Badge Colors */
.badge.bg-warning {
    background-color: var(--warning-color) !important;
    color: var(--dark-color) !important;
}

.badge.bg-info {
    background-color: var(--info-color) !important;
    color: var(--dark-color) !important;
}

/* Enhanced Shadow Effects */
.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Custom List Styles */
.list-unstyled li {
    margin-bottom: 0.5rem;
}

/* Icon Enhancements */
.bi {
    transition: all 0.3s ease;
}

/* Navbar Active State Enhancement */
.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Enhanced Hover Effects for Social Links */
footer .d-flex a:hover {
    transform: translateY(-3px);
    transition: transform 0.3s ease;
}

/* Form Enhancement */
.form-floating > label {
    color: var(--secondary-color);
}

/* Video Responsiveness */
@media (max-width: 768px) {
    .hero-video {
        height: 100vh;
        width: auto;
        min-width: 100%;
    }
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn {
        display: none !important;
    }
    
    .hero-section {
        height: auto !important;
        padding: 2rem 0;
    }
    
    .hero-video,
    .hero-overlay {
        display: none !important;
    }
}
