/* Mobile Simple - Улучшенная мобильная версия */
/* Синтез лучших практик из milfey.ru и salonmone.ru */

/* ============================= */
/* MOBILE (≤768px) */
/* ============================= */
@media (max-width: 768px) {
    
    /* Hero Section - Premium Mobile */
    .hero-content-block {
        padding: 40px 16px 60px;
        background: linear-gradient(135deg, #faf9f7 0%, #fff 100%);
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
    
    .hero-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        align-items: center;
        text-align: center;
    }
    
    .hero-left-block {
        order: 2;
        padding: 0 8px;
    }
    
    .hero-right-block {
        order: 1;
        margin-bottom: 0px;
    }
    
    /* Premium Menu - по аналогии с milfey.ru */
    .hero-side-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        margin-bottom: 25px;
        padding: 12px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 12px;
        border: 1px solid rgba(139, 111, 71, 0.1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }
    
    .hero-side-menu a {
        font-size: 12px;
        padding: 6px 12px;
        border-radius: 16px;
        color: var(--text-secondary);
        text-decoration: none;
        transition: all 0.3s ease;
        background: white;
        border: 1px solid rgba(139, 111, 71, 0.1);
        font-weight: 400;
        letter-spacing: 0.3px;
    }
    
    .hero-side-menu a:hover,
    .hero-side-menu a.active {
        color: var(--accent-gold);
        background: rgba(212, 175, 55, 0.08);
        border-color: var(--accent-gold);
        transform: translateY(-1px);
    }
    
    /* Premium Video - премиум мобильный вид */
    .hero-video-frame {
        width: 100%;
        max-width: 280px;
        height: 180px;
        /* border-radius: 12px; */
        overflow: hidden;
        background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
    }
    
    .hero-video-frame video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.9;
    }
    
    .video-overlay-text {
        position: absolute;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        color: white;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 1.2px;
        background: rgba(0, 0, 0, 0.7);
        padding: 4px 10px;
        border-radius: 8px;
        backdrop-filter: blur(4px);
    }
    
    /* Premium Typography - улучшенная типографика */
    .hero-title-table {
        margin-bottom: 16px;
    }
    
    .hero-title-table .logo-cell {
        width: 36px;
        vertical-align: top;
        padding-top: 2px;
    }
    
    .hero-title-table .text-cell {
        padding-left: 10px;
    }
    
    .luxury-logo {
        width: 36px;
        height: 36px;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    }
    
    .feminine-heading {
        font-size: 22px;
        line-height: 1.1;
        margin-bottom: 14px;
        color: black;
        font-weight: 400;
        letter-spacing: -0.5px;
    }
    
    .feminine-subheading {
        font-size: 15px;
        line-height: 1.4;
        color: var(--text-secondary);
        margin-bottom: 20px;
        font-weight: 350;
    }
    
    .feminine-text-light {
        font-size: 13px;
        color: var(--text-muted);
        margin-top: 10px;
        line-height: 1.3;
    }
    
    /* Premium Button - премиум мобильная кнопка */
    .feminine-hero-actions {
        margin: 20px 0;
    }
    
    .btn-feminine-primary {
        padding: 14px 28px;
        font-size: 15px;
        border-radius: 20px;
        /* background: linear-gradient(135deg, var(--accent-gold) 0%, #d4af37 100%); */
        color: white;
        text-decoration: none;
        display: inline-block;
        transition: all 0.3s ease;
        border: none;
        font-weight: 500;
        letter-spacing: 0.3px;
        /* box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25); */
    }
    
    .btn-feminine-primary:hover {
        background: linear-gradient(135deg, #d4af37 0%, var(--accent-rose) 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(212, 175, 55, 0.35);
    }
    
    .btn-feminine-primary:active {
        transform: translateY(0);
    }
    
    /* Gallery Grid Mobile */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin: 20px 0;
    }
    
    .gallery-item {
        border-radius: 12px;
        overflow: hidden;
    }
    
    .gallery-image {
        transition: transform 0.3s ease;
    }
    
    .gallery-item:hover .gallery-image {
        transform: scale(1.05);
    }
    
    /* Stories Section Mobile */
    .transformation-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }
    
    .transformation-card {
        background: white;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    }
    
    .before-after-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2px;
        height: 200px;
    }
    
    .before-image,
    .after-image {
        position: relative;
        overflow: hidden;
    }
    
    .before-image img,
    .after-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .image-label {
        position: absolute;
        top: 8px;
        left: 8px;
        background: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 4px 8px;
        border-radius: 6px;
        font-size: 11px;
        font-weight: 600;
    }
    
    /* Services Grid Mobile */
    .feminine-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .feminine-grid-3 {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .feminine-card {
        padding: 20px;
        border-radius: 16px;
        background: white;
        border: 1px solid rgba(139, 111, 71, 0.1);
    }
    
    /* Navigation Mobile */
    .site-header {
        padding: 16px 0;
        background: white;
        border-bottom: 1px solid rgba(139, 111, 71, 0.1);
    }
    
    .header-inner {
        padding: 0 16px;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .nav {
        display: none;
    }
    
    /* Mobile Menu Button */
    .mobile-menu-btn {
        display: block;
        width: 32px;
        height: 32px;
        background: none;
        border: none;
        cursor: pointer;
        position: relative;
    }
    
    .mobile-menu-btn span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--text-primary);
        margin: 5px auto;
        transition: all 0.3s ease;
    }
    
    /* Hero Mobile Header - исправленная структура */
    .hero-mobile-header {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-bottom: 20px;
        padding: 16px;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 16px;
        border: 1px solid rgba(139, 111, 71, 0.1);
    }
    
    .hero-logo-container {
        flex-shrink: 0;
    }
    
    .hero-mobile-header .feminine-heading {
        margin: 0;
        font-size: 18px;
        line-height: 1.2;
        text-align: left;
    }
    
    /* Desktop fallback for hero-mobile-header */
    @media (min-width: 769px) {
        .hero-mobile-header {
            display: none;
        }
        
        .hero-title-table {
            display: table;
        }
    }
    
    /* Hide old table on mobile */
    @media (max-width: 768px) {
        .hero-title-table {
            display: none;
        }
        
        /* Mobile Header Styles */
        .mobile-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: #000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .mobile-header-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 16px;
            max-width: 100%;
        }
        
        .mobile-logo {
            display: flex;
            align-items: center;
        }
        
        .mobile-logo-svg {
            width: 32px;
            height: 32px;
        }
        
        .mobile-menu-toggle {
            display: flex;
            flex-direction: column;
            justify-content: center;
            width: 32px;
            height: 32px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
        }
        
        .mobile-menu-toggle span {
            display: block;
            width: 24px;
            height: 2px;
            background: #fff;
            margin: 3px 0;
            transition: all 0.3s ease;
            transform-origin: center;
        }
        
        .mobile-menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
        }
        
        .mobile-menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }
        
        .mobile-menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
        }
        
        .mobile-nav {
            position: fixed;
            top: 56px;
            left: 0;
            right: 0;
            background: #000;
            transform: translateY(-100%);
            transition: transform 0.3s ease;
            z-index: 999;
        }
        
        .mobile-nav.active {
            transform: translateY(0);
        }
        
        .mobile-nav-link {
            display: block;
            padding: 16px 20px;
            color: #fff;
            text-decoration: none;
            font-size: 14px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.2s ease;
        }
        
        .mobile-nav-link:hover {
            background: rgba(255, 255, 255, 0.1);
        }
        
        .mobile-nav-cta {
            background: var(--accent-gold);
            color: #000;
            font-weight: 600;
            border-bottom: none;
        }
        
        .mobile-nav-cta:hover {
            background: var(--accent-rose);
        }
        
        /* Add spacing for fixed header */
        .hero-content-block {
            padding-top: 80px;
        }
        
        /* Hide hero menu on mobile */
        .hero-side-menu {
            display: none;
        }
    }
    
    /* Footer Mobile */
    .feminine-footer {
        padding: 40px 16px 20px;
    }

    .feminine-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feminine-footer-column {
        text-align: left;
    }
}

