/* AI Narrative Game Writing Tool - Main Styles */

/* Color Palette - 5 Primary Colors + Light/Dark Shades */
:root {
  /* Primary Colors */
  --primary-purple: #9581c3;
  --primary-teal: #62e0d6;
  --primary-coral: #ff7c7f;
  --primary-sage: #beedd8;
  --primary-gold: #ffe744;
  
  /* Light Shades */
  --light-purple: #b9b1e7;
  --light-teal: #96e4db;
  --light-coral: #ffa898;
  --light-sage: #e4fff2;
  --light-gold: #e9d477;
  
  /* Dark Shades */
  --dark-purple: #7456c4;
  --dark-teal: #34b49a;
  --dark-coral: #ce3f38;
  --dark-sage: #5eb482;
  --dark-gold: #d5ca20;
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --gray: #757f8d;
  --dark-gray: #475054;
  --black: #000000;
}

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

/* Animation Fixes - Ensure elements remain visible after animation */
[data-sal] {
  transition: opacity 0.3s ease !important;
}

[data-sal].sal-animate {
  opacity: 1 !important;
}

/* Conservative Typography */
.navbar-brand {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-purple);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-purple);
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--dark-purple);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark-purple);
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--dark-purple);
}

p {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 1rem;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Header Styles */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-nav .nav-link {
  color: var(--dark-gray);
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--light-purple) 0%, var(--light-teal) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="20" fill="%23FFFFFF" opacity="0.1"/></svg>');
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-text {
  z-index: 2;
  position: relative;
}

.hero-title {
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    padding-top: 250px;
}

.hero-subtitle {
  color: var(--white);
  font-size: 1.25rem;
  opacity: 0.9;
}

.hero-desc {
  color: var(--white);
  font-size: 1.1rem;
  opacity: 0.8;
}

/* Section Spacing */
.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--light-gray);
}

/* Buttons */
.btn-primary-custom {
  background-color: var(--primary-purple);
  border-color: var(--primary-purple);
  color: var(--white);
  padding: 0.75rem 2rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: var(--dark-purple);
  border-color: var(--dark-purple);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(104, 71, 174, 0.30);
}

.btn-secondary-custom {
  background-color: var(--primary-teal);
  border-color: var(--primary-teal);
  color: var(--white);
  padding: 0.75rem 2rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
  background-color: var(--dark-teal);
  border-color: var(--dark-teal);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(56, 162, 156, 0.30);
}

/* Cards */
.card-custom {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.card-custom:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-header-custom {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-teal));
  color: var(--white);
  border-radius: 1rem 1rem 0 0;
  padding: 1.5rem;
  border: none;
}

/* Service Cards */
.service-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-coral);
  margin: 1rem 0;
}

/* Team Cards */
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--primary-sage);
}

/* Review Cards */
.review-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  height: 100%;
}

/* FAQ Cards */
.faq-card {
  background: var(--white);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
  color: var(--dark-purple);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.faq-answer {
  color: var(--gray);
  margin-bottom: 0;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: 1rem;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-control-custom {
  border: 2px solid var(--light-gray);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease;
}

.form-control-custom:focus {
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 0.2rem rgba(175, 159, 239, 0.25);
}

/* Footer */
.footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--light-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-teal);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
}

.gallery-item {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Blog Cards */
.blog-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
}

/* Breadcrumb */
.breadcrumb-custom {
  background: none;
  padding: 1rem 0;
  margin: 0;
}

.breadcrumb-custom img {
  width: 20px;
  height: 20px;
}

/* Utility Classes */
.text-primary-custom {
  color: var(--primary-purple);
}

.text-secondary-custom {
  color: var(--primary-teal);
}

.bg-primary-custom {
  background-color: var(--primary-purple);
}

.bg-secondary-custom {
  background-color: var(--primary-teal);
}

/* Space Page */
.space-container {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--light-sage) 0%, var(--light-gold) 100%);
} 


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

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

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.instagram-link {
    background: linear-gradient(45deg, #e4405f, #f77737, #fcaf45, #ffdc80);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
