/* ========================================
   AI Blog Outline Generator - Main CSS
   ======================================== */

/* Color Variables */
:root {
    --primary-color: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --secondary-color: #f1f5f9;
    --secondary-light: #f8fafc;
    --secondary-dark: #e2e8f0;
    --accent-color: #10b981;
    --accent-light: #34d399;
    --accent-dark: #059669;
    --text-color: #1f2937;
    --text-muted: #6b7280;
    --bg-light: #f8fafc;
    --bg-dark: #1f2937;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Global Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Header Styles */
#header {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--secondary-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    background: var(--primary-color);
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 5%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

#hero .container {
    position: relative;
    z-index: 2;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Card Styles */
.card {
    border: none;
    border-radius: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-img-top {
    border-radius: 1rem 1rem 0 0;
    height: 200px;
    object-fit: cover;
}

/* Feature Icons */
.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 1.5rem;
}

/* Section Spacing */
section {
    padding: 5rem 0;
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
}

/* Text Styles */
.display-5 {
    font-size: 2.5rem;
    font-weight: 700;
}

.h2 {
    font-size: 2rem;
    font-weight: 700;
}

.h5 {
    font-size: 1.1rem;
}

.h6 {
    font-size: 1rem;
    font-weight: 600;
}

.text-muted {
    color: var(--text-muted);
}

.lead {
    font-size: 1.1rem;
    font-weight: 400;
}

/* Background Utilities */
.bg-light {
    background-color: var(--bg-light);
}

/* Form Styles */
.form-control {
    border-radius: 0.5rem;
    border: 2px solid var(--secondary-color);
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

/* Footer Styles */
#footer {
    background-color: var(--bg-dark);
    color: white;
}

#footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

#footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

#footer a:hover {
    color: white;
}

/* Breadcrumb Styles */
.breadcrumb-section {
    padding: 1rem 0;
}

.breadcrumb-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Team Member Images */
.card-img-top.rounded-circle {
    border-radius: 50% !important;
}

/* Metric Circles */
.metric-circle {
    font-size: 1.2rem;
    font-weight: 700;
}

/* Star Ratings */
.fas.fa-star.text-warning {
    color: #fbbf24 !important;
}

/* Animation Utilities */
@media (prefers-reduced-motion: no-preference) {
    .hero-shapes .shape {
        animation-play-state: running;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-shapes .shape {
        animation-play-state: paused;
    }
}

/* Utility Classes */
.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

/* High Contrast for Accessibility */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0000ff;
        --text-color: #000000;
        --bg-light: #ffffff;
        --bg-dark: #000000;
    }
} 


/* Team Social Links - Modern Style */
.team-social-links {
    margin-top: 25px;
    padding: 20px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 22px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    transform: scale(0);
    border-radius: inherit;
    transition: transform 0.5s ease;
}

.social-link:hover::before {
    transform: scale(1.2);
}

.social-link:hover {
    transform: translateY(-8px) rotate(10deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #00c6ff);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #0099cc);
}

.instagram-link {
    background: linear-gradient(45deg, #e4405f, #f093fb, #f5576c);
}

.x-link {
    background: linear-gradient(45deg, #000000, #434343);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 24px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }
}
