/* MecaHub Landing Page Styles */

:root {
    --primary-color: #7E7E82;
    --secondary-color: #ED6A02;
    --dark-color: #212529;
    --gradient-start: #FEA20E;
    --gradient-end: #DF4500;
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(33, 37, 41, 0.95) !important;
}

.navbar-brand {
    font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a1a2e 100%);
    padding-top: 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23ffffff10"/></svg>');
    background-size: 50px 50px;
    opacity: 0.5;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Hero Animations */
.text-gradient {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    opacity: 0;
    animation: slideInLeft 0.8s ease forwards;
}

.hero-subtitle {
    opacity: 0;
    animation: slideInLeft 0.8s ease 0.2s forwards;
}

.hero-text {
    opacity: 0;
    animation: slideInLeft 0.8s ease 0.4s forwards;
}

.hero-buttons {
    opacity: 0;
    animation: slideInLeft 0.8s ease 0.6s forwards;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    animation: floatImage 4s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(254, 162, 14, 0.3));
}

.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(254, 162, 14, 0.2) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
    z-index: -1;
}

.btn-glow {
    animation: btnGlow 2s ease-in-out infinite;
}

/* Floating Background Elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.floating-gear {
    position: absolute;
    color: rgba(254, 162, 14, 0.15);
    font-size: 4rem;
    animation: rotate 20s linear infinite;
}

.gear-1 { top: 10%; left: 5%; font-size: 5rem; animation-duration: 25s; }
.gear-2 { top: 60%; left: 15%; font-size: 3rem; animation-duration: 18s; animation-direction: reverse; }
.gear-3 { top: 30%; right: 10%; font-size: 6rem; animation-duration: 30s; }

.floating-wrench {
    position: absolute;
    color: rgba(223, 69, 0, 0.1);
    font-size: 3rem;
    animation: floatElement 6s ease-in-out infinite;
}

.wrench-1 { bottom: 20%; left: 8%; animation-delay: 0s; }
.wrench-2 { top: 15%; right: 20%; font-size: 2.5rem; animation-delay: 2s; }

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(254, 162, 14, 0.1), rgba(223, 69, 0, 0.1));
    animation: floatCircle 8s ease-in-out infinite;
}

.circle-1 { width: 200px; height: 200px; top: -50px; right: -50px; animation-delay: 0s; }
.circle-2 { width: 150px; height: 150px; bottom: 10%; left: 30%; animation-delay: 2s; }
.circle-3 { width: 100px; height: 100px; top: 40%; right: 25%; animation-delay: 4s; }

/* Keyframes */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes floatImage {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

@keyframes btnGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(254, 162, 14, 0.4); }
    50% { box-shadow: 0 0 40px rgba(254, 162, 14, 0.8); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes floatElement {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

@keyframes floatCircle {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-10px, 10px) scale(0.95); }
}

/* Feature Cards */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 16px;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.feature-card .badge {
    font-size: 0.75rem;
    padding: 0.5em 1em;
    border-radius: 20px;
}

.feature-card ul li {
    font-size: 0.9rem;
    color: #6c757d;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(223, 69, 0, 0.4);
}

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

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

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

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

.btn-outline-primary {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
}

.btn-outline-light {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
}

/* Footer */
footer a {
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--secondary-color) !important;
}

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

.feature-card {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* About Section */
#about {
    background: #fff;
}

.about-image-wrapper {
    position: relative;
}

.about-image-bg {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 20px;
    opacity: 0.1;
    z-index: -1;
}

.stat-card {
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)) !important;
}

.about-check-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-card {
    background: #fff;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.contact-form-wrapper {
    border: 1px solid #eee;
}

.form-control, .form-select {
    border: 2px solid #eee;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--gradient-start);
    box-shadow: 0 0 0 0.2rem rgba(254, 162, 14, 0.15);
}

.form-label {
    font-weight: 600;
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding-top: 100px;
    }

    .hero-section .d-flex {
        justify-content: center;
    }

    .contact-info {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .contact-card {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 150px;
    }
}

