/* =============================================
   INDIE TABLETOP RPG ACCESSORIES MARKETPLACE
   Main CSS Template - Bootstrap 5 Integration
   ============================================= */

/* Color Palette - 5 primary colors + light/dark shades */
:root {
  --primary-mystical: #6538ba;
  --primary-mystical-light: #c9a6ff;
  --primary-mystical-dark: #592786;
  
  --primary-arcane: #0abb89;
  --primary-arcane-light: #52d28b;
  --primary-arcane-dark: #008e74;
  
  --primary-ember: #dd7100;
  --primary-ember-light: #fce558;
  --primary-ember-dark: #d95b00;
  
  --primary-crimson: #d01e13;
  --primary-crimson-light: #ff767a;
  --primary-crimson-dark: #912831;
  
  --primary-shadow: #2b313f;
  --primary-shadow-light: #919fad;
  --primary-shadow-dark: #131a30;
  
  --bg-gradient: linear-gradient(135deg, var(--primary-mystical) 0%, var(--primary-arcane) 100%);
  --hero-gradient: linear-gradient(135deg, var(--primary-mystical-dark) 0%, var(--primary-ember-dark) 100%);
  --card-gradient: linear-gradient(145deg, var(--primary-shadow-light) 0%, var(--primary-shadow) 100%);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--primary-shadow-dark);
  background-color: #f8fafc;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--primary-shadow-dark);
}

h1 { font-size: 2.35rem; }
h2 { font-size: 1.99rem; }
h3 { font-size: 1.65rem; }
h4 { font-size: 1.30rem; }
h5 { font-size: 1.16rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--primary-shadow);
}

/* Header & Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(89, 62, 196, 0.10);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.60rem;
  font-weight: 700;
  color: var(--primary-mystical);
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--primary-shadow);
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-mystical);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: var(--hero-gradient);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../SAF_images/hero-bg.webp') center/cover;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  background-color: var(--primary-arcane);
  padding: 12px;
  position: relative;
  z-index: 2;
  color: white;
    padding-top: 278px;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.73rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.31rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-desc {
  font-size: 1.24rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

/* Decorative shapes */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.hero-blob:nth-child(1) {
  width: 300px;
  height: 300px;
  background: var(--primary-arcane);
  top: 10%;
  right: 10%;
  animation-delay: -2s;
}

.hero-blob:nth-child(2) {
  width: 200px;
  height: 200px;
  background: var(--primary-ember);
  bottom: 20%;
  left: 15%;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Section Spacing */
.section-padding {
  padding: 5rem 0;
}

/* About Section */
.about-section {
  background: linear-gradient(135deg, #f8fafc 0%, #eeeeee 100%);
}

.about-feature {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-5px);
}

.about-feature i {
  font-size: 3rem;
  color: var(--primary-mystical);
  margin-bottom: 1rem;
}

/* Services Section */
.services-section {
  background: var(--bg-gradient);
  color: white;
}

.services-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(13px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.services-item:hover {
  transform: translateY(-10px);
}

.services-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 1.62rem;
}

.services-item-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-ember-light);
  margin-bottom: 1rem;
}

/* Features Section */
.features-section {
  background: white;
}

