/* ============================================ */
/* CUSTOM-STYLES.CSS - TANGAZA MINERALS */
/* Complete Custom Stylesheet for Bootstrap Site */
/* ============================================ */

/* ============================================ */
/* GLOBAL STYLES */
/* ============================================ */

:root {
    --primary-gold: #ffc107;
    --dark-gold: #e0a800;
    --darker-gold: #d39e00;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* ============================================ */
/* NAVIGATION */
/* ============================================ */

.navbar {
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-gold) !important;
}

.navbar-nav .nav-link.active {
    color: var(--primary-gold) !important;
    border-bottom: 2px solid var(--primary-gold);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ============================================ */
/* HERO SECTION */
/* ============================================ */

.hero-section {
    position: relative;
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('Images/12.png') center/cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-in-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================ */
/* PAGE HEADER */
/* ============================================ */

.page-header {
    padding: 150px 0 80px;
    margin-top: 56px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header .lead {
    color: var(--primary-gold);
    font-size: 1.3rem;
}

/* ============================================ */
/* STATS SECTION */
/* ============================================ */

.stat-item {
    padding: 20px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
}

.stat-item h2 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ============================================ */
/* CARDS */
/* ============================================ */

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.card-title {
    color: var(--text-dark);
    font-weight: 600;
}

.card-text {
    color: var(--text-muted);
}

/* Feature Cards */
.feature-icon {
    margin-bottom: 1rem;
}

/* ============================================ */
/* PROCESS SECTION */
/* ============================================ */

.process-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.process-card:hover::before {
    transform: scaleX(1);
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 25px rgba(255, 193, 7, 0.3);
}

.process-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--primary-gold);
    color: #000;
    border-radius: 50%;
    line-height: 50px;
    font-weight: bold;
    font-size: 1.5rem;
    text-align: center;
}

/* ============================================ */
/* TIMELINE */
/* ============================================ */

.timeline-item {
    padding-left: 20px;
    border-left: 3px solid var(--primary-gold);
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--primary-gold);
    border-radius: 50%;
}

.timeline-badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    min-width: 80px;
    text-align: center;
    font-weight: 600;
}

/* ============================================ */
/* CERTIFICATIONS */
/* ============================================ */

.cert-badge {
    padding: 30px;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.cert-badge:hover {
    transform: scale(1.05);
    background-color: var(--bg-light);
}

.cert-badge i {
    display: block;
    margin-bottom: 1rem;
}

/* ============================================ */
/* FINANCIAL CARDS */
/* ============================================ */

.financial-card {
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-gold);
}

.financial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1) !important;
}

.financial-card h3 {
    color: var(--primary-gold);
}

/* ============================================ */
/* SAFETY STATS */
/* ============================================ */

.safety-stat {
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--primary-gold);
    transition: all 0.3s ease;
}

.safety-stat:hover {
    background: #fff;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.safety-stat h3 {
    margin-bottom: 0.5rem;
}

/* ============================================ */
/* ACCORDION */
/* ============================================ */

.accordion-button {
    font-weight: 600;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    background-color: #fff3cd;
    color: #000;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-gold);
}

.accordion-button::after {
    filter: brightness(0);
}

.accordion-item {
    border: 1px solid rgba(0,0,0,0.125);
    margin-bottom: 10px;
    border-radius: 8px !important;
    overflow: hidden;
}

.accordion-body {
    padding: 1.5rem;
}

/* ============================================ */
/* BUTTONS */
/* ============================================ */

