/* Bookstore Reading Lounge Template - Main CSS */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.4/css/lightbox.min.css');
@import url('https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css');

/* Color Palette Variables */
:root {
  --primary-warm: #8B4513;
  --primary-sage: #9CAF88;
  --primary-cream: #F5F5DC;
  --primary-charcoal: #36454F;
  --primary-amber: #D2691E;
  
  /* Light Shades */
  --light-warm: #CD853F;
  --light-sage: #B8C8A8;
  --light-cream: #FAFAFA;
  --light-charcoal: #708090;
  --light-amber: #F4A460;
  
  /* Dark Shades */
  --dark-warm: #5D2F0A;
  --dark-sage: #6B7A5B;
  --dark-cream: #E5E5CC;
  --dark-charcoal: #2F3E46;
  --dark-amber: #A0520D;
  
  /* Typography */
  --font-base: 16px;
  --font-small: 14px;
  --font-large: 18px;
}

/* Typography & Base Styles */
body {
  overflow-x: hidden;
  font-family: 'Georgia', serif;
  font-size: var(--font-base);
  line-height: 1.6;
  color: var(--primary-charcoal);
  background-color: var(--light-cream);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--primary-warm);
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

/* Accessibility - Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Header Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-warm) 0%, var(--dark-warm) 100%);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--light-cream) !important;
}

.navbar-nav .nav-link {
  color: var(--light-cream) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-amber) !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-sage) 0%, var(--light-sage) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/hero-bookstore.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--primary-charcoal);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--dark-charcoal);
  margin-bottom: 2rem;
}

/* Section Styling */
section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--primary-sage);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

/* About Section */
.about-feature {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px 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-amber);
  margin-bottom: 1rem;
}

/* Services Section */
.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-amber);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.service-price {
  font-size: 2rem;
  color: var(--primary-warm);
  font-weight: bold;
  margin: 1rem 0;
}

/* Features Section */
.feature-item {
  background: var(--light-cream);
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-amber);
}

/* Price Plan Section */
.price-card {
  background: white;
  border-radius: 15px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  position: relative;
  border: 2px solid var(--light-sage);
  transition: all 0.3s ease;
}

.price-card:hover {
  border-color: var(--primary-amber);
  transform: scale(1.02);
}

.price-card.featured {
  border-color: var(--primary-warm);
  transform: scale(1.05);
}

.price-amount {
  font-size: 3rem;
  color: var(--primary-warm);
  font-weight: bold;
}

/* Team Section */
.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--primary-sage);
  transition: transform 0.3s ease;
}

.team-photo:hover {
  transform: scale(1.1);
}

/* Reviews Section */
.review-slider .swiper-slide {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  text-align: center;
}

.review-author {
  font-weight: bold;
  color: var(--primary-warm);
  margin-top: 1rem;
}

/* Case Studies Section */
.case-study-item {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

/* Process Section */
.process-step {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--light-sage) 0%, var(--primary-sage) 100%);
  border-radius: 15px;
  margin-bottom: 2rem;
  color: white;
}

.process-number {
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary-amber);
  margin-bottom: 1rem;
}

/* Timeline Section */
.timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--primary-amber);
  border-radius: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 9px;
  top: 20px;
  width: 2px;
  height: calc(100% + 1rem);
  background: var(--light-sage);
}

.timeline-item:last-child::after {
  display: none;
}

/* Career Section */
.career-item {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-warm);
}

/* Core Info Section */
.core-info-item {
  background: var(--light-cream);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 2rem;
  border: 2px solid var(--primary-sage);
}

.core-info-item i {
  font-size: 2.5rem;
  color: var(--primary-amber);
  margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-control {
  border: 2px solid var(--light-sage);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.form-control:focus {
  border-color: var(--primary-amber);
  box-shadow: 0 0 0 0.2rem rgba(210, 105, 30, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-warm) 0%, var(--dark-warm) 100%);
  border: none;
  padding: 1rem 2rem;
  border-radius: 10px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--dark-warm) 0%, var(--primary-warm) 100%);
  transform: translateY(-2px);
}

/* Blog Section */
.blog-post {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
}

.blog-post:hover {
  transform: translateY(-5px);
}

.blog-post img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-content {
  padding: 2rem;
}

/* FAQ Section */
.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 1rem;
  border: 1px solid var(--light-sage);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  background: var(--light-cream);
  border-radius: 10px 10px 0 0;
  font-weight: bold;
  color: var(--primary-warm);
}

.faq-answer {
  padding: 1.5rem;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--primary-charcoal) 0%, var(--dark-charcoal) 100%);
  color: var(--light-cream);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-amber);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--light-cream);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-amber);
}

.footer-bottom {
  border-top: 1px solid var(--light-charcoal);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  
  .price-amount {
    font-size: 2rem;
  }
}

/* Utility Classes */
.text-primary-warm { color: var(--primary-warm) !important; }
.text-primary-sage { color: var(--primary-sage) !important; }
.text-primary-amber { color: var(--primary-amber) !important; }
.bg-primary-warm { background-color: var(--primary-warm) !important; }
.bg-primary-sage { background-color: var(--primary-sage) !important; }
.bg-light-cream { background-color: var(--light-cream) !important; } 