/* Main CSS for Digital Scrapbook Builder Template */

/* Color Variables - 5 Primary Colors + Light/Dark Shades */
:root {
    --primary-color: #6366f1;
    --primary-light: #a5b4fc;
    --primary-dark: #4338ca;
    
    --secondary-color: #f59e0b;
    --secondary-light: #fbbf24;
    --secondary-dark: #d97706;
    
    --accent-color: #10b981;
    --accent-light: #34d399;
    --accent-dark: #059669;
    
    --neutral-color: #6b7280;
    --neutral-light: #9ca3af;
    --neutral-dark: #374151;
    
    --warning-color: #ef4444;
    --warning-light: #f87171;
    --warning-dark: #dc2626;
    
    /* Additional Utility Colors */
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

/* Global Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--neutral-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Conservative Typography */
.navbar-brand {
    font-size: 1.25rem !important;
    font-weight: 700;
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neutral-dark);
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--neutral-dark);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--neutral-color);
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

h5 {
    font-size: 1.125rem;
    font-weight: 600;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.125rem;
    color: var(--neutral-color);
}

/* Header Styles */
#header {
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 0.75rem 0;
}

.navbar-nav .nav-link {
    color: var(--neutral-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    padding-top: 80px;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Card Styles */
.card {
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Section Backgrounds */
.bg-light {
    background-color: var(--gray-50) !important;
}

/* Icon Styles */
.fas, .fab {
    color: var(--primary-color);
}

/* Form Styles */
.form-control {
    border: 2px solid var(--gray-200);
    border-radius: 0.5rem;
    padding: 0.75rem;
    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);
}

.form-label {
    font-weight: 600;
    color: var(--neutral-dark);
    margin-bottom: 0.5rem;
}

/* Footer Styles */
#footer {
    background-color: var(--gray-900);
    color: var(--white);
}

#footer h5 {
    color: var(--white);
    font-weight: 600;
}

#footer a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

#footer a:hover {
    color: var(--white);
}

/* Breadcrumb Styles */
.breadcrumb {
    background-color: transparent;
    padding: 0.5rem 0;
}

.breadcrumb-item img {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.breadcrumb-item img:hover {
    opacity: 1;
}

/* Gallery Styles */
#gallery img {
    transition: transform 0.3s ease;
    border-radius: 0.5rem;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* Team Member Images */
.team-member-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Review Stars */
.text-warning {
    color: var(--secondary-color) !important;
}

/* Price Display */
.text-primary {
    color: var(--primary-color) !important;
}

/* Animation Optimization for Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Custom Decorative Elements */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
}

/* Utility Classes */
.text-muted {
    color: var(--neutral-color) !important;
}

.shadow-sm {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Container Spacing */
.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Spacing Utilities */
.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

/* Text Alignment */
.text-center {
    text-align: center;
}

/* Flexbox Utilities */
.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

/* Border Utilities */
.border {
    border: 1px solid var(--gray-200);
}

.rounded {
    border-radius: 0.5rem;
}

.rounded-circle {
    border-radius: 50%;
}

/* Background Utilities */
.bg-white {
    background-color: var(--white);
}

.bg-dark {
    background-color: var(--gray-900);
}

/* Text Color Utilities */
.text-white {
    color: var(--white);
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5);
} 


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.instagram-link {
    background: linear-gradient(135deg, #e4405f, #f77737, #fcaf45);
}

.instagram-link:hover {
    background: linear-gradient(135deg, #d62976, #e4405f, #f77737);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
