/* Debug styles - временно для отладки */
* {
    outline: none;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100vw;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

/* Base */
:root {
    --accent: #CA9EFF;
    --black: #000000;
    --white: #FFFFFF;
    --gray: #666666;
    --light-gray: #F5F5F5;
    --container-width: 1140px;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding-left: 10px;
    padding-right: 10px;
    overflow-x: hidden;
}

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Header */
header {
    background: var(--white);
    z-index: 1000;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    padding: 1rem 0;
}

main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    padding-top: 1rem;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--black);
    letter-spacing: 2px;
}

/* Navigation */
nav {
    width: 100%;
    max-width: 100%;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
    width: 100%;
}

nav a {
    display: block;
    padding: 8px;
    text-decoration: none;
    color: var(--black);
    text-align: center;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

nav a:hover {
    color: var(--accent);
}

nav a.active {
    color: var(--black);
    font-weight: 500;
}

/* Base styles */
.lang-switch {
    display: flex;
    gap: 0.5rem;
    background: var(--light-gray);
    padding: 0.25rem;
    border-radius: 4px;
}

.lang-switch button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--gray);
    padding: 0.25rem 0.5rem;
    transition: all 0.3s ease;
}

.lang-switch button.active {
    color: var(--black);
    font-weight: 500;
}

/* Hero Section */
.hero {
    padding: 2rem 0;
    background: var(--light-gray);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn.primary {
    background: var(--accent);
    color: var(--white);
}

.btn.secondary {
    background: var(--white);
    color: var(--black);
}

.hero-image {
    margin-top: 2rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Services Preview */
.services-preview {
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-card {
    text-align: center;
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--light-gray);
}

/* Gallery */
.gallery {
    padding: 6rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gallery-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Contact Preview */
.contact-preview {
    padding: 6rem 0;
    background: var(--light-gray);
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    background: var(--black);
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-social a {
    display: block;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Services Page */
.page-header {
    padding: 12rem 0 6rem;
    background: var(--light-gray);
    text-align: center;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.services-list {
    padding: 6rem 0;
}

.service-category {
    margin-bottom: 6rem;
}

.service-category:last-child {
    margin-bottom: 0;
}

.service-category h2 {
    margin-bottom: 3rem;
}

.service-item {
    background: var(--white);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 300px;
}

.service-item h3 {
    margin-bottom: 1rem;
}

.service-item .price {
    font-size: 1.2rem;
    color: var(--accent);
    margin: 1rem 0;
}

.service-item .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 0.5rem 0;
    }

    main {
        padding-top: 0.5rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .header-container {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        position: relative;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    nav a {
        font-size: 0.8rem;
    }

    .lang-switch {
        position: absolute;
        top: 0;
        right: 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-category {
        margin-bottom: 2rem;
    }
    
    .service-item {
        margin-bottom: 1rem;
    }

    .hero {
        padding: 1rem 0 2rem;
    }
}

/* Mobile styles */
@media screen and (max-width: 480px) {
    .header-container {
        padding: 10px;
        width: 100%;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    nav {
        margin-top: 10px;
        width: 100%;
    }

    nav ul {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }

    nav a {
        background: var(--light-gray);
        border-radius: 4px;
        padding: 8px 5px;
        font-size: 13px;
    }

    .logo {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .lang-switch {
        position: absolute;
        top: 10px;
        right: 10px;
        padding: 2px;
        background: var(--light-gray);
        border-radius: 4px;
        display: flex;
        gap: 2px;
    }

    .lang-switch button {
        padding: 4px 6px;
        font-size: 12px;
        border: none;
        background: none;
        cursor: pointer;
    }
}

/* Small mobile styles */
@media (max-width: 320px) {
    .lang-switch {
        min-width: 55px;
    }

    .lang-switch button {
        font-size: 0.75rem;
        padding: 0.25rem;
    }
} 

/* Team Page */
.team-grid {
    padding: 6rem 0;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin-bottom: 1.5rem;
}

.team-member h3 {
    margin-bottom: 0.5rem;
}

.team-member .role {
    color: var(--accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.team-member .bio {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

.team-cta {
    padding: 6rem 0;
    background: var(--light-gray);
    text-align: center;
}

.team-cta h2 {
    margin-bottom: 1rem;
}

.team-cta p {
    color: var(--gray);
    margin-bottom: 2rem;
}

@media (max-width: 1024px) {
    .team-members {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-members {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
} 

/* Offers Page */
.offers-grid {
    padding: 6rem 0;
}

.offers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.offer-card {
    background: var(--white);
    padding: 2rem;
}

.offer-card.featured {
    grid-column: 1 / -1;
    background: var(--light-gray);
}

.offer-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.offer-content h2 {
    margin-bottom: 1rem;
}

.offer-content h3 {
    margin-bottom: 1rem;
}

.offer-desc {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.offer-price {
    margin-bottom: 1.5rem;
}

.offer-price .original {
    text-decoration: line-through;
    color: var(--gray);
    margin-right: 1rem;
}

.offer-price .discounted {
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 500;
}

.offer-duration {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.loyalty-program {
    padding: 6rem 0;
    background: var(--light-gray);
    text-align: center;
}

.loyalty-program h2 {
    margin-bottom: 1rem;
}

.loyalty-program p {
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.loyalty-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.loyalty-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .offers {
        grid-template-columns: 1fr;
    }

    .offer-card.featured {
        grid-column: auto;
    }

    .loyalty-form {
        flex-direction: column;
    }
} 

/* Portfolio Page */
.portfolio-filters {
    padding: 2rem 0;
    text-align: center;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-buttons button {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--gray);
    transition: all 0.3s ease;
}

.filter-buttons button.active {
    color: var(--accent);
}

.portfolio-grid {
    padding: 4rem 0 6rem;
}

.portfolio-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
}

.portfolio-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay h3 {
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    font-size: 0.9rem;
    margin: 0;
}

.portfolio-cta {
    padding: 6rem 0;
    background: var(--light-gray);
    text-align: center;
}

.portfolio-cta h2 {
    margin-bottom: 1rem;
}

.portfolio-cta p {
    color: var(--gray);
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

@media (max-width: 768px) {
    .portfolio-items {
        grid-template-columns: 1fr;
    }

    .portfolio-item img {
        height: 300px;
    }

    .portfolio-overlay {
        opacity: 1;
    }
} 

/* Contact Page */
.contact-grid {
    padding: 6rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.contact-details {
    display: grid;
    gap: 2rem;
}

.info-item h3 {
    margin-bottom: 0.5rem;
    color: var(--accent);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-map {
    width: 100%;
    height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
}

.contact-form-block h2 {
    margin-bottom: 2rem;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 1px solid var(--gray);
    font-family: inherit;
    font-size: 1rem;
    width: 100%;
}

.form-group textarea {
    resize: vertical;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
} 