/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #dc2626;
    --primary-red-hover: #b91c1c;
    --primary-red-light: #fef2f2;
    --background-white: #ffffff;
    --background-gray: #f8fafc;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --text-gray-light: #94a3b8;
    
    /* Border and shadow */
    --border-color: #e2e8f0;
    --border-color-light: #f1f5f9;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Smooth Background with Subtle Movement */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--background-white);
    font-size: 16px;
    overflow-x: hidden;
    position: relative;
}

/* Subtle Parallax Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at 70% 30%, rgba(220, 38, 38, 0.02) 0%, transparent 50%);
    animation: subtleParallax 30s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes subtleParallax {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-2%, -1%); }
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Clean Header with Micro-Interactions */
.header {
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 0;
}

.navigation {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-red-light);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.nav-link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
    transform: translateY(-1px);
}

/* Main Content */
.main-content {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Hero Section with Elegant Reveal */
.hero-section {
    text-align: center;
    padding: 6rem 0;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.95) 100%),
        radial-gradient(circle at 50% 50%, rgba(220, 38, 38, 0.03) 0%, transparent 70%);
    margin: 0 -2rem;
    margin-bottom: 4rem;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.3) 49%, rgba(255, 255, 255, 0.3) 51%, transparent 52%);
    animation: elegantShine 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes elegantShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Typography with Smooth Reveals */
.main-title {
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1;
    text-align: center;
    letter-spacing: -0.02em;
    position: relative;
    opacity: 0;
    animation: smoothReveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

@keyframes smoothReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.highlight {
    color: var(--primary-red);
    position: relative;
    display: inline-block;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-red);
    transform: scaleX(0);
    transform-origin: left;
    animation: underlineGrow 1s cubic-bezier(0.4, 0, 0.2, 1) 1.5s forwards;
}

@keyframes underlineGrow {
    to { transform: scaleX(1); }
}

.main-subtitle {
    font-size: 1.6rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-style: italic;
    opacity: 0;
    animation: smoothReveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

.main-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
    opacity: 0;
    animation: smoothReveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) 1s forwards;
}

/* Logo Section with Sophisticated Hover Effects */
.logos-section {
    padding: 2rem 0 4rem;
    position: relative;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.logo-item {
    background: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    animation: staggeredReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.logo-item:nth-child(1) {
    animation-delay: 0.3s;
}

.logo-item:nth-child(2) {
    animation-delay: 0.5s;
}

@keyframes staggeredReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(220, 38, 38, 0.02) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.logo-item:hover::before {
    opacity: 1;
}

.logo-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.12);
    border-color: rgba(220, 38, 38, 0.2);
}

.logo-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 2;
}

.logo-image-container {
    padding: 2rem;
    text-align: center;
    position: relative;
}

.service-logo {
    max-width: 120px;
    height: auto;
    margin: 0 auto;
    display: block;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(0.1);
}

.logo-item:hover .service-logo {
    transform: scale(1.05);
    filter: grayscale(0);
}

.logo-fallback {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-red-light), rgba(220, 38, 38, 0.08));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-item:hover .logo-fallback {
    background: linear-gradient(135deg, var(--primary-red-light), rgba(220, 38, 38, 0.15));
    transform: scale(1.05);
}

.transport-fallback svg,
.radio-fallback svg {
    fill: var(--primary-red);
    transition: all 0.3s ease;
}

.logo-item:hover .transport-fallback svg,
.logo-item:hover .radio-fallback svg {
    transform: scale(1.1);
}

.fallback-text {
    font-size: 0.75rem;
    color: var(--text-gray-light);
    margin-top: 0.5rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.logo-item:hover .fallback-text {
    opacity: 1;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 1rem 0 0.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.logo-item:hover .service-title::after {
    width: 60px;
}

.service-description {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
    padding: 0 1rem 1.5rem;
    transition: all 0.3s ease;
}

.logo-link:hover .service-title {
    color: var(--primary-red);
    transform: translateY(-2px);
}

.logo-link:hover .service-description {
    color: var(--text-dark);
}

/* CTA Section with Subtle Motion */
.cta-section {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.5) 0%, rgba(255, 255, 255, 0.8) 100%);
    margin: 0 -2rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.03) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: gentlePulse 4s ease-in-out infinite;
}

@keyframes gentlePulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.cta-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.cta-subtext {
    font-size: 1rem;
    color: var(--text-gray);
    position: relative;
    z-index: 2;
}

/* Clean Footer */
.footer {
    background: var(--background-white);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.footer-section:hover h3 {
    color: var(--primary-red);
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.footer-section p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-section a {
    color: var(--primary-red);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.footer-section a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-red);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-section a:hover::after {
    width: 100%;
}

.footer-section a:hover {
    color: var(--primary-red-hover);
    transform: translateY(-1px);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-red-light);
    color: var(--primary-red);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-red);
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.social-links a:hover::before {
    transform: scale(1);
}

.social-links a:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-gray-light);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 0.75rem 1rem;
    }

    .navigation {
        gap: 1rem;
    }

    .main-content {
        padding: 0 1rem;
    }

    .hero-section {
        padding: 4rem 0;
        margin: 0 -1rem;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .main-subtitle {
        font-size: 1.3rem;
    }

    .main-description {
        font-size: 1.1rem;
    }

    .logo-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .logo-link {
        padding: 1.5rem;
    }

    .service-title {
        font-size: 1.3rem;
    }

    .cta-section {
        margin: 0 -1rem;
    }

    .footer-content {
        padding: 0 1rem;
    }

    .footer-bottom {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
        line-height: 1.1;
    }

    .main-subtitle {
        font-size: 1.1rem;
    }

    .main-description {
        font-size: 1rem;
    }

    .logo-grid {
        gap: 1.5rem;
    }

    .logo-link {
        padding: 1rem;
    }

    .logo-image-container {
        padding: 1.5rem;
    }

    .service-logo {
        max-width: 100px;
    }

    .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.nav-link:focus {
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}

/* Page Load Animation */
.container {
    opacity: 0;
    animation: pageEnter 1s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards;
}

@keyframes pageEnter {
    to {
        opacity: 1;
    }
} 