/* PriceCoach AI - Main CSS */

/* Color Variables */
:root {
    --primary-color: #606dfd;
    --primary-light: #8096f7;
    --primary-dark: #2a31a1;
    --secondary-color: #15b2ec;
    --secondary-light: #80fdff;
    --secondary-dark: #048bbb;
    --accent-color: #f5960e;
    --accent-light: #ffe566;
    --accent-dark: #d47304;
    --success-color: #06c39d;
    --success-light: #5be99c;
    --success-dark: #0d866b;
    --warning-color: #ee9119;
    --warning-light: #feba8b;
    --warning-dark: #ff4300;
    --text-dark: #1d2833;
    --text-light: #666c7f;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-color: #dde2fa;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.55rem;
    color: var(--primary-dark);
}

h2 {
    font-size: 2rem;
    color: var(--primary-dark);
}

h3 {
    font-size: 1.52rem;
    color: var(--text-dark);
}

h4 {
    font-size: 1.35rem;
    color: var(--text-dark);
}

h5 {
    font-size: 1.21rem;
    color: var(--text-dark);
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-light);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

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

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

/* Header */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(98, 81, 206, 0.95);
    backdrop-filter: blur(20px);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.53rem;
    font-weight: 700;
    color: var(--bg-white);
    text-decoration: none;
}

.navbar-brand:hover {
    color: var(--accent-light);
}

.navbar-nav .nav-link {
    color: var(--bg-white);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-light);
    transform: translateY(-2px);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Sections */
section {
    padding: 4rem 0;
}

section:nth-child(even) {
    background-color: var(--bg-light);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.webp') center/cover;
    opacity: 0.1;
    z-index: 1;
}

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

.hero-section h1 {
    color: var(--bg-white);
    font-size: 3rem;
    margin-bottom: 1rem;
    padding-top: 250px;
}

.hero-section p {
    color: var(--bg-white);
    font-size: 1.21rem;
    margin-bottom: 1.55rem;
}

/* Feature Cards */
.feature-card {
    background: var(--bg-white);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

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

/* Service Cards */
.service-card {
    background: var(--bg-white);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.service-card h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.service-card p:last-of-type {
    font-size: 1.27rem;
    font-weight: 700;
    color: var(--accent-color);
}

/* Feature Items */
.feature-item {
    text-align: center;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.feature-item i {
    font-size: 2.54rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-item h4,
.feature-item h5 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

/* Pricing Cards */
.pricing-card {
    background: var(--bg-white);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    border: 2px solid transparent;
}

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

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

.pricing-card h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.pricing-card p:last-of-type {
    font-size: 1.62rem;
    font-weight: 700;
    color: var(--accent-color);
}

/* Team Members */
.team-member {
    text-align: center;
    margin-bottom: 2rem;
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    margin-bottom: 1rem;
}

.team-member h5 {
    color: var(--primary-dark);
    margin-bottom: 0.73rem;
}

.team-member p {
    color: var(--text-light);
    font-size: 0.92rem;
}

/* Review Cards */
.review-card {
    background: var(--bg-white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.review-card p:first-child {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.review-card p:last-child {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0;
}

/* Case Study Cards */
.case-study-card {
    background: var(--bg-white);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.case-study-card h4 {
    color: var(--success-color);
    margin-bottom: 1rem;
}

/* Process Steps */
.process-step {
    text-align: center;
    margin-bottom: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.60rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-step h5 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

/* Timeline Items */
.timeline-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-item h5 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

/* Career Cards */
.career-card {
    background: var(--bg-white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.career-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.career-card h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.career-card span {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
}

/* Info Cards */
.info-card {
    background: var(--bg-white);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-card h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form label {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-form input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.contact-form button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Contact Info */
.contact-info {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.contact-info p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Blog Cards */
.blog-card {
    background: var(--bg-white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.blog-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.blog-card a:hover {
    color: var(--primary-dark);
}

/* FAQ Accordion */
.accordion-item {
    margin-bottom: 1rem;
    border: none;
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.accordion-button {
    background: var(--bg-white);
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: var(--bg-white);
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    padding: 1.5rem;
}

/* Gallery */
.gallery-item {
    padding: 0.5rem;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

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

/* Breadcrumbs */
.breadcrumb-nav {
    background: var(--bg-light);
    padding: 1rem 0;
    margin-top: 80px;
}

.breadcrumb-icon {
    width: 20px;
    height: 20px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-dark), var(--primary-dark));
    color: var(--bg-white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer h5 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.footer p {
    color: var(--bg-white);
    margin-bottom: 0.70rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.60rem;
}

.footer-links a {
    color: var(--bg-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer small {
    color: var(--text-light);
    font-size: 0.82rem;
}

/* Space Page */
#space {
    min-height: 80vh;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    margin-top: 80px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* Touch device enhancements */
.touched {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* Keyboard navigation enhancements */
.keyboard-navigation *:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading states */
.image-error {
    filter: grayscale(100%);
    opacity: 0.5;
}

/* Back to top button animation */
.back-to-top:hover {
    transform: scale(1.1);
}

/* Form enhancements */
.contact-form .form-error {
    color: var(--warning-color);
    font-size: 1.02rem;
    margin-top: 0.42rem;
}

/* Notification enhancements */
.notification-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.25rem;
    margin-left: auto;
    border-radius: 0.25rem;
    transition: background-color 0.2s ease;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Page Sections */
.page-section {
    padding: 4rem 0;
}

.page-section:nth-child(even) {
    background-color: var(--bg-light);
} 


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