.btn {
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.btn-warning {
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #000;
}

.btn-warning:hover {
    background-color: var(--dark-gold);
    border-color: var(--darker-gold);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

.btn-outline-warning {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.btn-outline-warning:hover {
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #000;
    transform: translateY(-2px);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

.btn-dark:hover {
    transform: translateY(-2px);
}

.btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

/* ============================================ */
/* FORMS */
/* ============================================ */

.form-control,
.form-select {
    border-radius: 5px;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-check-input:checked {
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
}

.form-check-input:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
}

/* ============================================ */
/* BADGES */
/* ============================================ */

.badge {
    font-weight: 600;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.bg-warning {
    background-color: var(--primary-gold) !important;
    color: #000 !important;
}

/* ============================================ */
/* TEXT UTILITIES */
/* ============================================ */

.text-warning {
    color: var(--primary-gold) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
}

/* ============================================ */
/* SOCIAL LINKS */
/* ============================================ */

.social-links a {
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: var(--primary-gold) !important;
    transform: translateY(-3px);
}

/* ============================================ */
/* FOOTER */
/* ============================================ */

footer {
    background-color: #212529;
}

footer h5,
footer h6 {
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

footer a {
    color: #dee2e6;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer .border-secondary {
    border-color: rgba(255,255,255,0.1) !important;
}

/* ============================================ */
/* MAP PLACEHOLDER */
/* ============================================ */

.map-placeholder {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* ============================================ */
/* IMAGES */
/* ============================================ */

img {
    max-width: 100%;
    height: auto;
}

.img-fluid {
    border-radius: 10px;
}

/* ============================================ */
/* SHADOWS */
/* ============================================ */

.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;
}

/* ============================================ */
/* SPACING UTILITIES */
/* ============================================ */

section {
    position: relative;
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

/* ============================================ */
/* LIST STYLES */
/* ============================================ */

.list-unstyled li {
    padding: 0.3rem 0;
}

ul li {
    line-height: 1.8;
}

/* ============================================ */
/* ANIMATIONS */
/* ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ============================================ */
/* RESPONSIVE DESIGN */
/* ============================================ */

/* Tablets and below */
@media (max-width: 991px) {
    .hero-section {
        height: 80vh;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .page-header {
        padding: 120px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}

/* Mobile devices */
@media (max-width: 767px) {
    .hero-section {
        height: 70vh;
        background-attachment: scroll;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .page-header {
        padding: 100px 0 50px;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .stat-item h2 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
    
    .navbar-nav {
        padding-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .process-card {
        margin-bottom: 1rem;
    }
}

/* Extra small devices */
@media (max-width: 575px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/* ============================================ */
/* PRINT STYLES */
/* ============================================ */

@media print {
    .navbar,
    footer,
    .btn,
    .social-links {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    .page-header {
        padding: 20px 0;
        margin-top: 0;
    }
}

/* ============================================ */
/* ACCESSIBILITY */
/* ============================================ */

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

/* Skip to main content link */
.skip-to-main {
    position: absolute;
    left: -9999px;
    z-index: 999;
}

.skip-to-main:focus {
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
}

/* ============================================ */
/* UTILITY CLASSES */
/* ============================================ */

.text-gold {
    color: var(--primary-gold) !important;
}

.bg-gold {
    background-color: var(--primary-gold) !important;
}

.border-gold {
    border-color: var(--primary-gold) !important;
}

.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* ============================================ */
/* LOADING ANIMATION */
/* ============================================ */

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,193,7,.3);
    border-radius: 50%;
    border-top-color: var(--primary-gold);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
/* ============================================ */
/* MAP PLACEHOLDER */
/* ============================================ */

.map-placeholder {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* ============================================ */
/* CAROUSEL/SLIDER */
/* ============================================ */

.carousel {
    margin: 0 auto;
}

.carousel-inner {
    border-radius: 15px;
    overflow: hidden;
}

.carousel-item {
    height: 600px;
    position: relative;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.carousel-caption {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    text-align: center;
}

.carousel-caption h3 {
    font-size: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    margin-bottom: 0.5rem;
}

.carousel-caption p {
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(255, 193, 7, 0.8);
    border-radius: 50%;
    padding: 0.5rem;
}

.carousel-indicators {
    margin-bottom: 1rem;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--primary-gold);
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: var(--primary-gold);
    width: 40px;
    border-radius: 6px;
}

/* Carousel Animation */
.carousel-item {
    transition: transform 0.6s ease-in-out;
}

/* ============================================ */
/* IMAGES */
/* ============================================ */

img {
    max-width: 100%;
    height: auto;
}

.img-fluid {
    border-radius: 10px;
}

/* ============================================ */
/* SHADOWS */
/* ============================================ */

.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;
}

/* ============================================ */
/* SPACING UTILITIES */
/* ============================================ */

section {
    position: relative;
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

/* ============================================ */
/* LIST STYLES */
/* ============================================ */

.list-unstyled li {
    padding: 0.3rem 0;
}

ul li {
    line-height: 1.8;
}

/* ============================================ */
/* ANIMATIONS */
/* ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ============================================ */
/* RESPONSIVE DESIGN */
/* ============================================ */

/* Tablets and below */
@media (max-width: 991px) {
    .hero-section {
        height: 80vh;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .page-header {
        padding: 120px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}

/* Mobile devices */
@media (max-width: 767px) {
    .hero-section {
        height: 70vh;
        background-attachment: scroll;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .page-header {
        padding: 100px 0 50px;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .stat-item h2 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
    
    .navbar-nav {
        padding-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .process-card {
        margin-bottom: 1rem;
    }

    /* Carousel Mobile Adjustments */
    .carousel-item {
        height: 400px;
    }

    .carousel-caption h3 {
        font-size: 1.3rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
        display: none;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 2rem;
        height: 2rem;
    }

    .carousel-indicators [data-bs-target] {
        width: 8px;
        height: 8px;
    }

    .carousel-indicators .active {
        width: 24px;
    }
}

/* Extra small devices */
@media (max-width: 575px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/* ============================================ */
/* PRINT STYLES */
/* ============================================ */

@media print {
    .navbar,
    footer,
    .btn,
    .social-links {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    .page-header {
        padding: 20px 0;
        margin-top: 0;
    }
}

/* ============================================ */
/* ACCESSIBILITY */
/* ============================================ */

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

/* Skip to main content link */
.skip-to-main {
    position: absolute;
    left: -9999px;
    z-index: 999;
}

.skip-to-main:focus {
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
}

/* ============================================ */
/* UTILITY CLASSES */
/* ============================================ */

.text-gold {
    color: var(--primary-gold) !important;
}

.bg-gold {
    background-color: var(--primary-gold) !important;
}

.border-gold {
    border-color: var(--primary-gold) !important;
}

.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* ============================================ */
/* LOADING ANIMATION */
/* ============================================ */

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,193,7,.3);
    border-radius: 50%;
    border-top-color: var(--primary-gold);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
/* ============================================ */
/* END OF STYLESHEET */
/* ============================================ */