/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #5b5b35;
  --primary-dark: #4a4a2a;
  --primary-light: #6d6d47;
  --secondary-color: #f4f4f0;
  --text-dark: #333;
  --text-light: #666;
  --white: #fff;
  --gray-light: #f8f8f8;
  --gray-medium: #e0e0e0;
  --shadow: rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  padding-top: 80px; /* Account for fixed header */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

/* Header Styles */
.header {
  background: var(--white);
  box-shadow: 0 2px 10px var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo h1 {
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

.logo-tagline {
  color: var(--text-light);
  font-size: 0.8rem;
  margin-top: -5px;
}

/* Navigation */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.cta-button {
  background: var(--primary-color);
  color: var(--white) !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 5px;
  border: none !important;
}

.cta-button:hover {
  background: var(--primary-dark);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(
      45deg,
      transparent,
      transparent 35px,
      rgba(255, 255, 255, 0.03) 35px,
      rgba(255, 255, 255, 0.03) 70px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 35px,
      rgba(255, 255, 255, 0.02) 35px,
      rgba(255, 255, 255, 0.02) 70px
    );
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow);
}

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

.btn-secondary:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* Section Styles */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-light);
}

/* Services Overview */
.services-overview {
  background: var(--gray-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 5px 15px var(--shadow);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.service-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.service-link:hover {
  color: var(--primary-dark);
}

/* Why Choose Us */
.why-choose-us {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
}

.feature-number {
  font-size: 3rem;
  color: var(--primary-color);
  font-weight: 700;
  opacity: 0.2;
  margin-bottom: 0.5rem;
}

.feature-item h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: var(--text-light);
}

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

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* Page Header */
.page-header {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.3rem;
  opacity: 0.95;
}

/* Service Detail Pages */
.service-detail {
  padding: 5rem 0;
}

.service-detail.alternate {
  background: var(--gray-light);
}

.service-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-detail.alternate .service-detail-content {
  grid-template-columns: 1fr 1fr;
}

.service-detail-text h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-detail-text h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 1.5rem 0 0.5rem;
}

.service-detail-text p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.service-list {
  list-style: none;
  margin: 1rem 0 2rem 0;
}

.service-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-light);
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.placeholder-image {
  width: 100%;
  min-height: 400px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 100px;
}

.service-detail-image span {
  color: rgba(255, 255, 255, 0.8);
}

