/* Main CSS for AmbientFlow - Ambient Music Platform */

/* Color Palette Variables */
:root {
    --primary-color: #7968ed;
    --primary-light: #a089e9;
    --primary-dark: #4737b9;
    --secondary-color: #7ec6af;
    --secondary-light: #adf1df;
    --secondary-dark: #7ba99b;
    --accent-color: #f7e8d3;
    --accent-light: #dcd1c5;
    --accent-dark: #fde2a8;
    --neutral-light: #faf9f7;
    --neutral-dark: #4f5b7d;
    --success-color: #62ad8e;
    --warning-color: #ffed36;
    --danger-color: #ff6f82;
    --text-dark: #333c4f;
    --text-muted: #586b81;
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--neutral-light);
}

/* Conservative Typography */
.navbar-brand {
    font-size: 1.1rem;
    font-weight: 600;
}

h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

h3 {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--secondary-dark);
    margin-bottom: 0.6rem;
}

h4 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

h5 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Header Styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.navbar-brand {
    color: white;
    font-weight: 600;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    padding-top: 175px;
}

.hero-section h2 {
    color: var(--accent-light);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.hero-section p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.bg-light {
    background-color: var(--neutral-light);
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.feature-card i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.service-card img {
    height: 200px;
    object-fit: cover;
}

.service-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-top: 1rem;
    padding: 0.5rem;
    background: linear-gradient(135deg, var(--accent-light), var(--accent-color));
    border-radius: 6px;
}

/* Features Section */
.feature-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item i {
    color: var(--secondary-color);
    margin-top: 0.5rem;
}

/* Price Plan Cards */
.price-card {
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.price-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(145, 125, 248, 0.30);
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.price-large {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

/* Team Section */
.team-member img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid var(--accent-light);
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.1);
}

/* Review Cards */
.review-card {
    border: none;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-3px);
}

.review-card .blockquote-footer {
    font-style: italic;
    color: var(--primary-color);
}

/* Case Study Cards */
.case-card {
    border: none;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.case-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Process Steps */
.process-step {
    position: relative;
    margin-bottom: 2rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 12px rgba(123, 113, 244, 0.30);
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 3rem 0;
    display: flex;
    justify-content: center;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 400px;
    position: relative;
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Career Cards */
.career-card {
    border: none;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.career-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Core Info Cards */
.info-card {
    border: none;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Blog Cards */
.blog-card {
    border: none;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* FAQ Cards */
.faq-card {
    border: none;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.faq-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* Gallery */
#gallery img {
    border-radius: 8px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.contact-info {
    background: var(--neutral-light);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.1);
}

.contact-item h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: none;
    border-radius: 6px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(120, 113, 215, 0.40);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
}

footer h5 {
    color: var(--accent-light);
    margin-bottom: 1rem;
}

footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-light);
}

/* Breadcrumbs */
.breadcrumb-section {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.breadcrumb-img {
    height: 30px;
    opacity: 0.7;
}

/* Additional Page Styles */
.category-item,
.quality-item,
.rights-item,
.process-item,
.collaboration-item,
.tool-item,
.education-item,
.support-item,
.api-item,
.partner-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 1rem;
}

.category-item:hover,
.quality-item:hover,
.rights-item:hover,
.process-item:hover,
.collaboration-item:hover,
.tool-item:hover,
.education-item:hover,
.support-item:hover,
.api-item:hover,
.partner-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Space Page */
#space {
    min-height: 70vh;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    margin-top: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Form Controls */
.form-control {
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(89, 87, 252, 0.25);
}

/* Badges */
.badge {
    border-radius: 4px;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
}

/* Animations - Respect Prefers Reduced Motion */
@media (prefers-reduced-motion: no-preference) {
    .hero-section {
        animation: fadeIn 1s ease-out;
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
} 


/* 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;
}

.instagram-link {
    background: #e4405f;
    border: 2px solid #e4405f;
}

.instagram-link:hover {
    background: #d62976;
    border-color: #d62976;
}

.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;
    }
}
