/*
 * Cattoc Hair Studio - Soft UI Design System
 * Serene, calming aesthetics with pastel colors
 */

:root {
    /* Soft Pastel Palette */
    --soft-cream: #faf8f5;
    --soft-blush: #f8e8e0;
    --soft-lavender: #e8e4f0;
    --soft-mint: #e0f0e8;
    --soft-sky: #e4ecf4;
    --soft-peach: #fce8dc;
    --soft-rose: #f0e0e4;

    /* Primary Soft Colors */
    --primary-soft: #a89080;
    --primary-dark: #7a6860;
    --accent-warm: #d4a88c;
    --accent-cool: #9cb4c8;

    /* Text Colors */
    --text-primary: #4a4540;
    --text-secondary: #7a7570;
    --text-muted: #a0988f;

    /* Soft UI Shadows (Neumorphism-inspired) */
    --shadow-soft: 8px 8px 16px rgba(166, 158, 150, 0.15),
                   -8px -8px 16px rgba(255, 255, 255, 0.8);
    --shadow-soft-inset: inset 4px 4px 8px rgba(166, 158, 150, 0.1),
                         inset -4px -4px 8px rgba(255, 255, 255, 0.9);
    --shadow-soft-hover: 12px 12px 24px rgba(166, 158, 150, 0.2),
                         -12px -12px 24px rgba(255, 255, 255, 0.9);
    --shadow-card: 0 4px 20px rgba(166, 158, 150, 0.12);
    --shadow-card-hover: 0 8px 32px rgba(166, 158, 150, 0.18);

    /* Border Radius - Rounded for soft feel */
    --radius-soft: 20px;
    --radius-pill: 50px;
    --radius-circle: 50%;

    /* Transitions */
    --transition-soft: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Soft UI Base */
.soft-ui-page {
    background: linear-gradient(135deg, var(--soft-cream) 0%, var(--soft-blush) 50%, var(--soft-lavender) 100%);
    min-height: 100vh;
    font-family: 'Quicksand', system-ui, -apple-system, sans-serif;
    color: var(--text-primary);
}

/* Soft Navigation */
.soft-navbar {
    background: rgba(250, 248, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(168, 144, 128, 0.1);
    padding: 1rem 0;
}

.soft-navbar .navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--primary-soft) !important;
    letter-spacing: 1px;
}

.soft-navbar .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.5rem 1.25rem !important;
    border-radius: var(--radius-pill);
    transition: var(--transition-soft);
}

.soft-navbar .nav-link:hover,
.soft-navbar .nav-link.active {
    color: var(--primary-soft) !important;
    background: rgba(168, 144, 128, 0.1);
}

/* Soft Button Styles */
.btn-soft {
    background: linear-gradient(145deg, #ffffff, #f0ebe6);
    border: none;
    border-radius: var(--radius-pill);
    padding: 0.875rem 2rem;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-soft);
}

.btn-soft:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft-hover);
    color: var(--primary-soft);
}

.btn-soft:active {
    transform: translateY(0);
    box-shadow: var(--shadow-soft-inset);
}

.btn-soft-primary {
    background: linear-gradient(145deg, var(--accent-warm), var(--primary-soft));
    color: white;
}

.btn-soft-primary:hover {
    background: linear-gradient(145deg, #e0b89c, #b8a090);
    color: white;
}

.btn-soft-outline {
    background: transparent;
    border: 2px solid var(--primary-soft);
    color: var(--primary-soft);
    box-shadow: none;
}

.btn-soft-outline:hover {
    background: var(--primary-soft);
    color: white;
    box-shadow: var(--shadow-soft);
}

/* Soft Card */
.soft-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-soft);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-card);
    transition: var(--transition-soft);
    overflow: hidden;
}

.soft-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

/* Hero Section */
.soft-hero {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.soft-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--soft-peach) 0%, transparent 70%);
    opacity: 0.6;
    animation: float 8s ease-in-out infinite;
}

.soft-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--soft-lavender) 0%, transparent 70%);
    opacity: 0.5;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, -30px) rotate(5deg); }
}

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

.soft-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.soft-hero h1 span {
    background: linear-gradient(135deg, var(--accent-warm), var(--primary-soft));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.soft-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 500px;
    line-height: 1.8;
}

/* Hero Image Container */
.soft-hero-image {
    position: relative;
    z-index: 1;
}

.soft-hero-image .image-wrapper {
    position: relative;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    overflow: hidden;
    box-shadow: var(--shadow-card-hover);
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}

.soft-hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.soft-hero-image .placeholder-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--soft-blush), var(--soft-lavender));
    display: flex;
    align-items: center;
    justify-content: center;
}

.soft-hero-image .placeholder-image i {
    font-size: 6rem;
    color: var(--primary-soft);
    opacity: 0.5;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    border-radius: var(--radius-circle);
    background: rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-soft);
    animation: floatElement 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 60px;
    height: 60px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 40px;
    height: 40px;
    top: 60%;
    left: 10%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 5%;
    animation-delay: 4s;
}

