/* WriteFlow Creative Writing Workshop - Main CSS */

/* Color Palette - 5 Primary Colors + Shades */
:root {
    /* Primary Colors - High Contrast Pastels */
    --primary-purple: #9c50f7;
    --primary-blue: #51a5ff;
    --primary-teal: #0992c4;
    --primary-coral: #ff4f10;
    --primary-rose: #fa4587;
    
    /* Light Shades */
    --light-purple: #cfc4fe;
    --light-blue: #c6e6ff;
    --light-teal: #d5f7fe;
    --light-coral: #efd9a7;
    --light-rose: #ffe9f9;
    
    /* Dark Shades */
    --dark-purple: #611dc2;
    --dark-blue: #2a54b8;
    --dark-teal: #136492;
    --dark-coral: #d02e06;
    --dark-rose: #a70a55;
    
    /* Neutral Colors */
    --gray-100: #F3F4F6;
    --gray-200: #d2d9ef;
    --gray-300: #dde5ed;
    --gray-600: #33414b;
    --gray-800: #161b22;
    --gray-900: #0a0f1d;
    
    /* Font Sizes - Conservative */
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: #fff;
}

/* Typography - Conservative Sizes */
h1 { font-size: var(--font-size-3xl); font-weight: 700; }
h2 { font-size: var(--font-size-2xl); font-weight: 600; }
h3 { font-size: var(--font-size-xl); font-weight: 600; }
h4 { font-size: var(--font-size-lg); font-weight: 500; }
h5 { font-size: var(--font-size-base); font-weight: 500; }
h6 { font-size: var(--font-size-sm); font-weight: 500; }

p { margin-bottom: 1rem; }

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Header & Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    backdrop-filter: blur(11px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: var(--font-size-lg) !important; /* Conservative brand size */
    font-weight: 700;
    color: white !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-1px);
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--light-purple), var(--light-blue));
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../ZEN_images/hero-writer.webp') center/cover;
    opacity: 0.1;
    z-index: 1;
}

#hero .container {
    position: relative;
    z-index: 2;
}

#hero h1 {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-coral));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

/* Section Styling */
.py-5 {
    padding: 4rem 0;
}

.bg-light {
    background: linear-gradient(135deg, var(--light-teal), var(--light-rose)) !important;
}

/* Cards */
.feature-card, .service-card, .review-card, .case-study-card, 
.career-card, .info-card, .blog-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 7px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--gray-200);
}

.feature-card:hover, .service-card:hover, .review-card:hover,
.case-study-card:hover, .career-card:hover, .info-card:hover,
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Service Cards */
.service-card img, .blog-card img, .case-study-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-coral);
    margin-top: 1rem;
}

/* Price Plan Cards */
.price-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 9px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 5px solid var(--gray-200);
}

.price-card.featured {
    border-color: var(--primary-purple);
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--light-purple), var(--light-blue));
}

.price-amount {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--primary-purple);
    margin: 1rem 0;
}

/* Team Photos */
.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 5px solid var(--primary-teal);
}

/* Process Steps */
.process-step {
    text-align: center;
    position: relative;
    margin-bottom: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    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: linear-gradient(to bottom, var(--primary-purple), var(--primary-coral));
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
    width: 45%;
}

.timeline-item:nth-child(odd) {
    margin-left: 0;
}

.timeline-item:nth-child(even) {
    margin-left: 55%;
}

.timeline-year {
    background: var(--primary-purple);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 7px 6px rgba(0,0,0,0.05);
}

.form-control {
    border: 2px solid var(--gray-200);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 9px rgba(110, 72, 228, 0.10);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(143, 105, 227, 0.30);
    background: linear-gradient(135deg, var(--dark-purple), var(--dark-blue));
}

.btn-outline-primary {
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    border-radius: 0.5rem;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-2px);
}

/* FAQ Accordion */
.accordion-button {
    background: var(--light-purple);
    border: none;
    font-weight: 600;
    color: var(--gray-800);
}

.accordion-button:not(.collapsed) {
    background: var(--primary-purple);
    color: white;
}

.accordion-item {
    border: 1px solid var(--gray-200);
    margin-bottom: 0.61rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

/* Gallery */
.gallery-img {
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--gray-800), var(--gray-900)) !important;
}

footer a {
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--primary-teal) !important;
}

/* Breadcrumb */
.breadcrumb-section {
    background: var(--light-purple);
    padding: 1rem 0;
    margin-top: 76px;
}

.breadcrumb-img {
    height: 24px;
    width: auto;
}

/* Icons */
.fas {
    color: var(--primary-purple);
}

/* Feature Items */
.feature-item, .element-card, .technique-card, .genre-card, 
.editing-step, .mindset-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    height: 100%;
}

.feature-item:hover, .element-card:hover, .technique-card:hover,
.genre-card:hover, .editing-step:hover, .mindset-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.genre-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

/* Space Page */
#space {
    background: linear-gradient(135deg, var(--light-purple), var(--light-teal));
    padding-top: 100px;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-coral));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Image Resolutions for Future-Proofing */
img[src*="hero-"] { max-width: 500px; height: auto; }
img[src*="service-"] { width: 100%; height: 200px; object-fit: cover; }
img[src*="team_"] { width: 120px; height: 120px; object-fit: cover; }
img[src*="case-study-"] { width: 100%; height: 180px; object-fit: cover; }
img[src*="blog-"] { width: 100%; height: 160px; object-fit: cover; }
img[src*="gallery-"] { width: 100%; height: 200px; object-fit: cover; }
img[src*="genre-"] { width: 80px; height: 80px; object-fit: cover; }
img[src*="breadcrumb-"] { height: 24px; width: auto; } 


/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

.social-icons-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.9);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.9);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
}

.x-link {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 19px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}
