/* ===================================
   BEAUTY SALON LANDING PAGE STYLES
   =================================== */

/* CSS Variables - Color Scheme */
:root {
    /* Warm Rose Gold & Blush Pink Color Scheme */
    --primary: #c9a961;
    --primary-dark: #b8954e;
    --primary-light: #e8d5a3;
    --accent: #d4a574;
    --accent-rose: #e8b4b8;
    --text-dark: #2d2d2d;
    --text-medium: #5a5a5a;
    --text-light: #7a7a7a;
    --bg-warm: #faf8f5;
    --bg-cream: #fffef9;
    --white: #ffffff;
    
    /* Gradients */
    --gradient-1: linear-gradient(135deg, #c9a961 0%, #e8b4b8 100%);
    --gradient-2: linear-gradient(135deg, #f5e6d3 0%, #e8d5a3 100%);
    
    /* Shadows */
    --shadow-soft: 0 10px 40px rgba(201, 169, 97, 0.15);
    --shadow-medium: 0 15px 50px rgba(201, 169, 97, 0.2);
    --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.15);
    
    /* Border Radius */
    --border-radius: 20px;
    --border-radius-sm: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-warm);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--primary);
}

.btn-small {
    padding: 10px 25px;
    font-size: 0.95rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    color: var(--white);
    padding: 140px 0 180px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
    background: var(--gradient-1);
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* SVG Background Pattern */
.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.8;
}

/* Animated Circles */
.hero-circle {
    animation: float 20s ease-in-out infinite;
}

.hero-circle:nth-child(1) { animation-delay: 0s; }
.hero-circle:nth-child(2) { animation-delay: -5s; }
.hero-circle:nth-child(3) { animation-delay: -10s; }
.hero-circle:nth-child(4) { animation-delay: -15s; }
.hero-circle:nth-child(5) { animation-delay: -7s; }
.hero-circle:nth-child(6) { animation-delay: -12s; }

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(20px, -20px) scale(1.05);
    }
    50% {
        transform: translate(-10px, 20px) scale(0.95);
    }
    75% {
        transform: translate(15px, 10px) scale(1.02);
    }
}

/* Waves */
.hero-wave {
    animation: waveMove 30s ease-in-out infinite;
}

.hero-wave:nth-child(7) { animation-duration: 25s; }
.hero-wave:nth-child(8) { animation-duration: 30s; }
.hero-wave:nth-child(9) { animation-duration: 35s; }

@keyframes waveMove {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(-30px) translateY(-10px);
    }
}

/* Sparkles */
.hero-sparkle {
    animation: sparkle 3s ease-in-out infinite;
}

.hero-sparkle:nth-child(odd) {
    animation-delay: 0s;
}

.hero-sparkle:nth-child(even) {
    animation-delay: 1.5s;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

/* Hero Logo Badge */
.hero-badge {
    margin-bottom: 30px;
    animation: badgePulse 3s ease-in-out infinite;
}

.hero-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Bottom Wave Divider */
.hero-bottom-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 3;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 50px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   SECTION STYLES
   =================================== */

section {
    padding: 100px 0;
}

section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about {
    background: var(--bg-cream);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-image-badge {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background: var(--primary);
    color: var(--white);
    padding: 20px 30px;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: var(--shadow-medium);
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--primary);
    font-weight: 700;
}

.about-text p {
    color: var(--text-medium);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.check-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}

/* ===================================
   SERVICES SECTION
   =================================== */

.services {
    background: var(--bg-warm);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-medium);
}

.service-image {
    height: 200px;
    background: var(--gradient-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.service-card-content {
    padding: 35px 30px;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 700;
}

.service-card p {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* ===================================
   GALLERY SECTION
   =================================== */

.gallery {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gallery-item {
    height: 350px;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img,
.gallery-item .gallery-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img,
.gallery-item:hover .gallery-svg {
    transform: scale(1.1);
}

.gallery-svg {
    display: block;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 30px 20px 20px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */

.testimonials {
    background: var(--gradient-2);
}

.testimonial-card {
    background: var(--white);
    padding: 50px;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: var(--shadow-strong);
}

.testimonial-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 25px;
    border: 4px solid var(--primary);
    object-fit: cover;
}

.stars {
    color: #ffd700;
    font-size: 1.8rem;
    margin-bottom: 25px;
    letter-spacing: 5px;
}

.testimonial-text {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-medium);
    margin-bottom: 25px;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

/* ===================================
   FEATURES SECTION
   =================================== */

.features {
    background: var(--bg-cream);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 40px 25px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-1);
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: var(--shadow-soft);
}

.feature-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
}

.feature-item p {
    color: var(--text-light);
    font-size: 1rem;
}

/* ===================================
   PRICING SECTION
   =================================== */

.pricing {
    background: var(--bg-warm);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.pricing-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.pricing-card.featured {
    border: 3px solid var(--primary);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Популярный';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 40px;
    font-size: 0.85rem;
    font-weight: 700;
    transform: rotate(45deg);
}

.pricing-card h3 {
    font-size: 1.7rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
}

.price {
    font-size: 3rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 20px;
}

.price span {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 400;
}

.pricing-card p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 35px;
    text-align: left;
    padding-left: 20px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-warm);
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-dark);
    font-weight: 700;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 25px;
    background: var(--bg-warm);
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: var(--gradient-2);
    transform: translateX(10px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-soft);
}

.contact-item-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.contact-item-text span {
    color: var(--text-light);
    font-size: 1.05rem;
}

.map {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===================================
   FINAL CTA
   =================================== */

.final-cta {
    background: var(--gradient-1);
    color: var(--white);
    text-align: center;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.final-cta-content {
    position: relative;
    z-index: 2;
}

.final-cta h2 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 3rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.final-cta p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 40px 0;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    margin: 0 15px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer p {
    opacity: 0.8;
    font-size: 1rem;
}

/* ===================================
   ANIMATIONS
   =================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: none;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .about-image img {
        height: 350px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    section h2 {
        font-size: 2.2rem;
    }

    .btn {
        padding: 15px 35px;
        font-size: 1rem;
    }

    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .btn-small {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 140px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .about-image-badge {
        right: 0;
        font-size: 1.2rem;
        padding: 15px 20px;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .final-cta h2 {
        font-size: 2rem;
    }
}
