/* ===== LocalCraft Main Styles ===== */

/* Color Variables - 5 Primary Colors + Shades */
:root {
    /* Primary Color Palette */
    --primary-color: #4a90e2;
    --secondary-color: #7ed321;
    --accent-color: #f5a623;
    --neutral-color: #9b9b9b;
    --highlight-color: #d0021b;
    
    /* Light Shades */
    --primary-light: #87ceeb;
    --secondary-light: #a8e6a1;
    --accent-light: #ffcc7a;
    --neutral-light: #e0e0e0;
    --highlight-light: #ff6b8a;
    
    /* Dark Shades */
    --primary-dark: #2c5aa0;
    --secondary-dark: #5ba515;
    --accent-dark: #c7851a;
    --neutral-dark: #666666;
    --highlight-dark: #9a0015;
    
    /* Additional Utility Colors */
    --bg-light: #f8f9fa;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Conservative Typography */
h1, .display-4 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3, .fs-5 {
    font-size: 1.25rem;
}

.navbar-brand {
    font-size: 1.5rem;
}

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

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Custom Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 25px;
    padding: 12px 30px;
    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 4px 15px var(--shadow-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 500;
}

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

/* Card Enhancements */
.card {
    border-radius: 15px;
    transition: all 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.card-img-top {
    border-radius: 15px 15px 0 0;
    height: 200px;
    object-fit: cover;
}

/* Icon Styles */
.text-primary {
    color: var(--primary-color) !important;
}

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

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

/* Badge Styles */
.badge {
    border-radius: 20px;
    padding: 8px 15px;
    font-weight: 500;
}

.bg-primary.text-white .badge {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

/* Team Member Styles */
.team-member img {
    transition: all 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.05);
}

/* Form Styles */
.form-control {
    border-radius: 8px;
    border: 2px solid var(--border-color);
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--neutral-dark);
    margin-bottom: 8px;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, var(--neutral-dark) 0%, #2c3e50 100%);
}

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

/* Navbar Enhancements */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    margin: 0 4px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: var(--primary-light);
    color: var(--primary-dark) !important;
}

/* Section Spacing */
section {
    scroll-margin-top: 80px;
}

/* Custom Shapes */
.decorative-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-color), var(--accent-light));
    opacity: 0.1;
    z-index: 0;
}

/* Gallery Enhancements */
.gallery img {
    transition: all 0.3s ease;
    border-radius: 10px;
}

.gallery img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Review Cards */
.review-card {
    border-left: 4px solid var(--accent-color);
    background: linear-gradient(135deg, #fff 0%, var(--bg-light) 100%);
}

/* Timeline Styles */
.border-start.border-primary {
    border-left: 4px solid var(--primary-color) !important;
    position: relative;
}

.border-start.border-primary::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

/* Price Plan Special Styling */
.card.bg-primary {
    position: relative;
    overflow: hidden;
}

.card.bg-primary::before {
    content: 'POPULAR';
    position: absolute;
    top: 20px;
    right: -30px;
    background-color: var(--accent-color);
    color: white;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(45deg);
}

/* Stats Counter Animation */
.stats-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Breadcrumb Styling */
nav.py-3.bg-light {
    border-bottom: 1px solid var(--border-color);
}

/* Utilities */
.rounded-circle {
    object-fit: cover;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem var(--shadow-color) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem var(--shadow-color) !important;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Custom Spacing */
.section-padding {
    padding: 80px 0;
}

/* Text Shadows for Better Readability */
.hero-section h1,
.hero-section h2 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Loading State Styles */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Custom Grid Enhancements (using Bootstrap grid, not overriding) */
.g-4 > * {
    margin-bottom: 1.5rem;
}

/* Link Hover Effects */
a:not(.btn):not(.nav-link) {
    transition: color 0.3s ease;
}

a:not(.btn):not(.nav-link):hover {
    color: var(--primary-color);
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
} 


/* 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;
    }
}
