/*
=======================================================
IronPast.eu – Modern corporate style
Color Palette: Steel blue (#1E3A8A), Grey (#6B7280), White
New: Smooth animations, modern shadows, glow buttons
=======================================================
*/

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #fff;
    color: #1f2937;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Smooth background animation */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(-45deg, #1e3a8a, #3b82f6, #6b7280, #1e40af);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    opacity: 0.05;
}

/* Enhanced Header */
header {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    padding: 1rem 0;
    transition: background 0.5s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-container img {
    height: 40px;
    filter: drop-shadow(0 0 5px rgba(30, 58, 138, 0.3));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
    position: relative;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: #93c5fd;
}

/* Glow Effect Under Links */
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #60a5fa, #3b82f6);
    transition: width 0.3s ease;
}

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

.language-switcher button {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(30, 58, 138, 0.5);
}

.language-switcher button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
}

/* Main Area With Parallax */
main {
    margin-top: 80px;
}

/* Hero Section with Enhanced Visual Effects */
.hero {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9), rgba(59, 130, 246, 0.8)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="100" fill="white" opacity="0.02"/></svg>');
    background-blend-mode: overlay;
    color: white;
    padding: 10rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, rgba(255, 255, 255, 0.05) 100%);
    animation: floatEffect 10s infinite alternate;
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
}

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

/* CTA Button Enhancements */
.cta-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #1e3a8a;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    z-index: -1;
    transition: transform 0.5s ease;
    transform: scaleX(0);
    transform-origin: right;
}

.cta-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.cta-btn:hover {
    color: white;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.7);
}

/* Service Cards With Flip Effect */
.services {
    padding: 6rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.6s ease, box-shadow 0.6s ease;
    position: relative;
    overflow: hidden;
    height: 350px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #1e40af, #3b82f6);
}

.service-card:hover {
    transform: translateY(-15px) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    font-size: 1.6rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.service-card p {
    color: #6b7280;
    transition: transform 0.3s ease;
}

.service-card:hover h3, .service-card:hover p {
    transform: translateY(-10px);
}

/* Contact Section */
.contact-section {
    padding: 6rem 2rem;
    background: white;
}

/* Enhanced Form */
.form-row {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

input, textarea, select {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

/* Drag & Drop Zone for Files */
.drop-zone {
    border: 3px dashed #3b82f6;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.drop-zone:hover {
    background: #eff6ff;
    border-color: #1e40af;
    transform: translateY(-5px);
}

.drop-zone.active {
    background: #dbeafe;
    border-color: #1e40af;
}

.submit-btn {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.4);
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.6);
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Footer */
footer {
    background-color: #1f2937;
    color: white;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.wave-separator {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
}