/* 5 Page Layout Specific Styles */

/* Company Intro Section */
.company-intro {
    padding: 120px 0;
    background: var(--bg-dark);
}

.intro-content {
    max-width: 900px;
    margin: 60px auto 0;
    text-align: center;
}

.intro-text h3 {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

.intro-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.intro-features {
    display: flex;
    gap: 80px;
    margin: 60px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-item {
    text-align: center;
}

.feature-item .feature-number {
    display: block;
    font-size: 42px;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 15px;
    line-height: 1;
    letter-spacing: -0.02em;
}

.feature-item .feature-text {
    font-size: 18px;
    color: var(--text-gray);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: var(--primary-red);
    color: white;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.btn-more::after {
    content: '→';
    display: inline-block;
    animation: arrowMove 2s ease-in-out infinite;
}

@keyframes arrowMove {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(8px);
    }
}

.btn-more:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 51, 51, 0.3);
}

.btn-more:hover::after {
    animation-play-state: paused;
    transform: translateX(10px);
}

.intro-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.intro-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

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

/* Main Products Section */
.main-products {
    padding: 120px 0;
    background: var(--bg-black);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.product-card {
    background: var(--bg-darker);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    border: 1px solid var(--border-gray);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 51, 51, 0.2);
    border-color: var(--primary-red);
}

.product-image {
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
    padding: 20px;
}

.product-card:hover .product-image img {
    transform: none;
}

.product-content {
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.product-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}

.product-content p {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}

.product-list {
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

.product-list li {
    padding-left: 15px;
    position: relative;
    margin-bottom: 4px;
}

.product-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-red);
}

.product-link {
    color: var(--primary-red);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    font-size: 15px;
    margin: 0 auto;
}

.product-link:hover {
    gap: 10px;
}

.product-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.product-link:hover::after {
    transform: translateX(5px);
}

/* Recent Projects Section */
.recent-projects {
    padding: 120px 0;
    background: var(--bg-dark);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.project-card {
    background: var(--bg-darker);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    border: 1px solid var(--border-gray);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 51, 51, 0.2);
    border-color: var(--primary-red);
}

.project-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

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

.project-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-red);
    color: white;
    padding: 8px 20px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
}

.project-content {
    padding: 30px;
}

.project-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
}

.project-content p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.project-info {
    font-size: 14px;
    color: var(--text-light);
}

.projects-cta {
    text-align: center;
    margin-top: 60px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-white {
    background: white;
    color: var(--bg-black);
    padding: 16px 40px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
    background: var(--primary-red);
    color: white;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 16px 40px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: white;
    color: var(--bg-black);
}

/* Updated Footer */
.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 60px;
}

.footer-info {
    max-width: 300px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 30px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact .contact-item a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact .contact-item a:hover {
    color: white;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 1200px) {
    .intro-content,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--bg-black);
        flex-direction: column;
        padding: 40px 20px;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .intro-content {
        padding: 0 20px;
    }
    
    .intro-text h3 {
        font-size: 32px;
    }
    
    .intro-features {
        gap: 50px;
    }
    
    .feature-item {
        flex: 0 0 100%;
    }
    
    .feature-item .feature-number {
        font-size: 36px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 40px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: all 0.3s ease;
}

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

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

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

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-tools {
        gap: 15px;
    }
    
    .language-selector {
        display: none;
    }
}
