/* Barbershop Template - Main CSS */
:root {
  /* Primary Colors */
  --primary-gold: #D4AF37;
  --primary-dark: #2C1810;
  --primary-brown: #8B4513;
  --primary-cream: #F5F5DC;
  --primary-charcoal: #36454F;
  
  /* Light/Dark Shades */
  --gold-light: #E6C757;
  --gold-dark: #B8860B;
  --dark-light: #3E2723;
  --dark-darker: #1A0E0A;
  --brown-light: #A0522D;
  --brown-dark: #654321;
  --cream-light: #FFFEF7;
  --cream-dark: #E6E6D4;
  --charcoal-light: #495057;
  --charcoal-dark: #212529;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  overflow-x: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--primary-dark);
  background-color: var(--cream-light);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* Header */
.navbar {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-charcoal) 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(--primary-gold) !important;
}

.navbar-nav .nav-link {
  color: var(--cream-light) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  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-brown) 50%, var(--primary-charcoal) 100%);
  display: flex;
  align-items: center;
  color: var(--cream-light);
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--primary-brown);
  margin-bottom: 1rem;
}

.section-desc {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Services */
.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-price {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-gold);
}

/* Team */
.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid var(--primary-gold);
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 15px;
}

.form-control {
  border: 2px solid var(--cream-dark);
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--gold-dark) 100%);
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: bold;
}

/* Footer */
footer {
  background: var(--primary-dark);
  color: var(--cream-light);
  padding: 3rem 0 1rem;
}

/* FAQ */
.faq-question {
  background: var(--primary-charcoal);
  color: white;
  padding: 1rem;
  cursor: pointer;
}

.faq-answer {
  padding: 1rem;
  background: white;
  display: none;
}

/* Feature Items */
.feature-item {
  text-align: center;
  padding: 2rem 1rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
  height: 100%;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item i {
  font-size: 3rem;
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

/* About Section */
.about-section {
  background-color: var(--cream-light);
}

/* Services Section */
.services-section {
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--cream-light) 100%);
}

.service-card {
  border: 2px solid transparent;
}

.service-card:hover {
  border-color: var(--primary-gold);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.service-features {
  color: var(--charcoal-light);
  font-size: 0.9rem;
}

/* Price Plan Section */
.priceplan-section {
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--primary-cream) 100%);
}

.service-card.featured {
  border: 3px solid var(--primary-gold);
  transform: scale(1.05);
}

/* Team Section */
.team-section {
  background-color: var(--primary-dark);
  color: var(--cream-light);
}

.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-member-name {
  color: var(--primary-gold);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.team-member-role {
  color: var(--cream-dark);
  font-style: italic;
}

/* Reviews Section */
.reviews-section {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--gold-light) 100%);
}

.review-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.review-text {
  font-style: italic;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.review-author {
  font-weight: bold;
  color: var(--primary-dark);
}

/* Case Study Section */
.casestudy-section {
  background: var(--cream-light);
}

/* Process Section */
.process-section {
  background: var(--cream-dark);
}

/* Timeline Section */
.timeline-section {
  background: linear-gradient(135deg, var(--primary-brown) 0%, var(--brown-light) 100%);
  color: var(--cream-light);
}

/* Career Section */
.career-section {
  background: var(--cream-light);
}

/* Core Info Section */
.coreinfo-section {
  background: linear-gradient(135deg, var(--primary-charcoal) 0%, var(--charcoal-light) 100%);
  color: var(--cream-light);
}

/* FAQ Section */
.faq-section {
  background-color: var(--cream-light);
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--cream-dark);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question:hover {
  background: var(--charcoal-light);
}

/* Gallery */
.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;
  cursor: pointer;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.blog-item:hover {
  transform: translateY(-5px);
}

.blog-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-item-content {
  padding: 1.5rem;
}

.blog-item-title {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.blog-item-excerpt {
  color: var(--charcoal-light);
  margin-bottom: 1rem;
}

.blog-item-link {
  color: var(--primary-gold);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.blog-item-link:hover {
  color: var(--gold-dark);
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, var(--primary-brown) 0%, var(--brown-dark) 100%);
  color: var(--cream-light);
}

.contact-info p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.contact-info i {
  margin-right: 0.5rem;
  color: var(--primary-gold);
}

/* Footer */
.footer-content {
  margin-bottom: 2rem;
}

.footer-title {
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--cream-dark);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-gold);
}

.footer-bottom {
  border-top: 1px solid var(--charcoal-light);
  padding-top: 1rem;
  text-align: center;
}

/* Breadcrumbs */
.breadcrumb-section {
  padding: 2rem 0;
  background: var(--cream-dark);
}

.breadcrumb-img {
  height: 40px;
  width: auto;
}

/* Utilities */
.text-gold { color: var(--primary-gold) !important; }
.bg-gold { background-color: var(--primary-gold) !important; }
.text-brown { color: var(--primary-brown) !important; }
.bg-brown { background-color: var(--primary-brown) !important; }

/* Swiper Overrides */
.swiper-pagination-bullet-active {
  background-color: var(--primary-gold) !important;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-gold) !important;
}
