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

/* Color Palette - 5 Primary Colors + Light/Dark Shades */
:root {
  /* Primary Colors */
  --primary-purple: #926fdc;
  --primary-teal: #47d1c4;
  --primary-coral: #e86374;
  --primary-sage: #85cdb1;
  --primary-gold: #fff737;
  
  /* Light Shades */
  --light-purple: #aea3fb;
  --light-teal: #79f6e0;
  --light-coral: #ffb7b2;
  --light-sage: #acdcca;
  --light-gold: #ffd168;
  
  /* Dark Shades */
  --dark-purple: #594cb3;
  --dark-teal: #259da2;
  --dark-coral: #df6454;
  --dark-sage: #71c3a0;
  --dark-gold: #d0c836;
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --gray: #757a80;
  --dark-gray: #3e444a;
  --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;
}

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

.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(83, 66, 162, 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(33, 168, 153, 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(131, 127, 216, 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 - 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);
}

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

.instagram-link:hover {
    background: linear-gradient(135deg, #d62976, #e4405f, #f77737);
}

.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;
    }
}
