/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Mobile-first optimizations */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Touch optimizations */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Remove focus outline for mouse users */
*:focus:not(:focus-visible) {
    outline: none;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #1e40af;
    --accent-color: #2563eb;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #1e293b;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --gradient-hero: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

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

.nav-logo h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
}

.logo-24-7 {
    background: var(--gradient-primary);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    margin-left: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.order-btn {
    background: var(--gradient-primary);
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    border: 2px solid white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.order-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.order-btn::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(45deg, #ffffff, #e0f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.truck-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: truckMove 3s ease-in-out infinite;
}

.truck-animation img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
    border-color: var(--primary-color);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.2rem;
    color: white;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.service-price {
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.service-btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section p,
.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Form Styles */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.price-display {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    margin: 1rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Admin Styles */
.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hide mobile cards on desktop */
.mobile-service-list,
.mobile-location-list {
    display: none;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.admin-table {
    width: 100%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
}

.admin-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-edit,
.btn-delete {
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-edit {
    background: var(--accent-color);
    color: white;
}

.btn-delete {
    background: #ef4444;
    color: white;
}

.btn-edit:hover,
.btn-delete:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Mobile Admin - Complete Redesign */
@media (max-width: 768px) {
    /* Admin Dashboard Mobile Layout */
    .admin-dashboard {
        padding: 100px 0 40px;
        background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    }
    
    .admin-header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 1.5rem;
        background: white;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-bottom: 2rem;
    }
    
    .admin-header h1 {
        font-size: 1.8rem;
        color: var(--primary-color);
        margin: 0;
    }
    
    .admin-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .admin-actions .btn-add,
    .admin-actions a {
        width: 100%;
        text-align: center;
        padding: 1.2rem;
        font-size: 1rem;
        border-radius: 15px;
        font-weight: 600;
        min-height: 50px;
    }
    
    /* Stats Grid Mobile */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 0 1rem 2rem 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
        text-align: center;
        border-radius: 20px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        background: white;
    }
    
    .stat-number {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* Mobile Service Cards Instead of Table */
    .admin-table {
        display: none; /* Hide table on mobile */
    }
    
    .mobile-service-list {
        display: block !important; /* Show mobile cards on mobile */
        margin: 0 1rem;
    }
    
    .mobile-service-card {
        background: white;
        border-radius: 20px;
        padding: 1.5rem;
        margin-bottom: 1rem;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(37, 99, 235, 0.1);
    }
    
    .mobile-service-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .mobile-service-title {
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--primary-color);
        flex: 1;
        min-width: 0;
    }
    
    .mobile-service-price {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--primary-color);
        background: rgba(37, 99, 235, 0.1);
        padding: 0.5rem 1rem;
        border-radius: 20px;
    }
    
    .mobile-service-description {
        color: var(--text-secondary);
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    .mobile-service-icon {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .mobile-service-icon i {
        font-size: 1.2rem;
        color: var(--primary-color);
    }
    
    .mobile-service-actions {
        display: flex;
        gap: 0.8rem;
        flex-wrap: wrap;
    }
    
    .mobile-service-actions .btn-edit,
    .mobile-service-actions .btn-delete {
        flex: 1;
        min-width: 120px;
        text-align: center;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        border-radius: 10px;
        font-weight: 600;
        text-decoration: none;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .mobile-service-actions .btn-edit {
        background: var(--primary-color);
        color: white;
    }
    
    .mobile-service-actions .btn-delete {
        background: #ef4444;
        color: white;
    }
    
    .mobile-service-actions .btn-edit:hover,
    .mobile-service-actions .btn-delete:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    
    /* Mobile Modal */
    .modal-content {
        margin: 2% 5%;
        width: 90%;
        padding: 2rem 1.5rem;
        max-height: 95vh;
        overflow-y: auto;
        border-radius: 20px;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* Mobile Forms */
    .form-container {
        padding: 1.5rem;
        margin: 1rem;
        width: calc(100% - 2rem);
        border-radius: 20px;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-label {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.8rem;
        display: block;
    }
    
    .form-input,
    .form-textarea,
    .form-select {
        width: 100%;
        padding: 1rem;
        font-size: 16px;
        border: 2px solid var(--border-color);
        border-radius: 12px;
        transition: all 0.3s ease;
        background: white;
    }
    
    .form-input:focus,
    .form-textarea:focus,
    .form-select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        outline: none;
    }
    
    .form-textarea {
        min-height: 120px;
        resize: vertical;
    }
    
    /* Settings Mobile */
    .settings-card {
        padding: 1.5rem;
        margin: 1rem;
        width: calc(100% - 2rem);
        border-radius: 20px;
    }
    
    .settings-header h1 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .price-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .price-item {
        padding: 1rem;
        text-align: center;
        border-radius: 15px;
        background: white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    /* Fix Add Location Form on Mobile */
    .settings-card form[style*="grid-template-columns: 1fr 1fr auto"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .settings-card form[style*="grid-template-columns: 1fr 1fr auto"] .form-group {
        margin-bottom: 0 !important;
    }
    
    .settings-card form[style*="grid-template-columns: 1fr 1fr auto"] button[type="submit"] {
        width: 100% !important;
        margin-top: 0.5rem !important;
        padding: 1rem !important;
        font-size: 1rem !important;
    }
    
    /* General Mobile Form Fixes */
    form[style*="grid-template-columns: 1fr 1fr auto"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        width: 100% !important;
    }
    
    form[style*="grid-template-columns: 1fr 1fr auto"] .form-group {
        margin-bottom: 0 !important;
        width: 100% !important;
    }
    
    form[style*="grid-template-columns: 1fr 1fr auto"] button[type="submit"] {
        width: 100% !important;
        margin-top: 0.5rem !important;
        padding: 1rem !important;
        font-size: 1rem !important;
        order: 3 !important;
    }
    
    /* Mobile Navigation */
    .navbar {
        height: 60px;
    }
    
    .nav-container {
        height: 60px;
        padding: 0 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-logo h2 {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        padding: 2rem 1rem;
    }
    
    .nav-link {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        margin: 0.5rem 0;
    }
    
    /* Mobile Location Cards */
    .desktop-table {
        display: none;
    }
    
    .mobile-location-list {
        display: block !important; /* Show mobile cards on mobile */
        padding: 1rem;
    }
    
    .mobile-location-card {
        background: white;
        border-radius: 20px;
        padding: 1.5rem;
        margin-bottom: 1rem;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(37, 99, 235, 0.1);
    }
    
    .mobile-location-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .mobile-location-name {
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--primary-color);
        flex: 1;
        min-width: 0;
    }
    
    .mobile-location-status {
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 0.9rem;
        font-weight: 600;
    }
    
    .mobile-location-status.active {
        background: #10b981;
        color: white;
    }
    
    .mobile-location-status.inactive {
        background: #ef4444;
        color: white;
    }
    
    .mobile-location-details {
        margin-bottom: 1rem;
    }
    
    .mobile-location-detail {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.5rem;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .detail-label {
        color: var(--text-secondary);
        font-size: 0.9rem;
    }
    
    .detail-value {
        font-weight: 600;
        color: var(--text-primary);
    }
    
    .detail-value.price {
        color: var(--primary-color);
        font-size: 1.1rem;
    }
    
    .mobile-location-actions {
        display: flex;
        gap: 0.8rem;
        flex-wrap: wrap;
    }
    
    .mobile-location-actions .btn-edit,
    .mobile-location-actions .btn-delete {
        flex: 1;
        min-width: 120px;
        text-align: center;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        border-radius: 10px;
        font-weight: 600;
        text-decoration: none;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .mobile-location-actions .btn-edit {
        background: var(--primary-color);
        color: white;
    }
    
    .mobile-location-actions .btn-delete {
        background: #ef4444;
        color: white;
    }
    
    .mobile-location-actions .btn-edit:hover,
    .mobile-location-actions .btn-delete:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Логотип слева на мобильных */
    .nav-logo {
        justify-content: flex-start;
        width: auto;
        margin-bottom: 0;
    }
    
    .nav-logo h2 {
        font-size: 1.3rem;
    }
    
    .logo-24-7 {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        padding: 4rem 2rem;
        z-index: 1000;
        justify-content: center;
        align-items: center;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 1rem 0;
        width: 100%;
        max-width: 300px;
    }
    
    .nav-link {
        padding: 1.5rem 2rem;
        font-size: 1.3rem;
        font-weight: 600;
        border-radius: 25px;
        margin: 0;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.1);
        color: white;
        display: block;
        width: 100%;
        text-align: center;
        backdrop-filter: blur(10px);
        border: 2px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
        border-color: rgba(255, 255, 255, 0.4);
    }
    
    .nav-link.active {
        background: rgba(255, 255, 255, 0.25);
        color: white;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
        border-color: rgba(255, 255, 255, 0.5);
    }
    
    .order-btn {
        background: rgba(255, 255, 255, 0.1) !important;
        color: white !important;
        border: 2px solid rgba(255, 255, 255, 0.2) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    }
    
    .order-btn:hover {
        background: rgba(255, 255, 255, 0.2) !important;
        transform: translateY(-5px) scale(1.05) !important;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2) !important;
        border-color: rgba(255, 255, 255, 0.4) !important;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 15px;
        padding-top: 80px; /* Добавляем отступ сверху для navbar */
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-top: 1rem; /* Уменьшаем margin-top, так как добавили padding-top */
        padding: 0 1rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1.1rem;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
        margin: 0 10px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        display: none;
    }
    
    .footer-social {
        display: flex !important;
        justify-content: center;
        gap: 1.5rem;
        margin-bottom: 2rem;
        padding: 1rem 0;
    }
    
    .footer-social a {
        width: 50px;
        height: 50px;
        background: var(--gradient-primary);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    }
    
    .footer-social a:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
    }
    
    .footer-social a i {
        font-size: 1.2rem;
    }
    
    .footer-bottom {
        padding: 1rem 0;
        font-size: 0.9rem;
        text-align: center;
    }
    
    /* Contact page mobile styles */
    .contact-section {
        padding: 120px 0 60px !important;
        background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
    }
    
    .contact-info {
        max-width: 100%;
        padding: 0;
        background: transparent;
        border-radius: 0;
        margin: 0;
        overflow: visible;
        box-sizing: border-box;
        width: 100%;
    }
    
    .contact-info > div {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .contact-item {
        padding: 1.5rem;
        margin-bottom: 0;
        text-align: center;
        background: white;
        border-radius: 20px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(37, 99, 235, 0.1);
        transition: all 0.3s ease;
        width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }
    
    .contact-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: var(--gradient-primary);
    }
    
    .contact-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(37, 99, 235, 0.2);
    }
    
    .contact-item .icon-wrapper {
        width: 70px;
        height: 70px;
        background: var(--gradient-primary);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1rem;
        box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
        transition: all 0.3s ease;
    }
    
    .contact-item:hover .icon-wrapper {
        transform: scale(1.1);
        box-shadow: 0 12px 35px rgba(37, 99, 235, 0.4);
    }
    
    .contact-item .icon-wrapper i {
        font-size: 1.8rem;
        color: white;
    }
    
    .contact-item h4 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
        color: var(--text-primary);
        font-weight: 600;
    }
    
    .contact-item p {
        font-size: 1.1rem;
        color: var(--text-secondary);
        line-height: 1.6;
        font-weight: 500;
    }
    
    .contact-item.phone p {
        font-size: 1.3rem;
        color: var(--primary-color);
        font-weight: 700;
    }
    
    .contact-item.viber p {
        font-size: 1.3rem;
        color: #665cac;
        font-weight: 700;
    }
    
    /* Show/hide desktop/mobile contact versions */
    .desktop-contact {
        display: block !important;
    }
    
    .mobile-contact {
        display: none !important;
    }
    
    @media (max-width: 768px) {
        .desktop-contact {
            display: none !important;
        }
        
        .mobile-contact {
            display: block !important;
        }
    }
    
    /* Privacy page mobile styles */
    .privacy-content {
        max-width: 100%;
        padding: 1.5rem;
        margin: 0.5rem;
        background: white;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: calc(100% - 1rem);
        box-sizing: border-box;
    }
    
    .privacy-header {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .privacy-header h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        color: var(--primary-color);
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.2;
        padding: 0 1rem;
    }
    
    .privacy-header p {
        font-size: 1rem;
        color: var(--text-secondary);
    }
    
    .privacy-content h2 {
        font-size: 1.4rem;
        margin: 2rem 0 1rem 0;
        color: var(--primary-color);
        line-height: 1.4;
    }
    
    .privacy-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1rem;
        color: var(--text-primary);
    }
    
    .privacy-content ul {
        margin: 1rem 0;
        padding-left: 1.5rem;
    }
    
    .privacy-content li {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 0.5rem;
        color: var(--text-primary);
    }
    
    .privacy-contact-info {
        background: rgba(37, 99, 235, 0.1);
        padding: 1.5rem;
        border-radius: 15px;
        margin: 1.5rem 0;
        border-left: 4px solid var(--primary-color);
    }
    
    .privacy-contact-info p {
        margin: 0.5rem 0;
        font-size: 1rem;
    }
    
    /* Order page mobile styles */
    .order-section {
        padding: 140px 0 80px !important;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
        margin: 0 10px;
        width: calc(100% - 20px);
        box-sizing: border-box;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        width: 100%;
        padding: 12px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        padding: 15px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-top: 1rem; /* Уменьшаем margin-top для маленьких экранов */
        padding: 0 0.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        margin: 0.5rem 0;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
        margin: 0 5px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .nav-link {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .contact-item {
        padding: 1.2rem 0.8rem;
        margin: 0.5rem 0;
    }
    
    .contact-item i {
        font-size: 2rem;
    }
    
    .contact-item h4 {
        font-size: 1.2rem;
    }
    
    .contact-item p {
        font-size: 0.9rem;
    }
    
    .privacy-content {
        padding: 1rem;
        margin: 0.3rem;
        width: calc(100% - 0.6rem);
    }
    
    .privacy-content h2 {
        font-size: 1.2rem;
        margin: 1.5rem 0 0.8rem 0;
    }
    
    .privacy-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .privacy-content li {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .privacy-contact-info {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .privacy-contact-info p {
        font-size: 0.9rem;
    }
    
    .form-container {
        padding: 1.5rem 1rem;
        margin: 0 5px;
        width: calc(100% - 10px);
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 10px 12px;
    }
    
    /* Admin mobile styles */
    .admin-dashboard {
        padding: 120px 0 60px;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1rem;
    }
    
    .admin-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .admin-actions .btn-add,
    .admin-actions a {
        width: 100%;
        text-align: center;
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 0 10px;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
        text-align: center;
        margin: 0 5px;
    }
    
    .admin-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 10px;
        border-radius: 15px;
    }
    
    .admin-table table {
        min-width: 600px;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.8rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .form-container {
        padding: 1.5rem 1rem;
        margin: 1rem 5px;
        width: calc(100% - 10px);
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-input,
    .form-textarea {
        width: 100%;
        padding: 10px 12px;
        font-size: 16px;
    }
    
    .modal-content {
        margin: 5% 2%;
        width: 96%;
        padding: 1rem;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .settings-card {
        padding: 1.5rem 1rem;
        margin: 0.5rem 5px;
        width: calc(100% - 10px);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .price-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .price-item {
        padding: 1rem;
        text-align: center;
    }
    
    /* Contact page extra small screens */
    .contact-info {
        padding: 1rem;
        margin: 0.3rem;
        width: calc(100% - 0.6rem);
    }
    
    .contact-item {
        padding: 1rem 0.8rem;
        margin: 0.5rem 0;
    }
    
    .contact-manager {
        padding: 1.5rem 1rem;
        margin: 0.3rem;
    }
    
    /* Extra small screens admin optimizations */
    .admin-dashboard {
        padding: 80px 0 30px;
    }
    
    .admin-header {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .admin-header h1 {
        font-size: 1.5rem;
    }
    
    .admin-actions .btn-add,
    .admin-actions a {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .stats-grid {
        margin: 0 0.5rem 1.5rem 0.5rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .mobile-service-card,
    .mobile-location-card {
        padding: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .mobile-service-header,
    .mobile-location-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .mobile-service-title,
    .mobile-location-name {
        font-size: 1.1rem;
    }
    
    .mobile-service-price,
    .mobile-location-status {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .mobile-service-actions,
    .mobile-location-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .mobile-service-actions .btn-edit,
    .mobile-service-actions .btn-delete,
    .mobile-location-actions .btn-edit,
    .mobile-location-actions .btn-delete {
        width: 100%;
        min-width: auto;
        padding: 0.8rem;
        font-size: 0.8rem;
    }
    
    .modal-content {
        margin: 1% 3%;
        width: 94%;
        padding: 1.5rem 1rem;
    }
    
    .form-container {
        padding: 1rem;
        margin: 0.5rem;
        width: calc(100% - 1rem);
    }
    
    .form-input,
    .form-textarea,
    .form-select {
        padding: 0.8rem;
        font-size: 16px;
    }
    
    .settings-card {
        padding: 1rem;
        margin: 0.5rem;
        width: calc(100% - 1rem);
    }
    
    /* Privacy page extra small screens */
    .privacy-content h1 {
        font-size: 1.5rem !important;
        padding: 0 0.5rem !important;
        line-height: 1.1 !important;
    }
    
    .privacy-content {
        padding: 1rem 0.5rem !important;
        margin: 0.2rem !important;
        width: calc(100% - 0.4rem) !important;
    }
}

/* Additional mobile optimizations */
@media (max-width: 768px) {
    /* Improve touch targets */
    .btn, .nav-link, .service-btn, .btn-edit, .btn-delete {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Better spacing for mobile */
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .section-description {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    /* Improve form usability on mobile */
    .form-input,
    .form-select,
    .form-textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 8px;
        border: 2px solid var(--border-color);
        transition: all 0.3s ease;
    }
    
    .form-input:focus,
    .form-select:focus,
    .form-textarea:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        transform: translateY(-1px);
    }
    
    /* Better table handling on mobile */
    .admin-table {
        font-size: 0.9rem;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.8rem 0.5rem;
        word-break: break-word;
    }
    
    /* Improve modal on mobile */
    .modal-content {
        border-radius: 15px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    /* Better button spacing */
    .hero-buttons {
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        min-height: 50px;
        font-size: 1rem;
        font-weight: 600;
    }
    
    /* Improve service cards on mobile */
    .service-card {
        margin: 0 5px 1.5rem 5px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }
    
    .service-card:hover {
        transform: translateY(-8px);
    }
    
    /* Better footer on mobile */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* Landscape mobile optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-container {
        padding: 2rem 0;
        padding-top: 80px; /* Добавляем отступ сверху для navbar в альбомной ориентации */
    }
    
    .hero-title {
        font-size: 2rem;
        margin-top: 0.5rem; /* Уменьшаем margin-top для альбомной ориентации */
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: auto;
        min-width: 200px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(37, 99, 235, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(37, 99, 235, 0.6);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.pulse {
    animation: pulse 2s infinite;
}

.bounce {
    animation: bounce 1s infinite;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.glow {
    animation: glow 2s infinite;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
