/* ====== RESET AND BASE STYLES ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====== HEADER STYLES ====== */
.main-header {
    background: linear-gradient(135deg, #000000 0%, #2f0f34 100%);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(255, 0, 204, 0.7);
    backdrop-filter: blur(10px);
    min-width: 320px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ====== ANIMATED LOGO STYLES ====== */
.logo {
    position: relative;
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    position: relative;
    z-index: 2;
}

.logo-text {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(45deg, #ffffff, #ff4d94, #ffffff, #ff4d94);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoGlow 3s ease-in-out infinite;
    position: relative;
    display: inline-block;
}

.logo-text::before {
    content: 'PRINCESS';
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(45deg, #ff4d94, #ff1493, #ff4d94);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoShadow 3s ease-in-out infinite;
    filter: blur(3px);
    opacity: 0.7;
    z-index: -1;
}

@keyframes logoGlow {
    0%, 100% {
        background-position: 0% 50%;
        transform: scale(1);
    }
    25% {
        background-position: 50% 100%;
    }
    50% {
        background-position: 100% 50%;
        transform: scale(1.05);
    }
    75% {
        background-position: 50% 0%;
    }
}

@keyframes logoShadow {
    0%, 100% {
        background-position: 100% 50%;
        transform: translateX(0);
    }
    25% {
        background-position: 50% 0%;
        transform: translateX(2px);
    }
    50% {
        background-position: 0% 50%;
        transform: translateX(0);
    }
    75% {
        background-position: 50% 100%;
        transform: translateX(-2px);
    }
}

/* Снежинки */
.snowflakes {
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 70px;
    pointer-events: none;
    z-index: 1;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: #ffffff;
    font-size: 0.6rem;
    opacity: 0;
    animation: snowfall linear infinite;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.8);
}

.snowflake:nth-child(1) { left: 10%; animation-duration: 7s; animation-delay: 0s; }
.snowflake:nth-child(2) { left: 25%; animation-duration: 5s; animation-delay: 1s; }
.snowflake:nth-child(3) { left: 40%; animation-duration: 8s; animation-delay: 2s; }
.snowflake:nth-child(4) { left: 55%; animation-duration: 6s; animation-delay: 0.5s; }
.snowflake:nth-child(5) { left: 70%; animation-duration: 9s; animation-delay: 1.5s; }
.snowflake:nth-child(6) { left: 85%; animation-duration: 7s; animation-delay: 2.5s; }

@keyframes snowfall {
    0% {
        transform: translateY(-10px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(50px) rotate(360deg);
        opacity: 0;
    }
}

/* ====== NAVIGATION STYLES ====== */
.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    flex-wrap: wrap;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    font-size: 1rem;
}

.main-nav a:hover {
    color: #ff4d94;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff4d94;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* ====== PHONE STYLES ====== */
.header-phone {
    display: flex;
    align-items: center;
}

.phone-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    background: rgba(255, 77, 148, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 77, 148, 0.3);
    font-size: 0.95rem;
}

.phone-link:hover {
    background: rgba(255, 77, 148, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 77, 148, 0.2);
}

.phone-icon {
    font-size: 1.2rem;
}

/* ====== MODERN MOBILE MENU ====== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
    z-index: 10000;
    position: relative;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: #ff4d94;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: #ff4d94;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.98) 0%,
        rgba(45, 0, 45, 0.95) 50%,
        rgba(0, 0, 0, 0.98) 100%);
    backdrop-filter: blur(20px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.mobile-menu-content {
    padding: 60px 2rem 2rem; /* Подняли всё меню выше (раньше было 100px) */
    height: 100%;
    display: flex;
    flex-direction: column;
}


/* Заголовок меню */
.mobile-menu-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 77, 148, 0.3);
}

.mobile-logo {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #ffffff, #ff4d94, #ffffff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoGlow 3s ease-in-out infinite;
}

.menu-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-style: italic;
}

/* Навигация */
.mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    padding: 1rem 1rem;
    margin: 0.4rem 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 77, 148, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-link:hover {
    background: rgba(255, 77, 148, 0.15);
    border-color: rgba(255, 77, 148, 0.4);
    transform: translateX(8px);
}

.mobile-nav-link.featured {
    background: linear-gradient(135deg,
        rgba(255, 77, 148, 0.15),
        rgba(255, 20, 147, 0.2));
    border: 1px solid rgba(255, 77, 148, 0.4);
}

.nav-icon {
    font-size: 1.3rem;
    margin-right: 1rem;
    width: 25px;
    text-align: center;
}

.nav-text {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Футер меню — скрыт */
.mobile-menu-footer {
    display: none !important;
}

.nav-badge {
    background: linear-gradient(135deg, #ff4d94, #ff1493);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-right: 1rem;
}

.nav-arrow {
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover .nav-arrow {
    color: #ff4d94;
    transform: translateX(3px);
}

/* Футер меню */
.mobile-menu-footer {
    margin-top: auto;
    border-top: 1px solid rgba(255, 77, 148, 0.3);
    padding-top: 2rem;
}

.mobile-phone-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 77, 148, 0.1);
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 77, 148, 0.3);
}

.mobile-phone-link:hover {
    background: rgba(255, 77, 148, 0.2);
    transform: translateY(-2px);
}

.phone-emoji {
    font-size: 1.5rem;
}

.phone-info {
    flex: 1;
    text-align: left;
}

.phone-label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
}

.phone-number {
    display: block;
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
}

.mobile-book-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, #ff4d94, #ff1493);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 77, 148, 0.4);
    margin-bottom: 1.5rem;
}

.mobile-book-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 77, 148, 0.6);
}

.btn-icon {
    margin-right: 0.5rem;
}

/* Блокировка прокрутки */
body.menu-open {
    overflow: hidden;
}

/* ====== MAIN CONTENT SPACING ====== */
.main-content {
    margin-top: 100px;
    padding: 2rem 0;
    min-height: calc(100vh - 100px);
    position: relative;
    z-index: 1;
}

/* ====== RESPONSIVE STYLES ====== */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 1.5rem;
    }
    
    .main-nav ul {
        gap: 1.5rem;
    }
    
    .logo-text {
        font-size: 1.8rem;
    }
}

@media (max-width: 900px) {
    .main-nav ul {
        gap: 1rem;
    }
    
    .main-nav a {
        font-size: 0.9rem;
    }
    
    .phone-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* ====== MOBILE VERSION (768px и меньше) ====== */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }

    .main-nav,
    .header-phone {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .logo-text {
        font-size: 1.5rem;
    }
    
    .main-header {
        padding: 0.5rem 0;
    }
    
    .main-content {
        margin-top: 70px;
        padding: 1rem 0;
    }
    
    .snowflakes {
        display: none;
    }

    .phone-text {
        display: none;
    }

    .header-phone .phone-link {
        padding: 0.5rem;
        background: none;
        border: none;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 0.5rem;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .mobile-menu-content {
        padding: 50px 1rem 1.5rem;
    }

    .mobile-logo {
        font-size: 2rem;
    }

    .mobile-nav-link {
        padding: 1rem 0.8rem;
    }

    .nav-text {
        font-size: 1rem;
    }

    .mobile-book-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .main-content {
        margin-top: 60px;
        padding: 0.5rem 0;
    }
}