/* Labor Rights Resource Library - Main CSS */

:root {
  /* Primary Color Palette */
  --primary-navy: #2c3e50;
  --primary-gold: #f39c12;
  --primary-teal: #16a085;
  --primary-cream: #fdf6e3;
  --primary-gray: #ecf0f1;
  
  /* Light Shades */
  --light-navy: #34495e;
  --light-gold: #f7dc6f;
  --light-teal: #7fb3d3;
  --light-cream: #fefcf5;
  --light-gray: #f8f9fa;
  
  /* Dark Shades */
  --dark-navy: #1a252f;
  --dark-gold: #d68910;
  --dark-teal: #138d75;
  --dark-cream: #f4f1e8;
  --dark-gray: #d5dbdb;
  
  /* Typography */
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-secondary: Georgia, 'Times New Roman', serif;
  
  /* Spacing */
  --section-padding: 80px 0;
  --container-padding: 15px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--primary-navy);
  background-color: var(--light-cream);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 15px;
}

h1 { font-size: 2.5rem; color: var(--primary-navy); }
h2 { font-size: 2rem; color: var(--primary-navy); }
h3 { font-size: 1.5rem; color: var(--light-navy); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p {
  margin-bottom: 15px;
  color: var(--light-navy);
}

/* Header */
header {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--light-navy) 100%);
  color: white;
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(44, 62, 80, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-gold);
  text-decoration: none;
}

.navbar-nav {
  flex-direction: row;
  display: flex;
  list-style: none;
  gap: 30px;
}

.navbar-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-nav a:hover {
  color: var(--primary-gold);
}

/* Breadcrumb */
.breadcrumb {
  padding: 100px 0 20px;
  background: var(--light-gray);
}

.breadcrumb img {
  height: 20px;
  opacity: 0.7;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--light-teal) 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('../PRE_images/hero-bg.webp') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.hero-desc {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.8;
}

/* Decorative Shapes */
.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.shape-3 {
  width: 80px;
  height: 80px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* General Section Styling */
.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-navy);
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--primary-gold);
  margin-bottom: 15px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--light-navy);
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about {
  background: var(--light-gray);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.about-feature {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-5px);
}

.about-feature i {
  font-size: 3rem;
  color: var(--primary-teal);
  margin-bottom: 20px;
}

/* Services Section */
.services {
  background: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-item {
  background: var(--light-cream);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  border: 2px solid var(--primary-gray);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(243, 156, 18, 0.1), transparent);
  transition: left 0.5s ease;
}

.service-item:hover::before {
  left: 100%;
}

.service-item:hover {
  border-color: var(--primary-gold);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(243, 156, 18, 0.2);
}

.service-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
}

.service-name {
  font-size: 1.3rem;
  color: var(--primary-navy);
  margin-bottom: 15px;
}

.service-desc {
  color: var(--light-navy);
  margin-bottom: 15px;
}

.service-features {
  color: var(--primary-teal);
  font-weight: 500;
  margin-bottom: 20px;
}

.service-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-gold);
}

/* Features Section */
.features {
  background: var(--light-gray);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-item {
  background: white;
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-item i {
  font-size: 2.5rem;
  color: var(--primary-teal);
  margin-bottom: 20px;
}

/* Price Plan Section */
.priceplan {
  background: white;
}

.priceplan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.priceplan-item {
  background: var(--light-cream);
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  border: 2px solid var(--primary-gray);
  transition: all 0.3s ease;
  position: relative;
}

.priceplan-item:nth-child(2) {
  border-color: var(--primary-gold);
  transform: scale(1.05);
}

.priceplan-item:nth-child(2)::before {
  content: 'Most Popular';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gold);
  color: white;
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
}

.priceplan-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.priceplan-price {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-gold);
  margin-bottom: 20px;
}

/* Team Section */
.team {
  background: var(--light-gray);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.team-member {
  background: white;
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid var(--primary-teal);
}

.team-member-name {
  font-size: 1.2rem;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.team-member-role {
  color: var(--primary-gold);
  font-weight: 500;
}

/* Reviews Section */
.reviews {
  background: white;
}

.reviews-slider {
  margin-top: 50px;
}

.review-item {
  background: var(--light-cream);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  margin: 0 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.review-text {
  font-style: italic;
  color: var(--light-navy);
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.review-author {
  font-weight: bold;
  color: var(--primary-navy);
}

/* Core Info Section */
.coreinfo {
  background: var(--light-gray);
}

.coreinfo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.coreinfo-item {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.coreinfo-item-title {
  color: var(--primary-teal);
  font-size: 1.3rem;
  margin-bottom: 15px;
}

/* Contact Form */
.contact {
  background: white;
}

.contact-form {
  max-width: 600px;
  margin: 50px auto 0;
  background: var(--light-cream);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-navy);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--primary-gray);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-teal);
}

.form-control.textarea {
  resize: vertical;
  min-height: 120px;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}

.submit-btn {
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--light-teal) 100%);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background: linear-gradient(135deg, var(--dark-teal) 0%, var(--primary-teal) 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(22, 160, 133, 0.3);
}

/* Blog Section */
.blog {
  background: var(--light-gray);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.blog-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px 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-content {
  padding: 25px;
}

.blog-item-title {
  color: var(--primary-navy);
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.blog-item-excerpt {
  color: var(--light-navy);
  margin-bottom: 20px;
}

.blog-item-link {
  color: var(--primary-teal);
  text-decoration: none;
  font-weight: 500;
}

.blog-item-link:hover {
  color: var(--dark-teal);
}

/* FAQ Section */
.faq {
  background: white;
}

.faq-accordion {
  max-width: 800px;
  margin: 50px auto 0;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--primary-gray);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  background: var(--light-cream);
  padding: 20px;
  font-weight: 500;
  color: var(--primary-navy);
  cursor: pointer;
  transition: background-color 0.3s ease;
  position: relative;
}

.faq-question:hover {
  background: var(--primary-gray);
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary-teal);
}

.faq-question.active::after {
  content: '−';
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
}

.faq-answer.active {
  padding: 20px;
  max-height: 200px;
}

/* Gallery Section */
.gallery {
  background: var(--light-gray);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Footer */
footer {
  background: var(--primary-navy);
  color: white;
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h3 {
  color: var(--primary-gold);
  margin-bottom: 20px;
}

.footer-section p, .footer-section a {
  color: var(--light-gray);
  text-decoration: none;
  margin-bottom: 10px;
}

.footer-section a:hover {
  color: var(--primary-gold);
}

.footer-bottom {
  border-top: 1px solid var(--light-navy);
  padding-top: 20px;
  text-align: center;
}

.contact-info {
  margin-bottom: 10px;
}

#site-copyright {
  color: var(--light-gray);
  font-size: 0.9rem;
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }

/* Swiper Customization */
.swiper-pagination-bullet {
  background: var(--primary-gold);
}

.swiper-pagination-bullet-active {
  background: var(--dark-gold);
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-teal);
} 