/* Virtual Book Club Website - Main CSS */

/* Color Palette - 5 primary colors with light/dark variations */
:root {
  --primary-burgundy: #a22437;
  --primary-burgundy-light: #9d4869;
  --primary-burgundy-dark: #4f1217;
  
  --secondary-cream: #ffffff;
  --secondary-cream-light: #FEFCF7;
  --secondary-cream-dark: #dbd7d0;
  
  --accent-gold: #bb9132;
  --accent-gold-light: #f6d870;
  --accent-gold-dark: #aa7618;
  
  --neutral-charcoal: #2e2c2b;
  --neutral-charcoal-light: #6f6f6f;
  --neutral-charcoal-dark: #2b2b2b;
  
  --text-brown: #3d2b1d;
  --text-brown-light: #684f47;
  --text-brown-dark: #2c2019;
  
  /* Conservative font sizes */
  --font-size-base: 16px;
  --font-size-small: 14px;
  --font-size-large: 11px;
  --font-size-h1: 2.2rem;
  --font-size-h2: 1.8rem;
  --font-size-h3: 1.5rem;
  --font-size-navbar-brand: 1.4rem;
}

/* Base styles */
body {
  overflow-x: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-brown);
  background-color: var(--secondary-cream);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Typography */
h1 { 
  font-size: var(--font-size-h1); 
  color: var(--primary-burgundy);
  font-weight: 700;
  margin-bottom: 1.18rem;
}

h2 { 
  font-size: var(--font-size-h2); 
  color: var(--primary-burgundy-dark);
  font-weight: 600;
  margin-bottom: 0.93rem;
}

h3 { 
  font-size: var(--font-size-h3); 
  color: var(--neutral-charcoal);
  font-weight: 500;
  margin-bottom: 0.84rem;
}

p {
  color: var(--text-brown);
  margin-bottom: 1.18rem;
}

/* Navigation */
.navbar {
  background: linear-gradient(135deg, var(--primary-burgundy) 0%, var(--primary-burgundy-dark) 100%);
  padding: 1rem 0;
  box-shadow: 0 7px 17px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-size: var(--font-size-navbar-brand) !important;
  font-weight: 700;
  color: var(--secondary-cream) !important;
}

.navbar-nav .nav-link {
  font-size: 10px !important;
  color: var(--secondary-cream-light) !important;
  font-weight: 500;
  transition: color 0.3s ease;
  margin: 0 0.5rem;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-gold) !important;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-burgundy-light) 0%, var(--primary-burgundy) 50%, var(--primary-burgundy-dark) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../CUL_images/hero-books-bg.webp') center/cover no-repeat;
  opacity: 0.2;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  color: var(--secondary-cream);
}

.hero h1 {
  color: var(--secondary-cream);
  font-size: var(--font-size-h1);
  margin-bottom: 1.71rem;
}

/* Decorative shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--accent-gold), var(--accent-gold-light));
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.hero-shape-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.hero-shape-2 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 5%;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.07rem;
}

.section-title {
  color: var(--primary-burgundy);
  margin-bottom: 1.18rem;
}

.section-subtitle {
  color: var(--accent-gold-dark);
  font-size: var(--font-size-large);
  margin-bottom: 1.18rem;
}

.section-desc {
  color: var(--text-brown);
  max-width: 600px;
  margin: 0 auto;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.21rem;
}

.service-card {
  background: var(--secondary-cream-light);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 6px 19px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 27px rgba(0,0,0,0.15);
  border-color: var(--accent-gold);
}

.service-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.18rem;
}

.service-price {
  color: var(--primary-burgundy);
  font-size: 1.94rem;
  font-weight: 700;
  margin: 1rem 0;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2.21rem;
}

.team-member {
  text-align: center;
  background: var(--secondary-cream-light);
  border-radius: 15px;
  padding: 2rem;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-8px);
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.18rem;
  border: 4px solid var(--accent-gold);
}

/* Reviews/Testimonials */
.reviews-slider {
  margin-top: 2.21rem;
}

.review-item {
  background: var(--secondary-cream-light);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  margin: 0 1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.review-text {
  font-style: italic;
  margin-bottom: 1.71rem;
  color: var(--text-brown);
}

.review-author {
  color: var(--primary-burgundy);
  font-weight: 600;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.21rem;
}

.blog-item {
  background: var(--secondary-cream-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.blog-item:hover {
  transform: translateY(-5px);
}

.blog-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

/* FAQ */
.faq-item {
  background: var(--secondary-cream-light);
  border-radius: 8px;
  margin-bottom: 1.18rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.faq-question {
  background: var(--primary-burgundy);
  color: var(--secondary-cream);
  padding: 1rem 1.5rem;
  cursor: pointer;
  margin: 0;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--primary-burgundy-dark);
}

.faq-answer {
  padding: 1.5rem;
  color: var(--text-brown);
  display: none;
}

.faq-answer.active {
  display: block;
}

/* Contact Form */
.contact-form {
  background: var(--secondary-cream-light);
  padding: 3rem;
  border-radius: 15px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 1.71rem;
}

.form-control {
  border: 2px solid var(--neutral-charcoal-light);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: var(--font-size-base);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 0.2rem rgba(223, 169, 44, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-burgundy) 0%, var(--primary-burgundy-dark) 100%);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2.21rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Footer */
.footer {
  background-color: #aaaaaa;
  color: var(--secondary-cream);
  padding: 3rem 0 1rem;
  margin-top: 4.22rem;
}

.footer h5 {
  color: var(--accent-gold);
  margin-bottom: 1.18rem;
}

.footer a {
  color: var(--secondary-cream-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 1px solid var(--neutral-charcoal-light);
  margin-top: 2.21rem;
  padding-top: 1.13rem;
  text-align: center;
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

.breadcrumb-item img {
  width: 24px;
  height: 24px;
  opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.94rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .contact-form {
    padding: 2rem;
    margin: 0 1rem;
  }
  
  .services-grid,
  .team-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  /* Disable autoplay and effects on mobile for Swiper */
  .swiper-container {
    overflow: visible;
  }
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-burgundy) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient {
  background: linear-gradient(135deg, var(--secondary-cream) 0%, var(--secondary-cream-light) 100%);
}

.shadow-soft {
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
} 