/* Main CSS for PhotoRestore AI - Bootstrap 5 Compliant */

/* CSS Variables - 5 Primary Colors + Shades */
:root {
    /* Primary Pastel Color Palette */
    --primary-blue: #6c8ebf;
    --primary-green: #82c09a;
    --primary-purple: #9b7bb8;
    --primary-orange: #f4a261;
    --primary-coral: #e76f51;
    
    /* Light Shades */
    --light-blue: #a8c4e2;
    --light-green: #b8d4c6;
    --light-purple: #c4a8d8;
    --light-orange: #f8c794;
    --light-coral: #f19a88;
    
    /* Dark Shades */
    --dark-blue: #4a6b8a;
    --dark-green: #5d8b70;
    --dark-purple: #715a85;
    --dark-orange: #d68843;
    --dark-coral: #c54a2e;
    
    /* Neutral Colors */
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    
    /* Typography */
    --font-size-base: 16px;
    --font-size-small: 14px;
    --line-height-base: 1.6;
}

/* Global Typography Settings */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Conservative Font Sizes */
.navbar-brand {
    font-size: 1.25rem;
}

h1, .display-4 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p, .lead {
    font-size: var(--font-size-base);
}

/* Hero Section Styling */
.hero-section {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-purple) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: var(--primary-coral);
    border-radius: 50%;
    opacity: 0.1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 150px;
    height: 150px;
    background: var(--primary-green);
    border-radius: 50%;
    opacity: 0.1;
}

/* Button Customizations */
.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
}

.btn-outline-primary {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-outline-primary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Card Enhancements */
.card {
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

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

/* Background Colors */
.bg-light {
    background-color: var(--bg-light);
}

/* Icon Styling */
.fas, .far, .fab {
    color: var(--primary-blue);
}

/* Text Colors */
.text-primary {
    color: var(--primary-blue);
}

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

.text-muted {
    color: var(--text-light);
}

/* Process Steps Styling */
.process-step {
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 100%;
    width: 50px;
    height: 2px;
    background: var(--light-blue);
    z-index: 1;
}

.process-step:last-child::after {
    display: none;
}

/* Timeline Styling */
.timeline-item {
    position: relative;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--primary-blue);
}

/* Team Member Cards */
.team-member img {
    transition: transform 0.3s ease;
}

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

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

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

footer p, footer a {
    color: var(--text-light);
}

footer a:hover {
    color: var(--primary-blue);
    text-decoration: none;
}

/* Form Styling */
.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(108, 142, 191, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Navigation Styling */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-blue);
}

/* Gallery Styling */
.gallery img {
    transition: transform 0.3s ease;
}

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

/* Accessibility - Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .card:hover {
        transform: none;
    }
    
    .team-member:hover img {
        transform: none;
    }
    
    .gallery a:hover img {
        transform: none;
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: 0 10px 30px rgba(108, 142, 191, 0.1);
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Shapes */
.shape-blob {
    background: var(--light-coral);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.1;
    position: absolute;
    animation: blob 8s infinite;
}

@keyframes blob {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(0deg);
    }
    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
        transform: rotate(180deg);
    }
}

/* Pricing Card Special Styling */
.pricing-featured {
    border: 2px solid var(--primary-blue);
    position: relative;
}

.pricing-featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* FAQ Cards */
.faq-card {
    border-left: 4px solid var(--primary-blue);
}

/* Blog Cards */
.blog-card img {
    height: 200px;
    object-fit: cover;
}

/* Contact Form Background */
.contact-form-bg {
    background: linear-gradient(135deg, var(--white) 0%, var(--bg-light) 100%);
}

/* Services Grid Enhancement */
.service-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

/* Features Section Icons */
.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

/* Testimonial Cards */
.testimonial-card {
    background: var(--white);
    border-left: 4px solid var(--primary-green);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-green);
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.3;
}

/* Case Study Cards */
.case-study-card img {
    height: 250px;
    object-fit: cover;
}

/* Core Info Grid */
.core-info-item {
    text-align: center;
    padding: 2rem 1rem;
}

.core-info-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

/* Career Cards */
.career-card {
    background: var(--white);
    border: 1px solid var(--light-blue);
    transition: all 0.3s ease;
}

.career-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 5px 15px rgba(108, 142, 191, 0.1);
}

/* Timeline Enhancement */
.timeline-year {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

/* Process Steps Enhancement */
.process-number {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}


.hero-section h1 {
    padding-top: 200px;
}


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.instagram-link {
    background: linear-gradient(45deg, #e4405f, #f77737, #fcaf45, #ffdc80);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
