/* ================================
   BATECH - Premium Styles
   Engineering Excellence Since 1997
   ================================ */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* ================================
   Navigation
   ================================ */

#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

#navbar.scrolled .nav-logo {
    color: #0c1929;
}

#navbar.scrolled .nav-link {
    color: #1e293b;
}

#navbar.scrolled .nav-link:hover {
    color: #0891b2;
}

.nav-link {
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.nav-link:hover {
    color: #22d3ee;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #b8860b;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.lang-btn {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    opacity: 0.6;
}

.lang-btn:hover {
    opacity: 1;
}

.lang-btn.active {
    opacity: 1;
    color: #d4a853;
}

#navbar.scrolled .lang-btn {
    color: #1e293b;
}

#navbar.scrolled .lang-btn.active {
    color: #b8860b;
}

.mobile-nav-link {
    display: block;
    color: white;
    font-weight: 500;
    padding: 12px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link:hover {
    color: #22d3ee;
    padding-left: 10px;
}

.lang-btn-mobile {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    opacity: 0.6;
}

.lang-btn-mobile:hover {
    opacity: 1;
}

.lang-btn-mobile.active {
    opacity: 1;
    color: #d4a853;
}

/* ================================
   Hero Section
   ================================ */

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(12, 25, 41, 0.4) 0%,
        rgba(12, 25, 41, 0.7) 100%
    );
}

/* ================================
   Buttons
   ================================ */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background: linear-gradient(135deg, #b8860b 0%, #d4a853 100%);
    color: white;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(184, 134, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(184, 134, 11, 0.4);
    background: linear-gradient(135deg, #d4a853 0%, #b8860b 100%);
}

/* ================================
   Service Cards
   ================================ */

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #b8860b;
}

.service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-content {
    padding: 32px 24px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e5f94 0%, #2563eb 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 24px;
}

/* ================================
   Expertise Items
   ================================ */

.expertise-item {
    display: flex;
    align-items: center;
    padding: 24px;
    background: white;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.expertise-item:hover {
    border-color: #0891b2;
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(8, 145, 178, 0.15);
}

.expertise-item i {
    font-size: 24px;
    color: #0891b2;
    margin-right: 16px;
    min-width: 30px;
}

.expertise-item span {
    font-weight: 500;
    color: #1e293b;
    line-height: 1.5;
}

/* ================================
   About Section
   ================================ */

.about-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.value-card {
    text-align: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

/* ================================
   Process Steps
   ================================ */

.process-step {
    text-align: center;
    position: relative;
    padding: 32px 24px;
    background: white;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.4s ease;
}

.process-step:hover {
    border-color: #b8860b;
    box-shadow: 0 8px 30px rgba(184, 134, 11, 0.15);
    transform: translateY(-4px);
}

.process-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1e5f94 0%, #2563eb 100%);
    color: white;
    font-size: 32px;
    font-weight: 700;
    font-family: 'Playfair Display', Georgia, serif;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 4px 20px rgba(30, 95, 148, 0.3);
}

/* ================================
   Statistics Counter
   ================================ */

.stat-item {
    padding: 20px;
}

/* ================================
   Animations
   ================================ */

.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

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

.slide-up {
    animation: slideUp 0.8s ease forwards;
}

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

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* ================================
   Form Styles
   ================================ */

input:focus,
textarea:focus,
select:focus {
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: #94a3b8;
}

/* Form Messages */
.form-success {
    background: #d1fae5;
    border: 1px solid #34d399;
    color: #065f46;
}

.form-error {
    background: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

/* ================================
   Responsive Design
   ================================ */

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .service-card {
        margin-bottom: 24px;
    }
    
    .process-step {
        margin-bottom: 24px;
    }
}

/* ================================
   Utility Classes
   ================================ */

.text-balance {
    text-wrap: balance;
}

/* ================================
   Intersection Observer Classes
   ================================ */

.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   Loading States
   ================================ */

.loading {
    pointer-events: none;
    opacity: 0.6;
}

/* ================================
   Smooth Scrollbar
   ================================ */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #0891b2;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #06b6d4;
}
