/* Digital Whiteboard Templates Marketplace - Main CSS */

/* Color Palette Variables */
:root {
    /* Primary Palette */
    --primary-blue: #3B82F6;
    --primary-indigo: #6366F1;
    --primary-purple: #8B5CF6;
    --primary-teal: #14B8A6;
    --primary-orange: #F59E0B;
    
    /* Light Shades */
    --light-blue: #DBEAFE;
    --light-indigo: #E0E7FF;
    --light-purple: #EDE9FE;
    --light-teal: #CCFBF1;
    --light-orange: #FEF3C7;
    
    /* Dark Shades */
    --dark-blue: #1E40AF;
    --dark-indigo: #4338CA;
    --dark-purple: #7C3AED;
    --dark-teal: #0F766E;
    --dark-orange: #D97706;
    
    /* Neutral Colors */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--primary-indigo));
    --gradient-secondary: linear-gradient(135deg, var(--primary-teal), var(--primary-purple));
    --gradient-accent: linear-gradient(135deg, var(--primary-orange), var(--primary-purple));
}

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    scroll-behavior: smooth;
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

/* Conservative navbar brand sizing */
.navbar-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue) !important;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    color: white;
    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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)" /></svg>');
    opacity: 0.3;
}

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

.hero-section h1 {
    color: white;
    margin-bottom: 1rem;
    padding-top: 125px;
}

.hero-section h2 {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--gray-600);
    transition: color 0.3s ease;
}

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

/* Cards */
.card {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.btn-primary:hover {
    background: var(--gradient-secondary);
    transform: translateY(-1px);
}

/* Services Section */
.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

/* Features with icons */
.fa-3x {
    color: var(--primary-blue);
}

/* Process Steps */
.process-step .badge {
    font-size: 1.25rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Testimonials */
.blockquote-footer {
    color: var(--gray-500);
    font-style: italic;
}

/* Team Section */
.team img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

/* Gallery */
#gallery img {
    transition: transform 0.3s ease;
}

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

/* Contact Form */
.form-control {
    border-radius: 8px;
    border: 1px solid var(--gray-300);
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

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

footer a {
    transition: color 0.3s ease;
}

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

/* Breadcrumb Section */
.breadcrumb-section {
    background: var(--gray-50);
    padding: 2rem 0 1rem;
}

/* Space Page */
#space {
    background: var(--gradient-primary);
    color: white;
    padding-top: 80px;
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
    .sal-animate {
        transition: all 0.6s ease-out;
    }
}

/* High contrast colors for sections */
.bg-light {
    background-color: var(--gray-50) !important;
}

/* Section spacing */
.py-5 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

/* FAQ Cards */
#faq .card {
    margin-bottom: 1rem;
}

#faq .card-title {
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

/* Price Plan highlighting */
.border-primary {
    border-color: var(--primary-blue) !important;
    border-width: 2px !important;
}

/* Contact info styling */
.contact-info h5 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    padding-top: 125px;
}
    
    .hero-section h2 {
        font-size: 1.25rem;
    }
    
    /* No animations on mobile */
    .sal-animate {
        transform: none !important;
        opacity: 1 !important;
    }
}

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

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

/* Ensure proper spacing */
section {
    scroll-margin-top: 80px;
}

/* Additional spacing for better visual hierarchy */
.text-center h2 + h3 {
    margin-top: 0.5rem;
    color: var(--gray-600);
}

.text-center h3 + p {
    margin-top: 1rem;
} 


/* Team Social Links - Neon Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

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

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

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 0.7;
}

.social-link:hover {
    transform: scale(1.1);
    text-shadow: 0 0 20px currentColor;
    box-shadow: 0 0 20px currentColor;
}

.facebook-link {
    border-color: #1877f2;
    color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

.linkedin-link {
    border-color: #0a66c2;
    color: #0a66c2;
    background: rgba(10, 102, 194, 0.1);
}

.instagram-link {
    border-color: #e4405f;
    color: #e4405f;
    background: rgba(228, 64, 95, 0.1);
}

.x-link {
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

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

.x-link i {
    display: none;
}

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