.features-item {
  text-align: center;
  padding: 2.5rem;
  background: var(--primary-mystical-light);
  border-radius: 20px;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.features-item:hover {
  transform: translateY(-5px);
}

.features-item i {
  font-size: 3rem;
  color: var(--primary-arcane);
  margin-bottom: 1.60rem;
}

/* Price Plan Section */
.priceplan-section {
  background: linear-gradient(135deg, #f1f5f9 0%, #eeeff0 100%);
}

.priceplan-item {
  background: white;
  border-radius: 25px;
  padding: 3rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.priceplan-item:hover {
  transform: translateY(-10px);
}

.priceplan-item.featured {
  background: var(--bg-gradient);
  color: white;
  transform: scale(1.05);
}

.priceplan-price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-mystical);
  margin-bottom: 1rem;
}

.priceplan-item.featured .priceplan-price {
  color: white;
}

/* Team Section */
.team-section {
  background: var(--primary-mystical-light);
  color: white;
}

.team-member {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid var(--primary-mystical-light);
}

/* Reviews Section */
.reviews-section {
  background: white;
}

.reviews-item {
  background: #f8fafc;
  border-left: 4px solid var(--primary-mystical);
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.reviews-item:hover {
  transform: translateX(5px);
}

/* Case Studies Section */
.casestudy-section {
  background: linear-gradient(135deg, var(--primary-arcane-light) 0%, var(--primary-arcane) 100%);
  color: white;
}

.casestudy-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.casestudy-item:hover {
  transform: translateY(-5px);
}

/* Process Section */
.process-section {
  background: white;
}

.process-item {
  display: flex;
  align-items: center;
  padding: 2rem;
  background: #f8fafc;
  border-radius: 15px;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.process-item:hover {
  transform: translateX(10px);
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--primary-mystical);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.62rem;
  font-weight: 700;
  margin-right: 2rem;
  flex-shrink: 0;
}

/* Timeline Section */
.timeline-section {
  background: var(--primary-ember-light);
  color: white;
}

.timeline-item {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  margin-bottom: 2rem;
  position: relative;
  transition: transform 0.3s ease;
}

.timeline-item:hover {
  transform: translateY(-5px);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: var(--primary-ember);
  border-radius: 50%;
}

/* Career Section */
.career-section {
  background: linear-gradient(135deg, #f8fafc 0%, #c2ccdb 100%);
}

.career-item {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.career-item:hover {
  transform: translateY(-5px);
}

/* Core Info Section */
.coreinfo-section {
  background: var(--bg-gradient);
  color: white;
}

.coreinfo-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.coreinfo-item:hover {
  transform: translateY(-5px);
}

.coreinfo-item i {
  font-size: 3rem;
  color: var(--primary-ember-light);
  margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
  background: white;
}

.contact-form {
  background: #f8fafc;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.form-control {
  border: 2px solid #e3e3e3;
  border-radius: 10px;
  padding: 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-mystical);
  box-shadow: 0 0 0 0.2rem rgba(123, 69, 188, 0.25);
}

.btn-primary {
  background: var(--bg-gradient);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.15rem;
  font-weight: 600;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

/* Blog Section */
.blog-section {
  background: linear-gradient(135deg, #f1f5f9 0%, #d8e1ef 100%);
}

.blog-item {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.blog-item:hover {
  transform: translateY(-5px);
}

.blog-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 2rem;
}

/* FAQ Section */
.faq-section {
  background: white;
}

.faq-item {
  background: #f8fafc;
  border-radius: 15px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
}

.faq-question {
  background: var(--primary-mystical);
  color: white;
  padding: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  margin: 0;
}

.faq-answer {
  padding: 1.5rem;
  background: white;
  margin: 0;
  border-top: 1px solid #ffffff;
}

/* Gallery Section */
.gallery-section {
  background: var(--primary-shadow-dark);
  padding: 5rem 0;
}

.gallery-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.gallery-item {
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* Footer */
.footer {
  background: var(--primary-arcane-dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer a {
  color: var(--primary-mystical-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-ember-light);
}

/* Breadcrumbs */
.breadcrumb-img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-mystical { color: var(--primary-mystical); }
.text-arcane { color: var(--primary-arcane); }
.text-ember { color: var(--primary-ember); }
.text-crimson { color: var(--primary-crimson); }
.bg-mystical { background-color: var(--primary-mystical); }
.bg-arcane { background-color: var(--primary-arcane); }
.bg-ember { background-color: var(--primary-ember); }
.bg-crimson { background-color: var(--primary-crimson); }

/* Section Backgrounds */
.bg-gradient-mystical { background: var(--bg-gradient); }
.bg-gradient-hero { background: var(--hero-gradient); }
.bg-card-gradient { background: var(--card-gradient); }

/* Image Placeholders */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure proper image sizing */
.hero-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 20px;
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
}

.team-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

.gallery-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Additional page sections */
.add-page-section {
  padding: 4rem 0;
}

.add-page-section:nth-child(even) {
  background: #f8fafc;
}

.add-page-section:nth-child(odd) {
  background: white;
}

.add-page-item {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.add-page-item:hover {
  transform: translateY(-3px);
} 


/* 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;
    }
}