/* ============================= */
/* SMALL MOBILE (≤480px) */
/* ============================= */
@media (max-width: 480px) {
    
    .hero-content-block {
        padding: 40px 16px 60px;
    }
    
    .hero-side-menu {
        gap: 8px;
        padding: 12px;
    }
    
    .hero-side-menu a {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .hero-video-frame {
        max-width: 650px;
        height: 180px;
    }
    
    .feminine-heading {
        font-size: 20px;
    }
    
    .feminine-subheading {
        font-size: 15px;
    }
    
    .luxury-logo {
        width: 32px;
        height: 32px;
    }
    
    .hero-title-table .logo-cell {
        width: 32px;
    }
}

/* ============================= */
/* TOUCH DEVICES */
/* ============================= */
@media (hover: none) and (pointer: coarse) {
    
    .hero-side-menu a:active {
        transform: scale(0.95);
    }
    
    .btn-feminine-primary:active {
        transform: scale(0.98);
    }
    
    .hero-video-frame:active {
        transform: scale(0.98);
    }
}

/* ============================= */
/* LANDSCAPE */
/* ============================= */
@media (max-width: 768px) and (orientation: landscape) {
    
    .hero-content-block {
        padding: 30px 20px 40px;
    }
    
    .hero-content-grid {
        gap: 30px;
    }
    
    .hero-video-frame {
        height: 160px;
        max-width: 240px;
    }
    
    .feminine-heading {
        font-size: 20px;
    }
    
    .feminine-subheading {
        font-size: 14px;
    }
}
