/* Chess Coaching Website - Main Styles */

/* Color Palette Variables */
:root {
  --primary-dark: #2c3e50;
  --primary-gold: #f39c12;
  --primary-emerald: #27ae60;
  --primary-royal: #8e44ad;
  --primary-crimson: #c0392b;
  
  /* Light shades */
  --light-dark: #34495e;
  --light-gold: #f8c471;
  --light-emerald: #58d68d;
  --light-royal: #bb8fce;
  --light-crimson: #ec7063;
  
  /* Dark shades */
  --dark-primary: #1a252f;
  --dark-gold: #d68910;
  --dark-emerald: #1e8449;
  --dark-royal: #6c3483;
  --dark-crimson: #922b21;
  
  /* Font sizes - conservative */
  --font-size-base: 16px;
  --navbar-brand-size: 1.5rem;
  --h1-size: 2.2rem;
  --h2-size: 1.8rem;
  --h3-size: 1.4rem;
}

/* Base Typography */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--primary-dark);
}

h1 {
  font-size: var(--h1-size);
  font-weight: 700;
  color: var(--primary-dark);
}

h2 {
  font-size: var(--h2-size);
  font-weight: 600;
  color: var(--primary-dark);
}

h3 {
  font-size: var(--h3-size);
  font-weight: 500;
  color: var(--primary-dark);
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Header & Navigation */
.navbar-brand {
  font-size: var(--navbar-brand-size) !important;
  font-weight: 600;
  color: var(--primary-dark);
}

.navbar {
  background: linear-gradient(135deg, var(--primary-dark), var(--light-dark));
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-nav .nav-link {
  color: white !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-gold) !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-royal) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/hero-chess-bg.webp') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.hero-decorative {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary-gold), var(--light-gold));
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.hero-decorative:nth-child(2) {
  top: 10%;
  right: 10%;
  animation-delay: -2s;
}

.hero-decorative:nth-child(3) {
  bottom: 20%;
  left: 15%;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Buttons */
.btn-primary {
  background: linear-gradient(45deg, var(--primary-gold), var(--light-gold));
  border: none;
  font-weight: 600;
  padding: 12px 30px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(45deg, var(--dark-gold), var(--primary-gold));
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-outline-primary {
  border: 2px solid var(--primary-gold);
  color: var(--primary-gold);
  font-weight: 600;
  padding: 12px 30px;
}

.btn-outline-primary:hover {
  background: var(--primary-gold);
  border-color: var(--primary-gold);
}

/* Section Styling */
.section-padding {
  padding: 80px 0;
}

.section-title {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--primary-royal);
  font-weight: 400;
  margin-bottom: 2rem;
}

/* Services Section */
.services-item {
  background: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.services-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.services-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-gold);
  margin: 20px 0;
}

/* Team Section */
.team-member {
  text-align: center;
  margin-bottom: 30px;
}

.team-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--primary-gold);
  margin-bottom: 20px;
}

/* Testimonials */
.testimonial-item {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin: 15px;
}

/* FAQ Section */
.faq-item {
  margin-bottom: 20px;
}

.faq-question {
  background: var(--light-emerald);
  color: white;
  padding: 15px 20px;
  border: none;
  border-radius: 8px;
  width: 100%;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--primary-emerald);
}

.faq-answer {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 0 0 8px 8px;
  display: none;
}

.faq-answer.show {
  display: block;
}

/* Contact Form */
.contact-form {
  background: linear-gradient(135deg, var(--primary-dark), var(--light-dark));
  padding: 50px;
  border-radius: 15px;
  color: white;
}

.form-control {
  border: none;
  border-radius: 8px;
  padding: 12px 15px;
  margin-bottom: 20px;
}

.form-control:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 0.2rem rgba(243, 156, 18, 0.25);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--primary-dark), var(--dark-primary));
  color: white;
  padding: 50px 0 20px;
}

.footer a {
  color: var(--light-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-gold);
}

/* Blog Section */
.blog-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 25px;
}

/* Gallery */
.gallery-item {
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Features Section */
.feature-item {
  text-align: center;
  padding: 30px 20px;
  margin-bottom: 30px;
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-gold);
  margin-bottom: 20px;
}

/* Price Plans */
.price-plan {
  background: white;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.price-plan:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.price-plan.featured {
  border: 3px solid var(--primary-gold);
  transform: scale(1.05);
}

.price-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-gold);
  margin: 20px 0;
}

/* Process Steps */
.process-step {
  text-align: center;
  padding: 30px 20px;
  margin-bottom: 30px;
  position: relative;
}

.process-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, var(--primary-gold), var(--light-gold));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

/* Timeline */
.timeline-item {
  position: relative;
  padding-left: 50px;
  margin-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--primary-gold);
  border-radius: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 24px;
  top: 20px;
  width: 2px;
  height: calc(100% + 20px);
  background: var(--light-gold);
}

.timeline-item:last-child::after {
  display: none;
}

/* Case Studies */
.case-study {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

/* Core Info */
.core-info-item {
  background: linear-gradient(135deg, var(--primary-emerald), var(--light-emerald));
  color: white;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 20px;
}

/* Career Section */
.career-item {
  background: white;
  border: 2px solid var(--light-gold);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.career-item:hover {
  border-color: var(--primary-gold);
  transform: translateY(-5px);
}

/* Breadcrumbs */
.breadcrumb-section {
  background: var(--light-dark);
  padding: 20px 0;
}

.breadcrumb-image {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
