:root {
    --primary-color: #2c3e50;
    --primary-dark: #1a252f;
    --accent-color: #ffc107;
    --secondary-color: #f8f9fa;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.hero-section {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

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

.navbar {
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

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

.navbar-brand:hover {
    transform: scale(1.05);
    color: var(--primary-dark) !important;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.feature-card {
    transition: var(--transition);
    border-radius: 1rem;
    overflow: hidden;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 1rem;
}

.btn {
    font-weight: 600;
    border-radius: 0.5rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-light:hover {
    background: transparent;
    border-color: white;
    color: white;
}

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

.btn-warning {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #000;
    font-weight: 600;
}

.btn-warning:hover {
    background: #ffb300;
    border-color: #ffb300;
    color: #000;
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-delay {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.fade-in-delay-2 {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

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

.hover-link {
    transition: var(--transition);
}

.hover-link:hover {
    color: white !important;
    padding-left: 5px;
}

.product-card {
    transition: var(--transition);
    border-radius: 1rem;
    overflow: hidden;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.product-card img {
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-card .card-img-top {
    overflow: hidden;
}

.contact-form .form-control,
.contact-form .form-select {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 2px solid #e9ecef;
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.1);
}

.stats-section {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: white;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 0;
    }

    .stat-number {
        font-size: 2rem;
    }
}

.page-header {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    padding: 6rem 0 4rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

img {
    max-width: 100%;
    height: auto;
}

.shadow-soft {
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.1);
}
