/* EPIC Motorsports Marketing - Clean Components */
/* Minimal components inspired by WWP Group */

/* Header and Navigation - Clean Minimal Style */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo h1 {
    font-family: 'Inter', sans-serif;
    color: #000000;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 0;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.nav-logo:hover h1 {
    color: #dc143c;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    color: #000000;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
    background: linear-gradient(90deg, #dc143c 0%, #dc143c 50%, #000000 50%, #000000 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 0.6s ease;
}

.nav-links a:hover {
    background-position: 0% 0;
}

.nav-links a.active {
    font-weight: 900;
    color: #dc143c;
    background: #dc143c;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Language switch removed - keeping structure for potential future use */
.language-switch {
    display: none;
}

/* Mobile Navigation */
.nav-menu {
    display: none;
    align-items: center;
    gap: 10px;
    color: #000000;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
    height: 18px;
    margin-left: 12px;
}

.menu-icon span {
    width: 100%;
    height: 2px;
    background: #000000;
    transition: all 0.3s ease;
}

.menu-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-icon.active span:nth-child(2) {
    opacity: 0;
}

.menu-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    height: calc(100vh - 90px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 0;
}

.mobile-nav-links a {
    color: #000000;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.mobile-nav-links a:hover {
    opacity: 0.7;
}

/* Partner Logos Section - Clean Grid */
.partner-logos {
    background: #f8f8f8;
    padding: 160px 0;
    position: relative;
}

.partner-logos .section-title {
    font-size: clamp(3rem, 6vw, 6rem);
    color: #000000;
    margin-bottom: 100px;
    font-weight: 900;
    text-align: center;
    line-height: 0.9;
    text-transform: uppercase;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px 40px;
    align-items: center;
    justify-items: center;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    transition: all 0.3s ease;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    min-height: 120px;
    width: 100%;
}

.logo-item:hover {
    border-color: #000000;
    transform: translateY(-4px);
}

.placeholder-logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
}

.logo-item img {
    max-width: 160px;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(0%);
}

/* Service Cards - Clean List Style */
.service-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 60px 40px;
    transition: all 0.3s ease;
    text-align: left;
}

.service-card:hover {
    border-color: #000000;
    transform: translateY(-4px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: #ffffff;
}

.service-card h3 {
    color: #000000;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.service-card p {
    color: #666666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Project Cards - Clean Minimal */
.project-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: #000000;
}

.project-image {
    height: 300px;
    background: #f0f0f0;
    overflow: hidden;
}

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

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 40px;
}

.project-client {
    color: #0066ff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.project-card h3 {
    color: #000000;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.project-card p {
    color: #666666;
    line-height: 1.6;
}

/* News Cards - Clean Style */
.news-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card:hover {
    border-color: #000000;
}

.news-image {
    height: 220px;
    background: #f0f0f0;
    overflow: hidden;
}

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

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 40px;
}

.news-date {
    color: #0066ff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.news-card h3 {
    color: #000000;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    line-height: 1.4;
    font-weight: 700;
}

.news-excerpt {
    color: #666666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.read-more {
    color: #000000;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.read-more:hover {
    opacity: 0.7;
}

/* Footer - Clean and Minimal */
.footer {
    background: #000000;
    color: #ffffff;
    padding: 160px 0 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 80px;
}

.footer-section h3 {
    color: #ffffff;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p,
.footer-section li {
    color: #cccccc;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #cccccc;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #ffffff;
}

.office-info {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #333333;
}

.office-info h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #ffffff;
    color: #000000;
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-bottom p {
    color: #cccccc;
    margin: 0;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #cccccc;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav {
        padding: 20px 32px;
    }
    
    .logos-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .language-switch {
        display: none;
    }
    
    .nav-menu {
        display: flex;
    }
    
    .nav {
        padding: 20px 24px;
    }
    
    .logos-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
    
    .logo-item {
        padding: 30px 16px;
        min-height: 100px;
    }
    
    .partner-logos,
    .footer {
        padding: 80px 0 40px;
    }
    
    .footer-bottom {
        text-align: center;
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 16px;
    }
    
    .nav-logo h1 {
        font-size: 1.8rem;
    }
    
    .partner-logos,
    .footer {
        padding: 60px 0 30px;
    }
    
    .service-card,
    .project-content,
    .news-content {
        padding: 32px 24px;
    }
}