/* BookSwap - Main CSS */

/* Color Palette Variables */
:root {
    --primary-color: #6B73FF;
    --primary-light: #9BA3FF;
    --primary-dark: #4A52CC;
    
    --secondary-color: #FF6B9D;
    --secondary-light: #FF9BB7;
    --secondary-dark: #CC4A7A;
    
    --accent-color: #4ECDC4;
    --accent-light: #7DD8D1;
    --accent-dark: #3BA39C;
    
    --warm-color: #FFE66D;
    --warm-light: #FFED8B;
    --warm-dark: #CCB857;
    
    --neutral-color: #F4F4F9;
    --neutral-light: #FAFAFA;
    --neutral-dark: #E8E8ED;
    
    --text-dark: #2C3E50;
    --text-light: #6C757D;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        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(--text-dark);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.lead {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--neutral-light) 0%, var(--neutral-color) 100%);
    position: relative;
    overflow: hidden;
}

.hero-shapes .shape-1 {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 100px;
    height: 100px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 1;
}

.hero-shapes .shape-2 {
    position: absolute;
    bottom: 30%;
    right: 5%;
    width: 150px;
    height: 150px;
    background: var(--secondary-color);
    border-radius: 30px;
    opacity: 0.1;
    z-index: 1;
    transform: rotate(45deg);
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    height: 100%;
}

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

/* Service Cards */
.service-card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.service-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}

/* Feature Items */
.feature-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--neutral-color);
}

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

/* Price Cards */
.price-card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

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

.price-card.border-primary {
    border: 2px solid var(--primary-color);
}

/* Team Section */
.team-photo {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

/* Review Cards */
.review-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.reviewer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--neutral-color);
}

/* Case Study Cards */
.case-study-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

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

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1rem;
}

/* Timeline Items */
.timeline-item {
    position: relative;
}

.timeline-year {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 auto 1rem;
}

/* Career Items */
.career-item {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.career-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Stats Items */
.stat-item {
    padding: 2rem 1rem;
}

/* Blog Cards */
.blog-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* FAQ Cards */
.faq-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 1rem;
}

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

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

/* Contact Form */
.contact-form .form-control {
    border: 2px solid var(--neutral-color);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(107, 115, 255, 0.25);
}

.contact-info {
    padding: 2rem;
    background: var(--neutral-light);
    border-radius: 15px;
}

.contact-item {
    text-align: center;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 10px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 115, 255, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 10px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 115, 255, 0.3);
}

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

#footer h5, #footer h6 {
    color: var(--warm-color);
}

#footer a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

#footer a:hover {
    color: var(--warm-color);
}

/* Breadcrumb */
.breadcrumb-section {
    padding-top: 100px;
}

.breadcrumb {
    background: none;
    padding: 0;
}

/* Additional Page Styles */
.category-item, .group-item, .event-item, .guideline-item, .story-item, .step-item {
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1rem;
}

.category-item:hover, .group-item:hover, .event-item:hover, 
.guideline-item:hover, .story-item:hover, .step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Navbar Improvements */
.navbar {
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin: 0 0.25rem;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
    background-color: var(--neutral-light);
}

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

section.py-5 {
    padding: 5rem 0;
}

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

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

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


/* Team Social Links - Retro Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

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

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 0;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 3px solid;
    background: transparent;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
}

.social-link:hover {
    transform: translateX(3px) translateY(-3px);
    box-shadow: -3px 3px 0px currentColor;
    color: white;
}

.facebook-link {
    border-color: #1877f2;
    background: #1877f2;
}

.facebook-link:hover {
    background: transparent;
    color: #1877f2;
}

.linkedin-link {
    border-color: #0a66c2;
    background: #0a66c2;
}

.linkedin-link:hover {
    background: transparent;
    color: #0a66c2;
}

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

.instagram-link:hover {
    background: transparent;
    color: #e4405f;
}

.x-link {
    border-color: #000000;
    background: #000000;
    position: relative;
}

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

.x-link:hover {
    background: transparent;
    color: #000000;
}

.x-link i {
    display: none;
}

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