/* Responsive styles for Blameo */

/* Tablet styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .service-details {
        gap: 2.5rem;
    }
    
    .service-column {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-nav {
        justify-self: center;
    }
    
    .hero-main-image {
        width: 300px;
    }
    
    .service-illustration {
        width: 250px;
    }
    
    .about-image {
        width: 200px;
    }
}

/* Mobile landscape and small tablet */
@media (max-width: 768px) {
    .header-content {
        position: relative;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--background-white);
        border-top: 1px solid var(--border-light);
        padding: 1rem 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        opacity: 0;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }
    
    .nav.active {
        max-height: 400px;
        opacity: 1;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1rem;
        padding: 0 20px;
    }
    
    /* Mobile dropdown styles */
    .nav-dropdown {
        position: static;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: #f8f9fa;
        margin: 0.5rem 0 0 1rem;
        border-radius: 8px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown.active .dropdown-menu {
        max-height: 200px;
    }
    
    .dropdown-link {
        padding: 10px 15px;
        font-size: 0.9em;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero {
        padding: 3rem 0 4rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-main-image {
        width: 250px;
    }
    
    .services,
    .about,
    .contact {
        padding: 4rem 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .service-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .service-block:nth-child(even) .service-intro {
        grid-template-columns: 1fr;
    }
    
    .service-intro-content {
        text-align: center;
        padding-right: 0 !important;
        padding-left: 0 !important;
        order: 1;
    }
    
    .service-image {
        order: 2;
    }
    
    .service-block {
        padding: 2rem;
        margin-bottom: 4rem;
    }
    
    .service-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-column {
        padding: 1.5rem;
    }
    
    .service-title h3 {
        font-size: 1.5rem;
    }
    
    .about h2 {
        font-size: 2rem;
    }
    
    .about-features {
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-nav {
        justify-self: center;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .service-features {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* Mobile portrait */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        padding: 0.75rem 0;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .language-switcher {
        gap: 0.25rem;
    }
    
    .lang-btn {
        font-size: 0.8rem;
        padding: 0.25rem;
    }
    
    .hero {
        padding: 2.5rem 0 3.5rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .services,
    .about,
    .contact {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .service-block {
        margin-bottom: 3rem;
    }
    
    .service-intro {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-block:nth-child(even) .service-intro {
        grid-template-columns: 1fr;
    }
    
    .service-intro-content {
        padding-right: 0 !important;
        padding-left: 0 !important;
        order: 1;
    }
    
    .service-image {
        order: 2;
    }
    
    .service-block {
        padding: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .service-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-column {
        padding: 1.25rem;
    }
    
    .service-title h3 {
        font-size: 1.25rem;
    }
    
    .about h2 {
        font-size: 1.75rem;
    }
    
    .about p {
        font-size: 1rem;
    }
    
    .about-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .feature-icon {
        font-size: 1.5rem;
    }
    
    .contact-logo {
        height: 40px;
        margin-bottom: 1.5rem;
    }
    
    .contact-link {
        font-size: 1rem;
    }
    
    .footer {
        padding: 1.5rem 0 1rem 0;
    }
    
    .footer-nav {
        gap: 0.75rem;
    }
    
    .footer-link,
    .footer-lang {
        font-size: 0.85rem;
    }
    
    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }
    
    .client-logo {
        padding: 1rem;
        min-height: 80px;
    }
    
    .client-logo img {
        max-height: 40px;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .service-column {
        padding: 1rem;
    }
    
    .service-intro {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .service-title {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .service-title h3 {
        font-size: 1.125rem;
        text-align: center;
    }
    
    .service-image {
        padding: 1rem;
    }
    
    .service-illustration {
        max-width: 200px;
    }
    
    .tech-tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
    .about h2 {
        font-size: 1.5rem;
    }
    
    .about-image {
        width: 150px;
    }
}

/* Certifications and Why Choose Us sections */
@media (max-width: 768px) {
    .certifications,
    .why-choose-us {
        padding: 3rem 0;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .certification-card {
        padding: 1.5rem;
    }
    
    .cert-logo {
        width: 70px;
        height: 70px;
    }
    
    .cert-logo img {
        max-width: 40px;
        max-height: 40px;
    }
    
    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .why-choose-visual {
        height: 200px;
    }
    
    .why-choose-illustration {
        width: 200px;
        height: 200px;
    }
    
    .central-hub {
        width: 60px;
        height: 60px;
    }
    
    .central-hub i {
        font-size: 1rem;
    }
    
    .central-hub span {
        font-size: 0.7rem;
    }
    
    .orbit-item {
        width: 50px;
        height: 50px;
    }
    
    .orbit-item i {
        font-size: 1rem;
    }
    
    .orbit-item span {
        font-size: 0.6rem;
    }
    
    .reason-item {
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .reason-icon {
        width: 40px;
        height: 40px;
    }
    
    .reason-icon i {
        font-size: 1.1rem;
    }
    
    /* Mobile Clients & Partners */
    .clients-partners {
        padding: 4rem 0;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .client-logo {
        padding: 0.8rem;
        min-height: 70px;
    }
    
    .client-logo img {
        max-height: 35px;
    }
    
    /* Mobile Certifications */
    .certifications {
        padding: 4rem 0;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .certification-card {
        padding: 1.8rem 1.2rem;
    }
    
    .certification-card h3 {
        font-size: 1.2rem;
    }
    
    .cert-logo {
        width: 65px;
        height: 65px;
        margin-bottom: 1.2rem;
    }
    
    .cert-logo img {
        max-width: 35px;
        max-height: 35px;
    }
}

/* Service Pages Mobile */
@media (max-width: 768px) {
    .service-hero {
        padding: 6rem 0 3rem 0;
    }
    
    .service-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .service-hero-text h1 {
        font-size: 2.5rem;
    }
    
    .service-hero-text p {
        font-size: 1.1rem;
    }
    
    .service-content {
        padding: 4rem 0;
    }
    
    .service-section {
        margin-bottom: 4rem;
    }
    
    .service-section h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .technologies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .tech-item {
        padding: 1.5rem 0.8rem;
    }
    
    .tech-item i {
        font-size: 2.5rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-step::before {
        display: none;
    }
    
    .service-cta {
        padding: 4rem 0;
    }
    
    .service-cta h2 {
        font-size: 2rem;
    }
    
    .service-cta p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Gallery Mobile */
@media (max-width: 768px) {
    .gallery {
        padding: 4rem 0;
    }
    
    .gallery-tabs {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .gallery-tab {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 0.8rem 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-item.large {
        grid-column: span 1;
        aspect-ratio: 4/3;
    }
    
    .gallery-overlay {
        padding: 1.5rem;
    }
    
    .gallery-info h3 {
        font-size: 1.1rem;
    }
    
    .gallery-info p {
        font-size: 0.85rem;
    }
    
    /* Why Choose Us Mobile */
    .why-choose-us {
        padding: 4rem 0;
    }
    
    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .why-choose-visual {
        height: 250px;
        order: 2;
    }
    
    .why-choose-illustration {
        width: 250px;
        height: 250px;
    }
    
    .central-hub {
        width: 70px;
        height: 70px;
    }
    
    .central-hub i {
        font-size: 1.2rem;
    }
    
    .central-hub span {
        font-size: 0.7rem;
    }
    
    .orbit-item {
        width: 50px;
        height: 50px;
    }
    
    .orbit-item i {
        font-size: 1rem;
    }
    
    .orbit-item span {
        font-size: 0.6rem;
    }
    
    .why-choose-list {
        gap: 1.5rem;
        order: 1;
    }
    
    .reason-item {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .reason-item:hover {
        transform: translateY(-3px);
    }
    
    .reason-icon {
        width: 45px;
        height: 45px;
    }
    
    .reason-icon i {
        font-size: 1.1rem;
    }
    
    .reason-content h3 {
        font-size: 1.1rem;
    }
    
    .reason-content p {
        font-size: 0.9rem;
    }
}
