/* Meditation & Mindfulness App - Main CSS */

/* Color Palette */
:root {
    /* Primary Colors */
    --primary-color: #6f2ce0;           /* Deep purple */
    --secondary-color: #199bca;        /* Cyan blue */
    --accent-color: #08b892;           /* Emerald green */
    --warm-color: #ee8300;             /* Amber */
    --soft-color: #f05dbd;             /* Pink */
    
    /* Light Shades */
    --primary-light: #b3aaff;
    --secondary-light: #4ee2f5;
    --accent-light: #6ffdbe;
    --warm-light: #f4b637;
    --soft-light: #ffc3df;
    
    /* Dark Shades */
    --primary-dark: #642ba6;
    --secondary-dark: #007db4;
    --accent-dark: #0d9672;
    --warm-dark: #f16100;
    --soft-dark: #d20776;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f8fafc;
    --gray: #5d6b7a;
    --dark-gray: #353a46;
    --black: #07090f;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--warm-color));
    --gradient-soft: linear-gradient(135deg, var(--soft-color), var(--primary-light));
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--black);
    margin-bottom: 1rem;
}

h1 { font-size: 2.31rem; }
h2 { font-size: 2.02rem; }
h3 { font-size: 1.58rem; }
h4 { font-size: 1.32rem; }
h5 { font-size: 1.16rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

/* Header */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(17px);
    border-bottom: 1px solid rgba(95, 59, 236, 0.10);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.34rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: var(--dark-gray) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-toggler {
    border: none;
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../ZYT_images/hero-bg-pattern.webp') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1.69rem;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.23rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 9px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(112, 44, 252, 0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    border-radius: 0;
}

/* Service Cards */
.service-card {
    height: 100%;
}

.service-card .card-body {
    padding: 1.5rem;
    text-align: center;
}

.service-card .price {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1rem;
}

/* Review Cards */
.review-card {
    background: var(--light-gray);
    height: 100%;
}

.review-card .card-body {
    padding: 2rem;
}

.review-card p {
    font-style: italic;
    margin-bottom: 1rem;
}

.review-card h6 {
    color: var(--primary-color);
    font-weight: 600;
}

/* Pricing Cards */
.pricing-card {
    height: 100%;
    position: relative;
}

.pricing-card.featured {
    border: 4px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card .card-header {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 2rem 1rem;
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 0.74rem;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
}

.pricing-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.pricing-card li:last-child {
    border-bottom: none;
}

/* Team Photos */
.team-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 6px solid var(--primary-light);
}

/* Process Steps */
.process-step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.52rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-light);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 5px 6px rgba(0, 0, 0, 0.1);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 15px;
    height: 15px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/* FAQ Accordion */
.accordion-button {
    background: var(--light-gray);
    border: none;
    font-weight: 600;
    color: var(--dark-gray);
}

.accordion-button:not(.collapsed) {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(116, 68, 230, 0.25);
}

/* Gallery */
.gallery-img {
    height: 250px;
    object-fit: cover;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.05);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 7px 6px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid var(--light-gray);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(165, 82, 242, 0.15);
}

.contact-info {
    padding: 2rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-info i {
    margin-right: 1rem;
    color: var(--primary-color);
    width: 20px;
}

/* Buttons */
.btn {
    border-radius: 0.5rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--gradient-accent);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Footer */
footer {
    background: var(--black) !important;
}

footer h5 {
    color: aliceblue;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-light) !important;
}

/* Utility Classes */
.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-accent {
    background: var(--gradient-accent);
}

.text-primary-custom {
    color: var(--primary-color);
}

/* Additional Page Elements */
.technique-card,
.practice-card,
.posture-card,
.time-card,
.advanced-card,
.program-card,
.sleep-card,
.focus-card,
.emotion-card,
.integration-card,
.career-card,
.core-info-item,
.case-study-card,
.blog-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.technique-card:hover,
.practice-card:hover,
.posture-card:hover,
.time-card:hover,
.advanced-card:hover,
.program-card:hover,
.sleep-card:hover,
.focus-card:hover,
.emotion-card:hover,
.integration-card:hover,
.career-card:hover,
.core-info-item:hover,
.case-study-card:hover,
.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 15px rgba(107, 49, 255, 0.15);
}

/* Breadcrumb */
.breadcrumb-section {
    margin-top: 70px;
    padding: 1rem 0;
}

.breadcrumb-img {
    height: 30px;
    width: auto;
}

/* Space Page */
#space {
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
}

#space::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../ZYT_images/space-bg.webp') center/cover;
    opacity: 0.1;
}

#space .display-1 {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 2px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Image Aspect Ratios */
img[src*="hero-meditation.webp"] {
    height: 400px;
    width: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

img[src*="service-"] {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

img[src*="team_"] {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

img[src*="blog-"] {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

img[src*="gallery-"] {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

/* High contrast for accessibility */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #6812b3;
        --secondary-color: #047baf;
        --gray: #383e4c;
        --dark-gray: #1d263d;
    }
    
    .card {
        border: 2px solid var(--dark-gray);
    }
} 


/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

.social-icons-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
