/* Bookbinding Workshop 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://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.4/css/lightbox.min.css');

/* Root Color Variables */
:root {
  --primary-color: #8B4513;
  --primary-light: #CD853F;
  --primary-dark: #654321;
  --secondary-color: #D2B48C;
  --secondary-light: #F5DEB3;
  --secondary-dark: #BC9A6A;
  --accent-color: #A0522D;
  --accent-light: #DEB887;
  --accent-dark: #8B4513;
  --neutral-color: #2F2F2F;
  --neutral-light: #F8F9FA;
  --neutral-dark: #1A1A1A;
  --tertiary-color: #DAA520;
  --tertiary-light: #FFD700;
  --tertiary-dark: #B8860B;
  
  --text-primary: #2F2F2F;
  --text-secondary: #666666;
  --text-light: #FFFFFF;
  --text-muted: #888888;
  
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-light), var(--secondary-color));
  --gradient-tertiary: linear-gradient(135deg, var(--tertiary-light), var(--tertiary-color));
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--neutral-light);
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Typography */
h1 { font-size: 1.875rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* Header */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(139, 69, 19, 0.1);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-color) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--text-primary) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-primary);
  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-bg.webp') center/cover;
  opacity: 0.2;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.section-desc {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  color: var(--text-secondary);
}

/* Cards */
.card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
  height: 100%;
  border: 1px solid rgba(139, 69, 19, 0.1);
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

/* Background Sections */
.about-section { background: var(--neutral-light); }
.services-section { background: var(--gradient-secondary); }
.features-section { background: white; }
.priceplan-section { background: var(--gradient-tertiary); }
.team-section { background: var(--neutral-light); }
.reviews-section { background: var(--gradient-primary); color: var(--text-light); }
.casestudy-section { background: white; }
.process-section { background: var(--gradient-secondary); }
.timeline-section { background: white; }
.career-section { background: var(--neutral-light); }
.coreinfo-section { background: var(--gradient-tertiary); }
.blog-section { background: white; }
.faq-section { background: var(--neutral-light); }
.gallery-section { background: white; }
.contact-section { background: var(--gradient-primary); color: var(--text-light); }

.reviews-section .section-title,
.reviews-section .section-subtitle,
.contact-section .section-title,
.contact-section .section-subtitle { color: var(--text-light); }

/* Contact Form */
.contact-form {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(10px);
}

.form-control {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.form-control:focus {
  background: white;
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.3);
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--accent-color);
  border: none;
  border-radius: 10px;
  padding: 1rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.contact-info p {
  color: var(--text-light);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.contact-info i {
  margin-right: 1rem;
  color: var(--tertiary-light);
}

/* Footer */
.footer {
  background: var(--neutral-dark);
  color: var(--text-light);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-light);
  margin-bottom: 1.5rem;
}

.footer p, .footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.footer a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom small {
  color: rgba(255, 255, 255, 0.6);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Space Page */
#space {
  min-height: 60vh;
  background: var(--gradient-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  margin: 3rem 0;
}

/* Swiper */
.swiper-container {
  padding: 2rem 0;
}

.review-slide {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.review-text {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.review-author {
  font-weight: 600;
  color: var(--tertiary-light);
}

/* FAQ */
.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
  background: var(--primary-color);
  color: white;
  padding: 1.5rem;
  border-radius: 10px 10px 0 0;
  margin: 0;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--primary-dark);
}

.faq-answer {
  padding: 1.5rem;
  color: var(--text-secondary);
  border-radius: 0 0 10px 10px;
  margin: 0;
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 2rem 0;
}

.breadcrumb-item img {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 4px;
}

/* Team Cards */
.team-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.team-content {
  padding: 2rem;
  text-align: center;
}

.team-name {
  color: var(--primary-color);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--text-secondary);
  font-style: italic;
}

/* Service Cards */
.service-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-content {
  padding: 2rem;
}

.service-name {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.service-features {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Blog Cards */
.blog-card {
  background: var(--neutral-light);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 2rem;
}

.blog-title {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.blog-excerpt {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.blog-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
}

.blog-link:hover {
  color: var(--accent-dark);
}