@keyframes floatElement {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Section Styles */
.soft-section {
    padding: 5rem 0;
    position: relative;
}

.soft-section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.soft-section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.soft-section-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.soft-section-title .title-decoration {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-warm), var(--primary-soft));
    border-radius: var(--radius-pill);
    margin: 1rem auto 0;
}

/* Service Menu Cards */
.service-soft-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-soft);
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-card);
    transition: var(--transition-soft);
    height: 100%;
}

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

.service-soft-card .service-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-circle);
    background: linear-gradient(135deg, var(--soft-blush), var(--soft-lavender));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition-soft);
}

.service-soft-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--accent-warm), var(--primary-soft));
}

.service-soft-card .service-icon i {
    font-size: 2rem;
    color: var(--primary-soft);
    transition: var(--transition-soft);
}

.service-soft-card:hover .service-icon i {
    color: white;
}

.service-soft-card h5 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.service-soft-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.service-soft-card .service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-warm);
}

.service-soft-card .service-duration {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Before/After Gallery */
.gallery-soft-card {
    position: relative;
    border-radius: var(--radius-soft);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    cursor: pointer;
}

.gallery-soft-card .gallery-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.gallery-soft-card .gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-soft);
}

.gallery-soft-card:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-soft-card .gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-soft);
    opacity: 0.5;
}

.gallery-soft-card .gallery-before {
    background: linear-gradient(135deg, var(--soft-rose), var(--soft-blush));
}

.gallery-soft-card .gallery-after {
    background: linear-gradient(135deg, var(--soft-mint), var(--soft-sky));
}

.gallery-soft-card .gallery-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.gallery-soft-card .gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.95));
}

.gallery-soft-card .gallery-overlay h6 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.gallery-soft-card .gallery-overlay span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Booking Preview */
.booking-preview {
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-soft);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
}

.booking-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.booking-step:last-child {
    margin-bottom: 0;
}

.booking-step-number {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-circle);
    background: linear-gradient(135deg, var(--accent-warm), var(--primary-soft));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-right: 1.5rem;
}

.booking-step-content h5 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.booking-step-content p {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.booking-preview-visual {
    background: linear-gradient(135deg, var(--soft-blush), var(--soft-lavender));
    border-radius: var(--radius-soft);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}

.booking-preview-visual .calendar-preview {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-soft);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    width: 100%;
    max-width: 300px;
}

.calendar-preview-header {
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.calendar-preview-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    text-align: center;
}

.calendar-preview-days span {
    padding: 0.5rem;
    border-radius: var(--radius-soft);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.calendar-preview-days span.day-header {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.calendar-preview-days span.active {
    background: linear-gradient(135deg, var(--accent-warm), var(--primary-soft));
    color: white;
    font-weight: 600;
}

.calendar-preview-days span.available {
    background: var(--soft-mint);
    cursor: pointer;
}

/* Testimonials */
.testimonial-soft-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-soft);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-soft);
    height: 100%;
}

.testimonial-soft-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.testimonial-soft-card .testimonial-quote {
    font-size: 2rem;
    color: var(--accent-warm);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.testimonial-soft-card .testimonial-text {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-soft-card .testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-soft-card .author-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-circle);
    background: linear-gradient(135deg, var(--soft-blush), var(--soft-lavender));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: 600;
    color: var(--primary-soft);
}

.testimonial-soft-card .author-info h6 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.testimonial-soft-card .author-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-soft-card .testimonial-rating {
    color: var(--accent-warm);
    margin-bottom: 1rem;
}

/* CTA Section */
.soft-cta {
    background: linear-gradient(135deg, var(--soft-blush), var(--soft-peach));
    border-radius: var(--radius-soft);
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.soft-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
}

.soft-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.soft-cta p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

/* Soft Footer */
.soft-footer {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(20px);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(168, 144, 128, 0.1);
}

.soft-footer h5 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.soft-footer p,
.soft-footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-soft);
}

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

.soft-footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: var(--radius-circle);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-soft);
    margin-right: 0.75rem;
    color: var(--text-secondary);
    font-size: 1.25rem;
    transition: var(--transition-soft);
}

.soft-footer .social-links a:hover {
    transform: translateY(-3px);
    color: var(--primary-soft);
    box-shadow: var(--shadow-soft-hover);
}

.soft-footer .footer-bottom {
    border-top: 1px solid rgba(168, 144, 128, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 991.98px) {
    .soft-hero h1 {
        font-size: 2.5rem;
    }

    .soft-hero-image .image-wrapper,
    .soft-hero-image .placeholder-image {
        height: 300px;
    }

    .soft-section {
        padding: 3rem 0;
    }
}

@media (max-width: 575.98px) {
    .soft-hero {
        padding: 3rem 0;
    }

    .soft-hero h1 {
        font-size: 2rem;
    }

    .soft-cta {
        padding: 2.5rem 1.5rem;
    }

    .soft-cta h2 {
        font-size: 1.75rem;
    }

    .btn-soft {
        width: 100%;
        margin-bottom: 0.75rem;
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
