/* Digital Art Commission Marketplace - Main CSS */

/* ===== COLOR PALETTE ===== */
:root {
    /* Primary Colors */
    --color-primary: #6366f1;
    --color-secondary: #8b5cf6;
    --color-accent: #06b6d4;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    
    /* Light Shades */
    --color-primary-light: #a5b4fc;
    --color-secondary-light: #c4b5fd;
    --color-accent-light: #67e8f9;
    --color-success-light: #6ee7b7;
    --color-warning-light: #fbbf24;
    
    /* Dark Shades */
    --color-primary-dark: #4338ca;
    --color-secondary-dark: #7c3aed;
    --color-accent-dark: #0891b2;
    --color-success-dark: #059669;
    --color-warning-dark: #d97706;
    
    /* Neutral Colors */
    --color-white: #ffffff;
    --color-light: #f8fafc;
    --color-gray-100: #f1f5f9;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e1;
    --color-gray-400: #94a3b8;
    --color-gray-500: #64748b;
    --color-gray-600: #475569;
    --color-gray-700: #334155;
    --color-gray-800: #1e293b;
    --color-gray-900: #0f172a;
    --color-dark: #1a202c;
    
    /* Typography */
    --font-family-base: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 1rem;
    --line-height-base: 1.6;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 3rem;
    
    /* Border Radius */
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    
    /* Shadows */
    --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 & BASE ===== */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-gray-700);
    background-color: var(--color-white);
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-gray-800);
}

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

.h3 {
    font-size: 1.75rem;
}

.h4 {
    font-size: 1.5rem;
}

.h5 {
    font-size: 1.25rem;
}

.h6 {
    font-size: 1.125rem;
}

.lead {
    font-size: 1.125rem;
    color: var(--color-gray-600);
}

.small {
    font-size: 0.875rem;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

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

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

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

/* ===== CARDS ===== */
.card {
    border: 1px solid var(--color-gray-200);
    border-radius: var(--border-radius-lg);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

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

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

/* ===== NAVBAR ===== */
.navbar-brand {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.navbar-light .navbar-nav .nav-link {
    color: var(--color-gray-700);
    font-weight: 500;
}

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

/* ===== HERO SECTION ===== */
#hero {
    background: linear-gradient(135deg, var(--color-light) 0%, var(--color-gray-100) 100%);
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--color-primary-light) 0%, transparent 70%);
    opacity: 0.1;
    z-index: 1;
}

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

/* ===== SECTIONS ===== */
section {
    padding: var(--spacing-xl) 0;
}

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

/* ===== TEXT COLORS ===== */
.text-primary {
    color: var(--color-primary);
}

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

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

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

/* ===== CUSTOM UTILITIES ===== */
.rounded-3 {
    border-radius: var(--border-radius-lg);
}

.rounded-circle {
    border-radius: 50%;
}

/* ===== TEAM SECTION ===== */
.col-xl-2-4 {
    flex: 0 0 auto;
    width: 20%;
}

/* ===== PROCESS SECTION ===== */
.col-lg-2-4 {
    flex: 0 0 auto;
    width: 20%;
}

/* ===== FORMS ===== */
.form-control {
    border: 1px solid var(--color-gray-300);
    border-radius: var(--border-radius-md);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--color-gray-700);
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--color-dark);
    color: var(--color-gray-300);
}

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

footer a {
    color: var(--color-gray-300);
    transition: color 0.2s ease-in-out;
}

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

/* ===== BADGES ===== */
.badge {
    font-size: 0.75rem;
    font-weight: 500;
}

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

/* ===== LIST STYLES ===== */
.list-unstyled {
    padding-left: 0;
    list-style: none;
}

/* ===== GALLERY ===== */
#gallery img {
    transition: transform 0.3s ease-in-out;
}

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

/* ===== ANIMATIONS ===== */
@media (prefers-reduced-motion: no-preference) {
    .card,
    .btn,
    .form-control,
    footer a {
        transition: all 0.2s ease-in-out;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
        scroll-behavior: auto;
    }
}

/* ===== CUSTOM SPACING ===== */
.py-5 {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

.mb-3 {
    margin-bottom: var(--spacing-md);
}

.mb-4 {
    margin-bottom: var(--spacing-lg);
}

.mb-5 {
    margin-bottom: var(--spacing-xl);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item {
    color: var(--color-gray-500);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 991.98px) {
    .col-xl-2-4,
    .col-lg-2-4 {
        width: 50%;
        margin-bottom: var(--spacing-lg);
    }
}

@media (max-width: 767.98px) {
    .col-xl-2-4,
    .col-lg-2-4 {
        width: 100%;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .h3 {
        font-size: 1.5rem;
    }
} 


/* Team Social Links - Gradient Style */
.team-social-links {
    margin-top: 20px;
    padding: 18px 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 20px;
}

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

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 24px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.social-link::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: inherit;
    border-radius: inherit;
    z-index: -1;
}

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

.facebook-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.linkedin-link {
    background: linear-gradient(135deg, #2196f3 0%, #21cbf3 100%);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #21cbf3 0%, #2196f3 100%);
}

.instagram-link {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.instagram-link:hover {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}

.x-link {
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
    position: relative;
}

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

.x-link:hover {
    background: linear-gradient(135deg, #414345 0%, #232526 100%);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
