/* ================================
   CreativeMentor - Main Stylesheet
   ================================ */

/* CSS Variables for Color Palette */
:root {
    --primary-color: #7787fc;
    --primary-light: #8090e2;
    --primary-dark: #536cbc;
    --secondary-color: #6f4e9d;
    --secondary-light: #9454bf;
    --secondary-dark: #472679;
    --accent-color: #eea2f0;
    --accent-light: #e0a3eb;
    --accent-dark: #f48aff;
    --success-color: #36b79a;
    --success-light: #82c2bb;
    --success-dark: #499f9f;
    --warning-color: #f7c45f;
    --warning-light: #ffeb82;
    --warning-dark: #b5ac1f;
    --light-gray: #f8f9fa;
    --medium-gray: #65707c;
    --dark-gray: #35393e;
    --white: #ffffff;
    --black: #000000;
}

/* Global Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    font-size: 16px;
}

/* Typography Adjustments */
.navbar-brand {
    font-size: 1.5rem !important;
    font-weight: 700;
    color: var(--primary-color) !important;
}

h1, .display-1, .display-2, .display-3, .display-4 {
    font-weight: 700;
    letter-spacing: -0.025em;
}

h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.01em;
}

.lead {
    font-size: 1.1rem;
    font-weight: 400;
}

/* Bootstrap Color Overrides */
.text-primary {
    color: var(--primary-color) !important;
}

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

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
}

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

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

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

/* Header Styles */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-gray) !important;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--primary-color) !important;
}

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

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" fill-opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

/* Card Styles */
.card {
    border: none;
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

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

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

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

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
}

/* Icon Styles */
.fas, .far, .fab {
    transition: all 0.3s ease;
}

.text-center .fas:hover,
.text-center .far:hover,
.text-center .fab:hover {
    transform: scale(1.1);
    color: var(--primary-dark) !important;
}

/* Team Member Images */
.rounded-circle {
    transition: transform 0.3s ease;
}

.rounded-circle:hover {
    transform: scale(1.05);
}

/* Footer Styles */
footer {
    background-color: var(--dark-gray) !important;
}

footer a {
    transition: color 0.3s ease;
}

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

/* Form Styles */
.form-control {
    border-radius: 8px;
    border: 2px solid #f8fbfe;
    transition: all 0.3s ease;
    font-size: 16px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(100, 129, 249, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

/* Badge Styles */
.badge {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease forwards;
    opacity: 1; /* Default to visible */
}

@keyframes fadeIn {
    from {
        opacity: 0.9; /* Start mostly visible */
    }
    to {
        opacity: 1;
    }
}

.slide-up {
    animation: slideUp 0.8s ease forwards;
    opacity: 1; /* Default to visible */
    transform: translateY(0); /* Default position */
}

@keyframes slideUp {
    from {
        transform: translateY(10px); /* Smaller slide for less disruptive animation */
        opacity: 0.9; /* Start mostly visible */
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Custom Spacing */
.py-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.my-6 {
    margin-top: 5rem !important;
    margin-bottom: 5rem !important;
}

/* Accessibility & Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .card:hover {
        transform: none;
    }
    
    .rounded-circle:hover {
        transform: none;
    }
    
    .text-center .fas:hover,
    .text-center .far:hover,
    .text-center .fab:hover {
        transform: none;
    }
    
    .card:hover .card-img-top {
        transform: none;
    }
}

/* Gallery Styles */
.gallery img {
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

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

.process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    z-index: -1;
}

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

@media (max-width: 768px) {
    .process-step::after {
        display: none;
    }
}

/* Custom Utilities */
.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.shadow-soft {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08) !important;
}

/* Loading States */
.btn-loading {
    pointer-events: none;
    opacity: 0.6;
}

.btn-loading::after {
    content: '';
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 

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


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

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

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
}

.social-link:hover {
    transform: translateY(-1px);
    color: white;
}

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

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

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

.x-link {
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 18px;
    color: inherit;
}

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

.x-link:hover::after {
    color: white;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
