/* Modern Enhancements for Thinkmine Site */

/* Smooth Transitions */
.card, .btn, .nav-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Card Hover Effects */
.hover-top:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

/* Smooth color transitions for icon backgrounds */
.bg-primary-light,
.bg-success-light,
.bg-warning-light,
.bg-info-light {
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.card:hover .bg-primary-light {
    background-color: rgba(0, 138, 255, 0.3);
}

.card:hover .bg-success-light {
    background-color: rgba(45, 202, 140, 0.3);
}

.card:hover .bg-warning-light {
    background-color: rgba(255, 159, 28, 0.3);
}

.card:hover .bg-info-light {
    background-color: rgba(80, 181, 255, 0.3);
}

/* Button enhancements */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Section heading spacing */
.section-heading {
    margin-bottom: 3rem;
}

/* Improved image shadows */
.shadow-lg,
.card.shadow-lg {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07) !important;
}

.shadow-sm,
.card.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}

/* Smooth animations for sections */
.section {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Better rounded corners on images */
.rounded {
    border-radius: 0.75rem !important;
}

/* Icon circle enhancements */
[class*="rounded-circle"] {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover [class*="rounded-circle"] {
    transform: scale(1.1);
}

/* Better spacing for lists */
.list-unstyled li {
    padding: 0.5rem 0;
}

/* Link hover effects */
a.text-decoration-none:hover {
    color: var(--bs-primary) !important;
}

/* Skill bar animations */
.skill-bar-in {
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Quote/Testimonial styling */
blockquote {
    position: relative;
}

/* Better hero section overlay */
.mask.bg-dark {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.mask.bg-black-gradient {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
}

/* Responsive spacing improvements */
@media (min-width: 992px) {
    .min-vh-50 {
        min-height: 50vh;
    }
    
    .min-vh-60 {
        min-height: 60vh;
    }
}

@media (max-width: 991px) {
    .min-vh-50,
    .min-vh-60 {
        min-height: auto;
        padding: 4rem 0;
    }
}

/* Better gap spacing */
.g-4 {
    --bs-gutter-y: 1.5rem;
}

/* Alert styling improvements */
.alert {
    border-left: 4px solid;
    border-radius: 0.5rem;
}

.alert-warning {
    border-left-color: #ff9f1c;
    background-color: rgba(255, 159, 28, 0.1);
}

/* Card improvements */
.card {
    overflow: hidden;
    border-radius: 0.75rem;
}

.card-img-top {
    transition: transform 0.5s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Better text contrast */
.text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Font weight helper */
.font-weight-bold {
    font-weight: 600 !important;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Better form focus states */
.form-control:focus,
.form-select:focus {
    border-color: #008aff;
    box-shadow: 0 0 0 0.25rem rgba(0, 138, 255, 0.15);
}

/* Improved button spacing */
.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

/* Better nav link styling */
.nav-tabs .nav-link {
    border-radius: 0.75rem 0.75rem 0 0;
    font-weight: 500;
}

.nav-tabs .nav-link:hover {
    background-color: rgba(0, 138, 255, 0.05);
}

/* Enhanced display headings */
.display-3 {
    font-weight: 700;
    line-height: 1.2;
}

/* Better lead text */
.lead {
    font-weight: 400;
    line-height: 1.6;
}

/* Section padding consistency */
.section {
    padding: 5rem 0;
}

@media (max-width: 767px) {
    .section {
        padding: 3rem 0;
    }
}

/* Improved container max-width for better alignment */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Better focus indicators for accessibility */
a:focus,
button:focus {
    outline: 2px solid #008aff;
    outline-offset: 2px;
}

/* Improved badge styling */
.rounded-pill {
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Better border styles */
.border-top {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

/* Icon sizing consistency */
.fa-lg {
    font-size: 1.33em;
}

.fa-2x {
    font-size: 2em;
}

.fa-3x {
    font-size: 3em;
}

/* Improved opacity utilities */
.opacity-25 {
    opacity: 0.25 !important;
}

.opacity-50 {
    opacity: 0.5 !important;
}

/* Better text alignment on mobile */
@media (max-width: 767px) {
    .text-center-mobile {
        text-align: center !important;
    }
}

/* Improved spacing helpers */
.pe-lg-5 {
    padding-right: 3rem !important;
}

.ps-lg-5 {
    padding-left: 3rem !important;
}

/* Better image responsiveness */
.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}
