/* ============================================
   HS Design - 广州辉照室内设计有限公司
   Main Stylesheet
   ============================================ */

/* CSS Variables */
:root {
  --primary: #1a8a8a;
  --primary-dark: #147070;
  --primary-light: #20a8a8;
  --secondary: #c8a97e;
  --dark: #1a1a2e;
  --dark-2: #2d2d44;
  --gray: #6b7280;
  --gray-light: #f3f4f6;
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.15);
  --radius: 12px;
  --transition: all 0.3s ease;
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-lg);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
}

.logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  transition: var(--transition);
}

.nav a:hover,
.nav a.active {
  background: var(--primary);
  color: white;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 15px;
  padding: 6px 12px;
  background: var(--gray-light);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.lang-switch button {
  border: none;
  background: none;
  padding: 4px 10px;
  border-radius: 15px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
}

.lang-switch button.active {
  background: var(--primary);
  color: white;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle span {
  width: 25px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 40px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../image/8b958f3bcd7efc82417d975b62d42763.jpg') center/cover;
  opacity: 0.2;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.9) 0%, rgba(45,45,68,0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--white);
  animation: fadeInUp 0.6s ease;
}

.hero-text h1 span {
  color: var(--primary-light);
}

.hero-text p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 35px;
  line-height: 1.8;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-btns {
  display: flex;
  gap: 15px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.stat-item {
  text-align: center;
  color: white;
}

.stat-num {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary-light);
}

.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.hero-image {
  position: relative;
}

.hero-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  animation: fadeInUp 0.8s ease;
}

.hero-img-grid img {
  border-radius: var(--radius);
  width: 100%;
  height: 200px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-img-grid img:first-child {
  grid-row: span 2;
  height: 100%;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26,138,138,0.3);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: white;
}

/* ============================================
   Section Styles
   ============================================ */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(26,138,138,0.1);
  color: var(--primary);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-desc {
  font-size: 16px;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   Services Section
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  padding: 40px 30px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 25px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

/* ============================================
   Portfolio Section
   ============================================ */
.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border: none;
  background: var(--gray-light);
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: white;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 300px;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-overlay h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.portfolio-overlay p {
  font-size: 13px;
  opacity: 0.8;
}

/* ============================================
   About Section
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
}

.about-badge .num {
  font-size: 36px;
  font-weight: 800;
}

.about-badge .text {
  font-size: 12px;
}

.about-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--gray);
  margin-bottom: 15px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(26,138,138,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
}

.about-feature span {
  font-weight: 600;
  font-size: 14px;
}

/* ============================================
   Process Section
   ============================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  margin: 0 auto 20px;
}

.process-step h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 13px;
  color: var(--gray);
}

/* ============================================
   Team Section
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: white;
}

.team-card h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.team-card .role {
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.team-social a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.team-social a:hover {
  background: var(--primary);
  color: white;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-item {
  padding: 40px;
}

.testimonial-text {
  font-size: 20px;
  line-height: 1.8;
  color: var(--dark);
  margin-bottom: 30px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
}

.testimonial-info h5 {
  font-size: 16px;
  margin-bottom: 3px;
}

.testimonial-info p {
  font-size: 13px;
  color: var(--gray);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.testimonial-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-light);
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dots span.active {
  background: var(--primary);
  width: 30px;
  border-radius: 5px;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0;
  text-align: center;
  color: white;
}

.cta h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.cta p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 30px;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  padding: 40px;
  background: var(--dark);
  border-radius: var(--radius);
  color: white;
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.info-icon {
  width: 45px;
  height: 45px;
  background: rgba(26,138,138,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.info-text h5 {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 5px;
}

.info-text p {
  font-size: 15px;
}

.contact-form {
  padding: 40px;
  background: var(--gray-light);
  border-radius: var(--radius);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 25px;
  background: var(--white);
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  color: var(--primary);
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 25px 20px;
  max-height: 300px;
}

.faq-answer p {
  color: var(--gray);
  line-height: 1.8;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--dark);
  color: white;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-about .logo {
  color: white;
  margin-bottom: 20px;
}

.footer-about p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
}

.footer h4 {
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
  padding: 180px 0 80px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  text-align: center;
  color: white;
}

.page-header h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  opacity: 0.8;
}

.breadcrumb a:hover {
  color: var(--primary-light);
}

/* ============================================
   Features List
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.feature-item {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-num {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.feature-item h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 13px;
  color: var(--gray);
}

/* ============================================
   Stats Bar
   ============================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 50px 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  position: relative;
}

.stat-box {
  text-align: center;
  padding: 20px;
  position: relative;
}

.stat-box:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.15);
}

.stat-box .num {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-box .label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-image {
    display: none;
  }
  
  .services-grid,
  .portfolio-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-steps::before {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
  }
  
  .nav.active {
    display: flex;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .hero-text h1 {
    font-size: 32px;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .hero-stats {
    flex-wrap: wrap;
  }
  
  .services-grid,
  .portfolio-grid,
  .team-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-box:nth-child(2)::after {
    display: none;
  }
  
  .stat-box {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 26px;
  }
  
  .hero-stats {
    gap: 20px;
  }
  
  .stat-num {
    font-size: 32px;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }
  
  .lang-switch {
    margin-left: 10px;
  }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeInUp 0.6s ease forwards;
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Online Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.chat-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(26,138,138,0.4);
  transition: var(--transition);
}

.chat-btn:hover {
  transform: scale(1.1);
  background: var(--primary-dark);
}

.chat-box {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 320px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: none;
  overflow: hidden;
}

.chat-box.active {
  display: block;
  animation: fadeInUp 0.3s ease;
}

.chat-header {
  padding: 20px;
  background: var(--primary);
  color: white;
}

.chat-header h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

.chat-header p {
  font-size: 12px;
  opacity: 0.8;
}

.chat-body {
  padding: 20px;
  height: 200px;
  overflow-y: auto;
  background: var(--gray-light);
}

.chat-msg {
  padding: 10px 15px;
  background: white;
  border-radius: 12px;
  margin-bottom: 10px;
  font-size: 14px;
  max-width: 85%;
}

.chat-msg.bot {
  border-bottom-left-radius: 4px;
}

.chat-msg.user {
  background: var(--primary);
  color: white;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.chat-input {
  display: flex;
  padding: 15px;
  gap: 10px;
  border-top: 1px solid #e5e7eb;
}

.chat-input input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  font-size: 14px;
}

.chat-input button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  color: white;
  cursor: pointer;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 998;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ============================================
   Lightbox - Image Preview Modal
   ============================================ */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10001;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10001;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  text-align: center;
  padding: 8px 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  white-space: nowrap;
}

.lightbox-counter {
  position: absolute;
  top: 25px;
  left: 30px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

/* ============================================
   Fullscreen Banner Carousel
   ============================================ */
.banner-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.banner-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.banner-slide.active {
  opacity: 1;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 10;
}

.banner-content h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.banner-content p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.9;
  text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  color: white;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.banner-nav:hover {
  background: rgba(255,255,255,0.4);
  border-color: white;
}

.banner-prev {
  left: 30px;
}

.banner-next {
  right: 30px;
}

.banner-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.banner-dot.active {
  background: white;
  border-color: white;
  transform: scale(1.2);
}

.banner-dot:hover {
  background: rgba(255,255,255,0.8);
}

@media (max-width: 768px) {
  .banner-content h2 {
    font-size: 28px;
  }
  .banner-content p {
    font-size: 16px;
  }
  .banner-nav {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
  .banner-prev {
    left: 15px;
  }
  .banner-next {
    right: 15px;
  }
}
