/* Mobile Responsive Styles */

/* Common mobile adjustments */
@media (max-width: 992px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 30px;
    }
}

/* Header adjustments */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }
    
    header.scrolled {
        padding: 10px 20px;
    }
    
    .logo .logo-text {
        font-size: 24px;
    }
    
    .header-controls {
        margin-right: 40px;
    }
    
    /* Main navigation adjustments */
    .main-nav {
        width: 80%;
        max-width: 300px;
        right: -80%;
        padding-top: 80px;
    }
    
    .main-nav ul {
        padding: 0 25px;
    }
    
    .main-nav ul li {
        margin: 15px 0;
    }
    
    /* Master section adjustments */
    .master-info h1.master-name {
        font-size: 28px;
        text-align: center;
    }
    
    .master-info h2.master-title {
        font-size: 18px;
        text-align: center;
    }
    
    .master-description p {
        text-align: justify;
        font-size: 15px;
    }
    
    .master-contacts {
        justify-content: center;
    }
    
    /* Services adjustments */
    .services-preview-list {
        flex-direction: column;
        gap: 20px;
    }
    
    .service-preview-item {
        width: 100%;
    }
    
    /* Portfolio adjustments */
    .portfolio-filters button {
        margin: 0 5px 10px;
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .portfolio-item {
        height: 280px;
    }
    
    .testimonial-container {
        padding: 0 10px;
    }
    
    /* Footer adjustments */
    .footer-content {
        padding: 40px 20px 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-column {
        width: 100%;
        text-align: center;
    }
    
    .footer-social-icons {
        justify-content: center;
    }
}

/* Specific service card fixes */
@media (max-width: 768px) {
    .service-card h3 {
        font-size: 20px;
        line-height: 1.3;
    }
    
    .service-card .price {
        font-size: 28px;
        margin: 20px 0;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
        font-size: 35px;
    }
    
    .services-list {
        gap: 20px;
    }
}

/* Small mobile devices */
@media (max-width: 576px) {
    header {
        padding: 10px 15px;
    }
    
    .header-controls {
        margin-right: 20px;
    }
    
    .language-selector {
        margin-left: 10px;
    }
    
    .language-selector button {
        padding: 5px 8px;
        font-size: 12px;
    }
    
    .theme-toggle button {
        width: 30px;
        height: 30px;
    }
    
    .master-image-container {
        margin-top: 30px;
    }
    
    .master-contacts .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .master-contacts .contact-item i {
        margin-bottom: 5px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    /* Contacts page adjustments */
    .contact-cards-container {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .map-container {
        height: 250px;
        margin-top: 30px;
    }
    
    .social-icons a {
        width: 40px;
        height: 40px;
        margin: 0 5px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
}
