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

body {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    font-size: 16px;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Используем отдельный класс для flex-контейнеров */
.container-flex {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

a:hover {
    color: #a367dc;
}

ul {
    list-style: none;
}

/* Header Styles */
header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.header-top {
    background-color: #f5f5f5;
    padding: 10px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    align-items: center;
}

.contact-info a, .contact-info span {
    margin-right: 20px;
    color: #666;
}

.contact-info i {
    margin-right: 5px;
    color: #a367dc;
}

.social-icons a {
    margin-left: 15px;
    color: #666;
    font-size: 16px;
}

.social-icons a:hover {
    color: #a367dc;
}

.header-main {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo a {
    display: flex;
    align-items: center;
}

.main-menu ul {
    display: flex;
    list-style: none;
}

.main-menu li {
    margin: 0 15px;
}

.main-menu a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.main-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #ff6b9e, #a367dc);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.main-menu a:hover:after {
    width: 100%;
}

.user-actions {
    display: flex;
    align-items: center;
}

.login-btn, .register-btn, .profile-btn, .logout-btn {
    margin-right: 15px;
    font-weight: 500;
}

.login-btn i, .register-btn i, .profile-btn i, .logout-btn i {
    margin-right: 5px;
}

.booking-btn {
    background: linear-gradient(135deg, #ff6b9e, #a367dc);
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.booking-btn:hover {
    background: linear-gradient(135deg, #ff85af, #b37de6);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Alert Messages */
.alert {
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
    text-align: center;
}

.alert-danger {
    background-color: #ffe5e5;
    color: #d32f2f;
    border: 1px solid #ffcccc;
}

.alert-success {
    background-color: #e8f5e9;
    color: #4caf50;
    border: 1px solid #c8e6c9;
}

/* Main Content */
main {
    min-height: 400px;
    padding: 30px 0;
}

/* Footer Styles */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-column h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background: linear-gradient(135deg, #ff6b9e, #a367dc);
    bottom: 0;
    left: 0;
}

.footer-column p, .footer-column a {
    color: #aaa;
    margin-bottom: 10px;
    display: block;
}

.footer-column a:hover {
    color: #fff;
}

.footer-column i {
    margin-right: 10px;
    color: #a367dc;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .main-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .footer-column {
        width: 48%;
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .header-top .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .social-icons {
        margin-top: 10px;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-info a, .contact-info span {
        margin-bottom: 5px;
    }
    
    .user-actions {
        margin-top: 15px;
    }
    
    .footer-column {
        width: 100%;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 30px;
}

.btn-primary {
    background-color: #a48257;
    color: #fff;
    padding: 12px 30px;
    border-radius: 4px;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #8a6a45;
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: #a48257;
    padding: 10px 25px;
    border-radius: 4px;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 500;
    border: 2px solid #a48257;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #a48257;
    color: #fff;
}

/* Features Section */
.features-section {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.features-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.feature-item {
    width: 30%;
    text-align: center;
    padding: 20px;
}

.feature-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #a48257;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 40px;
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Section Heading */
.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.section-heading h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.heading-line {
    width: 80px;
    height: 3px;
    background-color: #a48257;
    margin: 0 auto;
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-text {
    width: 60%;
    padding-right: 40px;
}

.about-text p {
    margin-bottom: 20px;
}

.collapse-content {
    display: none;
}

.collapse-content.show {
    display: block;
}

.about-image {
    width: 40%;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.read-more-btn,
.read-less-btn {
    background: none;
    border: none;
    color: #a48257;
    cursor: pointer;
    font-weight: 500;
    padding: 0;
}

.hidden {
    display: none;
}

/* Services Preview Section */
.services-preview-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.service-card {
    width: 31%;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

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

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-info {
    padding: 20px;
}

.service-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.service-info p {
    color: #666;
    margin-bottom: 15px;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.service-duration {
    color: #777;
    font-size: 14px;
}

.service-duration i {
    margin-right: 5px;
    color: #a48257;
}

.service-link {
    color: #a48257;
    font-weight: 500;
}

.section-footer {
    text-align: center;
    margin-top: 30px;
}

/* Why Us Section */
.why-us-section {
    padding: 80px 0;
}

.why-us-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.why-us-item {
    width: 23%;
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
}

.why-us-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #a48257;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.why-us-icon i {
    font-size: 30px;
}

.why-us-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.why-us-item p {
    color: #666;
    font-size: 14px;
}

/* Services Page */
.services-page {
    padding: 60px 0;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.breadcrumbs {
    margin-bottom: 30px;
    font-size: 14px;
}

.breadcrumbs a {
    color: #a48257;
}

.breadcrumbs span {
    color: #666;
}

/* Service Detail */
.service-detail {
    padding: 60px 0;
}

.service-main {
    display: flex;
    margin-bottom: 40px;
}

.service-main .service-image {
    width: 40%;
    height: auto;
    margin-right: 40px;
}

.service-main .service-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-main .service-info {
    width: 60%;
}

.service-main .service-info h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.service-meta {
    margin-bottom: 20px;
    color: #666;
}

.service-description {
    margin-bottom: 30px;
}

.service-description h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.service-cosmetologists h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.cosmetologists-list {
    display: flex;
    flex-wrap: wrap;
}

.cosmetologist-card {
    width: 48%;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
}

.cosmetologist-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.cosmetologist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cosmetologist-info {
    flex-grow: 1;
}

.cosmetologist-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.cosmetologist-info .price {
    color: #a48257;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 10px;
}

.cosmetologist-info .btn-primary {
    padding: 8px 15px;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .feature-item {
        width: 48%;
    }
    
    .service-card {
        width: 48%;
    }
    
    .why-us-item {
        width: 48%;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text, .about-image {
        width: 100%;
        padding-right: 0;
    }
    
    .about-image {
        margin-top: 30px;
    }
    
    .service-main {
        flex-direction: column;
    }
    
    .service-main .service-image, .service-main .service-info {
        width: 100%;
        margin-right: 0;
    }
    
    .service-main .service-image {
        margin-bottom: 30px;
    }
    
    .cosmetologist-card {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .feature-item {
        width: 100%;
    }
    
    .service-card {
        width: 100%;
    }
    
    .why-us-item {
        width: 100%;
    }
} 