
:root {
    --border-radius: 8px;
    --card-background: #f8f9fa;
    --sk-body-text-color: #1d1d1f;
    --primary-color: #F97316;
    --text-button: #fff;
    --text-button-rgb: 255, 255, 255;
    --dark-secondary: rgba(60, 60, 60, 0.6);
    --text-primary: #fff;
    --text-secondary: #6B7280;
    --sk-fill: #fff;
    --dark-light: rgba(60, 60, 60, 0.4);
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    margin: 0;
    padding-top: 0;
}



header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Классы для скрытия и показа header */
.header-hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.header-visible {
    transform: translateY(0);
    opacity: 1;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Rubik', sans-serif;
    color: #F97316;
    text-decoration: none;
    z-index: 1001;
}

.nav-links {
    display: flex;
    font-family: 'Rubik', sans-serif;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #EA580C;
}

/* Специальные стили для "Наш блог" */
.nav-links .blog-link {
    position: relative;
}

.nav-links .blog-link::after {
    content: '';
    position: absolute;
    width: 105%;
    height: 4px;
    background: #F97316;
    bottom: -4px;
    left: -2.5%;
    transform: skewX(-15deg) rotate(-2deg);
    transition: all 0.2s ease-in-out;
}

.nav-links .blog-link:hover::after {
    background: #EA580C;
    height: 6px;
    bottom: -5px;
}

/* Специальные стили для "Прайс" */
.nav-links .price-link {
    font-weight: 600;
    position: relative;
    padding-right: 18px; /* Место для индикатора */
}

.nav-links .price-link::after {
    content: '';
    position: absolute;
    right: 2px;
    top: 50%;
    width: 8px;
    height: 8px;
    border: 2px solid #333;
    border-left: 0;
    border-top: 0;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.3s ease;
}

.nav-links li:hover .price-link::after {
    transform: translateY(-30%) rotate(225deg);
}

/* Выпадающее меню для "Прайс" */
.price-dropdown {
    display: none;
    position: absolute;
    top: 55%;
    left: 18%;
    transform: translateX(-50%) translateY(-10px);
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 150px;
    z-index: 1000;
    margin-top: 10px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.price-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: white;
    box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.05);
}

.nav-links li:hover .price-dropdown {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.price-dropdown a {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-weight: normal;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.price-dropdown a:hover {
    background: #f8f9fa;
    color: #F97316;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-number-header {
    font-weight: 600;
    color: #333;
    font-family: 'Rubik', sans-serif;
    text-decoration: none;
    font-size: 16px;
}

.phone-number-header:hover {
    color: #EA580C;
}

.social-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #EA580C;
    color: white;
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    background: none;
    border: none;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}
 
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: #F97316;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background: #F97316;
} 

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding-top: 50px;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-links {
    list-style: none;
    padding: 20px 20px 0;
    margin: 0;
}

.mobile-nav-links li {
    margin-bottom: 20px;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 15px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(124, 58, 237,6px 15px rgba(124,58,237,0.1));
}

.mobile-nav-links a svg {
    margin-right: 10px;
    flex-shrink: 0;
}

.mobile-nav-links a:hover,
.mobile-nav-links a:active {
    background: #ffffff;
    color: white;
    transform: translateX(10px);
}

.mobile-nav-links a:hover svg,
.mobile-nav-links a:active svg {
    stroke: white;
    fill: white;
}

.mobile-contact-info {
    padding: 0px 20px;
    border-top: 1px solid rgba(124, 58, 237, 0.1);
    margin-top: 10px;
}

.mobile-phone {
    display: block;
    color: #7C3AED;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    padding: 15px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mobile-phone:hover {
    background: #7C3AED;
    color: white;
}

.mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.mobile-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.1);
    color: #F97316;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 20px;
}

.mobile-social-link:hover {
    background: #F97316;
    color: white;
    transform: translateY(-3px);
}

.mobile-close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 10px;
    display: none;
}

.mobile-menu.active .mobile-close-button {
    display: block;
}

.mobile-close-button svg {
    width: 24px;
    height: 24px;
    stroke: #F97316;
    transition: stroke 0.3s ease;
}

.mobile-close-button:hover svg {
 stroke: #fff;
}

.btn-primary {
    background: #F97316;
    color: var(--text-button, #fff);
    border: none;
    /* box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2); */
}

.btn-primary, .btn-secondary {
    padding: 16px 32px;
    /* border-radius: var(--border-radius, 8px); */
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    transition: all 0.3s ease;
    font-family: 'Arial', sans-serif;
    box-sizing: border-box;
}

.btn-primary:hover {
    background: #EA580C;
    transform: translateY(-1px);
    /* box-shadow: 0 6px 16px rgba(124, 58, 237, 0.3); */
}

.phone-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px; /* Space between phone numbers */
    padding: 16px;
    max-width: 300px; /* Constrain width for consistency */
    margin: 0 auto; /* Center the container */
}

.mobile-button-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.btn-primary-mobile{

    padding: 16px 2px;
    border-radius: 14px;
    /* margin-left: 50%; */
    /* font-weight: 800; */
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 320px;
    transition: all 0.3s ease;
    font-family: 'Arial', sans-serif;
    background: var(--primary-color);
    color: var(--text-button);
    border: none;
    /* box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2); */
    margin: 0;

}

@media (max-width: 768px) {
    .logo {
        font-size: 24px;

    }
    nav {
        flex-wrap: wrap;
        gap: 15px;
    }
    .nav-links,
    .header-right {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 18px;

    }
    .mobile-nav-links a {
        font-size: 16px;
        padding: 12px 15px;
    }
    .mobile-phone {
        font-size: 18px;
    }
    .mobile-social-link {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    .mobile-close-button {
        top: 15px;
        right: 15px;
    }
    .phone-number-header{
        margin-top: 2px;
    }
}