/* Gallery Page */
.gallery-filter {
  background: var(--gray-light);
  padding: 2rem 0;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.8rem 1.5rem;
  background: var(--white);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

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

.gallery-section {
  padding: 4rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item.hidden {
  display: none;
}

.gallery-image {
  overflow: hidden;
}

.placeholder-gallery {
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: rgba(255, 255, 255, 0.8);
}

.gallery-info {
  padding: 1.5rem;
  background: var(--white);
}

.gallery-info h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.gallery-category {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* About Page */
.about-content {
  padding: 5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.values-section {
  background: var(--gray-light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 5px 15px var(--shadow);
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.value-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Stats Section */
.stats-section {
  background: var(--primary-color);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.2rem;
  opacity: 0.95;
}

/* Process Section */
.process-section {
  background: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.process-step {
  text-align: center;
  padding: 1.5rem;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.process-step h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Certifications */
.certifications-section {
  background: var(--gray-light);
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.cert-badge {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px var(--shadow);
}

.cert-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cert-badge p {
  color: var(--text-dark);
  font-weight: 600;
}

/* Contact Page */
.contact-section {
  padding: 5rem 0;
  background: var(--gray-light);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.contact-form-container {
  background: var(--white);
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow);
}

.contact-form-container h2 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.contact-form-container > p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem;
  border: 2px solid var(--gray-medium);
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

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

.form-message {
  padding: 1rem;
  border-radius: 5px;
  margin-top: 1rem;
  display: none;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  display: block;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  display: block;
}

/* Contact Info Container */
.contact-info-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow);
}

.contact-info-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-info-card > p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  font-size: 2rem;
  min-width: 40px;
}

.contact-detail h4 {
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}

.contact-detail p {
  color: var(--text-dark);
  margin: 0;
}

.small-text {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 0.3rem;
}

.contact-cta-card {
  background: var(--primary-color);
  color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
}

.contact-cta-card h3 {
  margin-bottom: 1rem;
}

.contact-cta-card p {
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

/* Map Section */
.map-section {
  padding: 0;
}

.map-container {
  width: 100%;
  height: 450px;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Responsive map height */
@media (max-width: 768px) {
  .map-container {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .map-container {
    height: 300px;
  }
}

/* FAQ Section */
.faq-section {
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.faq-item {
  padding: 1.5rem;
  background: var(--gray-light);
  border-radius: 10px;
  border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.faq-item p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
}

.footer-section p {
  opacity: 0.9;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.9;
  transition: var(--transition);
}

.footer-section a:hover {
  opacity: 1;
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

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

.social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.contact-info li {
  margin-bottom: 1rem;
  opacity: 0.9;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--white);
    width: 100%;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 27px var(--shadow);
    padding: 2rem 0;
    gap: 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .service-detail-content,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .service-detail.alternate .service-detail-content {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero {
    height: 500px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card,
.feature-item,
.gallery-item,
.value-card {
  animation: fadeIn 0.6s ease-out;
}
/* Gallery Image Only Styles */
.gallery-image-only {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item:hover .gallery-image-only {
  transform: scale(1.05);
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  overflow: auto;
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  animation: zoomIn 0.3s ease;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10000;
  line-height: 1;
  user-select: none;
}

.lightbox-close:hover {
  color: #5b5b35;
  transform: scale(1.2);
}

.lightbox-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 18px;
  background: rgba(0, 0, 0, 0.7);
  padding: 15px 30px;
  border-radius: 5px;
  max-width: 80%;
  text-align: center;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  font-size: 40px;
  padding: 20px 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 5px;
  user-select: none;
}

.lightbox-nav:hover {
  background-color: rgba(91, 91, 53, 0.8);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .lightbox-content {
    max-width: 95%;
    max-height: 80vh;
  }

  .lightbox-close {
    top: 10px;
    right: 20px;
    font-size: 40px;
  }

  .lightbox-nav {
    font-size: 30px;
    padding: 15px 20px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-caption {
    bottom: 10px;
    font-size: 14px;
    padding: 10px 20px;
  }
}

/* Product Page Styles */
.container-fluid {
  width: 100%;
  padding: 0;
}

.product-categories {
  background: #f5f5f5;
  padding: 2rem 0;
  border-bottom: 3px solid #5b5b35;
}

.product-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.product-tab {
  padding: 12px 30px;
  background: white;
  border: 2px solid #5b5b35;
  color: #5b5b35;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.product-tab:hover,
.product-tab.active {
  background: #5b5b35;
  color: white;
}

.product-iframe-section {
  padding: 0;
  background: #fff;
}

.iframe-info {
  background: linear-gradient(135deg, #5b5b35 0%, #7a7a4a 100%);
  color: white;
  padding: 15px;
  text-align: center;
}

.iframe-info p {
  margin: 0;
  font-size: 14px;
}

.product-iframe-wrapper {
  position: relative;
  width: 100%;
  height: 1200px;
  background: #f5f5f5;
}

.iframe-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  color: #5b5b35;
  font-weight: 600;
}

#product-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

#product-iframe.loaded + .iframe-loader {
  display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .product-iframe-wrapper {
    height: 1000px;
  }

  .product-tabs {
    padding: 0 10px;
  }

  .product-tab {
    font-size: 14px;
    padding: 10px 20px;
  }
}

/* ============================================
   PROMOTIONAL SECTIONS
   ============================================ */

/* Limited Time Offer Banner */
.promo-banner {
  background: linear-gradient(135deg, #5b5b35 0%, #7a7a4a 50%, #5b5b35 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.promo-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.promo-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.promo-badge {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  backdrop-filter: blur(10px);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.badge-text {
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.promo-main {
  flex: 1;
  text-align: center;
  color: var(--white);
}

.promo-title {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInDown 1s ease-out;
}

.promo-subtitle {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  opacity: 0.95;
  font-weight: 500;
}

.promo-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1rem 0;
  animation: bounceIn 1s ease-out;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.discount-amount {
  font-size: 4rem;
  font-weight: 900;
  color: #ffd700;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
  line-height: 1;
  letter-spacing: 2px;
}

.discount-label {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.promo-terms {
  font-size: 0.9rem;
  opacity: 0.85;
  font-style: italic;
  margin-top: 0.5rem;
}

.btn-promo {
  background: #ffd700;
  color: #333;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  border: 3px solid var(--white);
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  animation: buttonFloat 3s ease-in-out infinite;
}

@keyframes buttonFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.btn-promo:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* Referral Program Section */
.referral-section {
  background: linear-gradient(135deg, #f8f8f8 0%, #fff 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.referral-section::before {
  content: "💰";
  position: absolute;
  font-size: 15rem;
  opacity: 0.03;
  right: -5%;
  top: 50%;
  transform: translateY(-50%) rotate(-15deg);
  pointer-events: none;
}

.referral-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 3px solid var(--primary-color);
  position: relative;
  overflow: hidden;
}

.referral-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--primary-color) 0%,
    #ffd700 50%,
    var(--primary-color) 100%
  );
  background-size: 200% 100%;
  animation: slideGradient 3s linear infinite;
}

@keyframes slideGradient {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 200% 0%;
  }
}

.referral-icon {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(91, 91, 53, 0.3);
  animation: rotateIcon 10s linear infinite;
}

@keyframes rotateIcon {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.icon-large {
  font-size: 5rem;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
  animation: rotateIconReverse 10s linear infinite;
}

@keyframes rotateIconReverse {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

.referral-text {
  text-align: center;
}

.referral-text h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.referral-subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-weight: 500;
}

.referral-benefits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--gray-light);
  border-radius: 10px;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateX(10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-left-width: 6px;
}

.benefit-icon {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--white);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.benefit-text {
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.benefit-text strong {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.15rem;
}

.btn-referral {
  background: var(--primary-color);
  color: var(--white);
  padding: 1rem 3rem;
  font-size: 1.2rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(91, 91, 53, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-referral::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-referral:hover::before {
  left: 100%;
}

.btn-referral:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(91, 91, 53, 0.4);
}

/* Mobile Responsive for Promotional Sections */
@media (max-width: 968px) {
  .promo-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .promo-badge {
    margin: 0 auto;
  }

  .promo-title {
    font-size: 1.8rem;
  }

  .discount-amount {
    font-size: 3rem;
  }

  .referral-content {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 2rem;
  }

  .referral-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto;
  }

  .icon-large {
    font-size: 4rem;
  }

  .referral-text h2 {
    font-size: 2rem;
  }

  .referral-benefits {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .promo-banner {
    padding: 1.5rem 0;
  }

  .promo-title {
    font-size: 1.5rem;
  }

  .promo-subtitle {
    font-size: 1rem;
  }

  .discount-amount {
    font-size: 2.5rem;
  }

  .discount-label {
    font-size: 1rem;
  }

  .btn-promo {
    padding: 0.8rem 2rem;
    font-size: 1rem;
    width: 100%;
  }

  .referral-content {
    padding: 1.5rem;
  }

  .referral-text h2 {
    font-size: 1.6rem;
  }

  .referral-subtitle {
    font-size: 1.1rem;
  }

  .benefit-item {
    padding: 0.8rem 1rem;
  }

  .benefit-text {
    font-size: 0.95rem;
  }

  .btn-referral {
    padding: 0.9rem 2rem;
    font-size: 1rem;
    width: 100%;
  }
}
