/* Responsive Styles for NAKACHI Consulting Website */

/* Base Responsive Adjustments */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    /* Header */
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Hero Section */
    .hero h1 {
        font-size: 40px;
    }
    
    /* Company Overview */
    .overview-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .overview-stats {
        width: 100%;
    }
    
    /* Products Grid */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-logo {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .footer-links {
        justify-content: space-between;
        width: 100%;
    }
    
    /* About Page */
    .about-content {
        flex-direction: column;
    }
    
    /* Contact Page */
    .contact-container {
        flex-direction: column;
    }
    
    /* Product Pages */
    .product-overview-content {
        flex-direction: column;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 30px;
    }
    
    .process-steps:before {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    /* Hero Section */
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Stats */
    .overview-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item {
        margin: 0;
    }
    
    /* Products Grid */
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    /* Testimonials */
    .testimonial-content {
        padding: 30px;
    }
    
    .testimonial-content p {
        font-size: 16px;
    }
    
    /* Footer */
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    /* Team Grid */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Related Products */
    .related-products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    /* Header */
    header .container {
        padding: 15px;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    /* Hero Section */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    /* Section Headers */
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    /* Company Overview */
    .company-overview {
        padding: 60px 0;
    }
    
    .overview-text p {
        font-size: 16px;
    }
    
    /* Products Showcase */
    .products-showcase {
        padding: 60px 0;
    }
    
    /* Testimonials */
    .testimonials {
        padding: 60px 0;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
    
    /* Footer */
    footer {
        padding: 60px 0 20px;
    }
    
    /* Team Grid */
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    /* Product Pages */
    .product-hero {
        padding: 100px 0 60px;
    }
    
    .product-overview,
    .product-features,
    .product-process,
    .related-products {
        padding: 60px 0;
    }
    
    .product-overview-text h2,
    .product-cta h2 {
        font-size: 28px;
    }
}

/* Mobile Navigation Animation */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.mobile-nav.active {
    animation: slideDown 0.3s ease forwards;
}

/* Testimonial Slider Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.testimonial-slide.active {
    animation: fadeIn 0.5s ease forwards;
}

/* Button Hover Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.btn-primary:hover {
    animation: pulse 1s infinite;
}

/* Print Styles */
@media print {
    header, 
    footer,
    .cta-section,
    .mobile-menu-toggle,
    .hero-buttons,
    .testimonial-controls {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }
    
    a {
        text-decoration: none;
        color: #000;
    }
    
    .container {
        width: 100%;
        max-width: none;
        padding: 0;
        margin: 0;
    }
    
    .hero,
    .product-hero,
    .about-hero,
    .contact-hero {
        background: none;
        color: #000;
        padding: 20pt 0;
        text-align: left;
    }
    
    .hero h1,
    .product-hero h1,
    .about-hero h1,
    .contact-hero h1 {
        font-size: 24pt;
    }
    
    .section-header {
        text-align: left;
    }
    
    .section-header h2:after {
        display: none;
    }
    
    .products-grid,
    .features-grid,
    .team-grid,
    .related-products-grid {
        display: block;
    }
    
    .product-card,
    .feature-item,
    .team-member {
        page-break-inside: avoid;
        margin-bottom: 20pt;
        box-shadow: none;
        border: 1pt solid #ddd;
    }
    
    .product-overview-content,
    .about-content,
    .contact-container {
        display: block;
    }
    
    .product-overview-image,
    .about-image,
    .contact-map {
        display: none;
    }
}
