/* Digital Art Commission Marketplace - Main CSS */
/* Bootstrap 5 Integration - DO NOT OVERRIDE BOOTSTRAP CLASSES */

:root {
  /* Primary Color Palette - 5 colors + light/dark shades */
  --primary-color: #9558ff;
  --primary-light: #bd95f7;
  --primary-dark: #9236e2;
  
  --secondary-color: #ec4592;
  --secondary-light: #de6ea6;
  --secondary-dark: #e8228b;
  
  --accent-color: #15cfcf;
  --accent-light: #3ae1fe;
  --accent-dark: #15a3c4;
  
  --success-color: #1cac8a;
  --success-light: #36bfa1;
  --success-dark: #12946e;
  
  --warning-color: #df8d1d;
  --warning-light: #ffeb4b;
  --warning-dark: #f1a400;
  
  /* Typography */
  --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.125rem;
  --line-height-base: 1.5;
  
  /* Conservative sizing */
  --navbar-brand-size: 1.25rem;
  --h1-size: 2.25rem;
  --h2-size: 1.875rem;
  --h3-size: 1.5rem;
  --h4-size: 1.25rem;
  --h5-size: 1.125rem;
  --h6-size: 1rem;
  
  /* Spacing */
  --section-padding: 4rem 0;
  --section-padding-sm: 2rem 0;
  
  /* 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), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Base Typography */
body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: #212d3b;
}

/* Conservative heading sizes */
h1 { font-size: var(--h1-size); font-weight: 600; }
h2 { font-size: var(--h2-size); font-weight: 600; }
h3 { font-size: var(--h3-size); font-weight: 600; }
h4 { font-size: var(--h4-size); font-weight: 600; }
h5 { font-size: var(--h5-size); font-weight: 600; }
h6 { font-size: var(--h6-size); font-weight: 600; }

/* Navbar conservative sizing */
.navbar-brand {
  font-size: var(--navbar-brand-size);
  font-weight: 600;
}

/* Section spacing */
.section {
  padding: var(--section-padding);
}

.section-sm {
  padding: var(--section-padding-sm);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  display: flex;
  align-items: center;
}

.hero-content {
  color: white;
    padding-top: 150px;
}

.hero-title {
  font-size: var(--h1-size);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: var(--h3-size);
  font-weight: 400;
  margin-bottom: 1.66rem;
}

.hero-desc {
  font-size: var(--font-size-lg);
  margin-bottom: 2rem;
}

/* Services Section */
.services-item {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
  height: 100%;
}

.services-item:hover {
  transform: translateY(-4px);
}

.services-item-name {
  color: var(--primary-color);
  font-size: var(--h4-size);
  font-weight: 600;
  margin-bottom: 1rem;
}

.services-item-desc {
  color: #686c70;
  margin-bottom: 1.58rem;
}

.services-item-features {
  color: #495264;
  margin-bottom: 1.71rem;
}

.services-item-price {
  color: var(--secondary-color);
  font-size: var(--h3-size);
  font-weight: 700;
}

/* Features Section */
.features-item {
  text-align: center;
  padding: 2rem;
}

.features-item-name {
  color: var(--primary-color);
  font-size: var(--h4-size);
  font-weight: 600;
  margin-bottom: 1rem;
}

.features-item-desc {
  color: #707d91;
}

/* Price Plan Section */
.priceplan-item {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  height: 100%;
}

.priceplan-item-name {
  color: var(--primary-color);
  font-size: var(--h4-size);
  font-weight: 600;
  margin-bottom: 1rem;
}

.priceplan-item-price {
  color: var(--secondary-color);
  font-size: var(--h2-size);
  font-weight: 700;
  margin-bottom: 1.65rem;
}

.priceplan-item-desc {
  color: #838791;
  margin-bottom: 1.67rem;
}

.priceplan-item-features {
  color: #242c3d;
  text-align: left;
}

/* Team Section */
.team-member {
  text-align: center;
  padding: 1.5rem;
}

.team-member img {
  border-radius: 50%;
  margin-bottom: 1rem;
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.team-member-name {
  font-size: var(--h5-size);
  font-weight: 600;
  margin-bottom: 0.57rem;
}

.team-member-role {
  color: var(--primary-color);
  font-size: var(--font-size-sm);
}

/* Reviews Section */
.reviews-item {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  height: 100%;
}

.reviews-item-text {
  color: #3c4352;
  margin-bottom: 1.57rem;
  font-style: italic;
}

.reviews-item-author {
  color: var(--primary-color);
  font-weight: 600;
}

/* FAQ Section */
.faq-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.63rem;
}

.faq-question {
  color: var(--primary-color);
  font-size: var(--h5-size);
  font-weight: 600;
  margin-bottom: 1rem;
}

.faq-answer {
  color: #292f41;
}

/* Gallery Section */
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.67rem;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-info {
  background: var(--primary-color);
  color: white;
  border-radius: 12px;
  padding: 2.5rem;
}

.contact-info-item {
  margin-bottom: 1.62rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

/* Footer */
.footer {
  background: #232f38;
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: white;
  margin-bottom: 1rem;
}

.footer p, .footer a {
  color: #c0c3cf;
}

.footer a:hover {
  color: white;
}

/* Decorative Elements */
.decorative-blob {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary-light), var(--accent-light));
  opacity: 0.1;
  z-index: -1;
}

.blob-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 10%;
}

.blob-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: 15%;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 100;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 6px;
  color: white;
}

/* Navbar scrolled state */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

/* Progress Bar */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transition: width 0.3s ease;
  z-index: 9999;
}

/* Error Pages */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-code {
  font-size: 8rem;
  line-height: 1;
  margin-bottom: 2rem;
}

.error-title {
  font-size: 2rem;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.error-message {
  color: #55596b;
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Accessibility - Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Utilities */
.text-gradient {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-primary-custom {
  background: var(--primary-color);
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary-custom {
  background: var(--secondary-color);
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
}

/* Section backgrounds */
.bg-light-gradient {
  background: linear-gradient(135deg, #f8fafc, #e8ebef);
}

.bg-primary-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.bg-secondary-gradient {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
}

/* Back to Top Button */
.back-to-top {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
} 


/* 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);
}

.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;
    }
    
    /* Disable all Sal.js scroll animations on mobile */
    [data-sal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
    
    /* Disable smooth scrolling behavior on mobile */
    html {
        scroll-behavior: auto !important;
    }
    
    /* Override any existing animation classes */
    .sal-animate {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
    
    /* Disable any CSS-based scroll animations */
    * {
        animation-play-state: paused !important;
    }
    
    /* Ensure all elements with data-sal attributes are immediately visible */
    [data-sal="fade-up"],
    [data-sal="fade-down"],
    [data-sal="fade-left"],
    [data-sal="fade-right"],
    [data-sal="slide-up"],
    [data-sal="slide-down"],
    [data-sal="slide-left"],
    [data-sal="slide-right"],
    [data-sal="zoom-in"],
    [data-sal="zoom-out"],
    [data-sal="flip-up"],
    [data-sal="flip-down"],
    [data-sal="flip-left"],
    [data-sal="flip-right"] {
        opacity: 1 !important;
        transform: translateX(0) translateY(0) translateZ(0) scale(1) rotate(0deg) !important;
        transition: none !important;
        animation: none !important;
        visibility: visible !important;
    }
}
