/**
 * Legal Pages Stylesheet
 * Privacy Policy, Terms & Conditions, Imprint & Legal Disclaimer
 * Design: Clean, Blue Header, Card Layout
 */

/* ===== Variables ===== */
:root {
    --legal-primary: #16213e; /* Bright Blue */
    --legal-primary-dark: #16213e;
    --legal-bg: #f8f9fa;
    --legal-card-bg: #ffffff;
    --legal-text: #333333;
    --legal-text-light: #6c757d;
    --legal-border: #e9ecef;
}

/* ===== Base Layout ===== */
body {
    background-color: var(--legal-bg);
    color: var(--legal-text);
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* ===== Header Section ===== */
.legal-header {
    background: linear-gradient(135deg, #16213e 0%, #16213e 100%); /* Material Blue Gradient */
    color: #ffffff;
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.legal-header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Decorative background shape */
.legal-header::after {
    content: "";
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.legal-header::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 1;
}

/* ===== Breadcrumb Integration ===== */
/* Ensuring breadcrumb container sits nicely */
.breadcrumb-container {
    background: #ffffff !important;
    border-bottom: 1px solid var(--legal-border);
    padding: 15px 0;
}

.breadcrumb-wrapper {
    max-width: 1000px; /* Match content width */
}

/* ===== Content Section ===== */
.legal-content-section {
    padding: 50px 0 80px;
    /* min-height: 60vh; */
}

.legal-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Legal Card/Paper ===== */
.legal-card {
    background: var(--legal-card-bg);
    border-radius: 8px; /* Slightly rounded corners */
    /* No shadow as per "clean" minimalist look or slight shadow */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02); 
    padding: 0; /* Let content padding handle it if needed, or inline */
}

/* Typography & Spacing */
.legal-card h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-card h2:first-child {
    margin-top: 0;
}

.legal-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 1.2rem;
}

.legal-card ul {
    margin-bottom: 1.5rem;
    padding-left: 20px;
}

.legal-card li {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 0.5rem;
    padding-left: 5px;
}

.legal-card strong {
    color: #2c3e50;
    font-weight: 600;
}

.legal-card a {
    color: var(--legal-primary-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.legal-card a:hover {
    color: var(--legal-primary);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-header {
        padding: 40px 0;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }

    .legal-content-section {
        padding: 30px 0 60px;
    }
}


/* YouTube Lazy Load Facade Styles */

.youtube-facade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    cursor: pointer;
    overflow: hidden;
}

.youtube-facade img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.youtube-facade:hover img {
    opacity: 0.8;
}

/* Play Button Overlay */
.youtube-facade::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 12px;
    transition: all 0.3s ease;
    z-index: 1;
}

.youtube-facade::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-35%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 20px;
    border-color: transparent transparent transparent #fff;
    z-index: 2;
}

.youtube-facade:hover::before {
    background: rgba(255, 0, 0, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Iframe styles when loaded */
.youtube-facade iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Hide play button when video is playing */
.youtube-facade.playing::before,
.youtube-facade.playing::after {
    display: none !important;
}

.youtube-facade.playing {
    cursor: default;
}

/**
 * Catalog Page Stylesheet
 * KMS Technologies
 * Modern, premium catalog page design
 */

/* ===== CSS VARIABLES ===== */
:root {
  --kms-primary: #1a1a2e;
  --kms-primary-dark: #16213e;
  --kms-yellow: #ffd700;
  --kms-yellow-dark: #e6c200;
  --kms-accent: #00bfa5;
  --kms-white: #ffffff;
  --kms-light-gray: #f8f9fa;
  --kms-gray: #6c757d;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* ===== CATALOG HERO SECTION ===== */
.catalog-hero {
  position: relative;
  min-height: 220px;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../Peb/prefect.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.catalog-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.92) 0%,
    rgba(22, 33, 62, 0.88) 50%,
    rgba(26, 26, 46, 0.85) 100%
  );
  z-index: 1;
}

.catalog-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--kms-yellow), var(--kms-accent), var(--kms-yellow));
  z-index: 2;
}

.catalog-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 20px;
}

.catalog-hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--kms-white);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.catalog-hero-title span {
  color: var(--kms-yellow);
}

.catalog-hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 550px;
  margin: 0 auto;
}

/* ===== CATALOG SECTION ===== */
.catalog-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--kms-light-gray) 0%, #ffffff 100%);
}

.catalog-display {
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== BROCHURE SHOWCASE ===== */
.brochure-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: var(--kms-white);
  border-radius: 24px;
  padding: 50px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  transition: all var(--transition-normal);
}

.brochure-showcase:hover {
  border-color: var(--kms-yellow);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

/* Brochure Image */
.brochure-image-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-normal);
}

.brochure-image-container:hover {
  transform: scale(1.02) rotate(-1deg);
}

.brochure-image-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* Brochure Details */
.brochure-details {
  padding: 20px 0;
}

.brochure-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--kms-primary);
  margin-bottom: 5px;
  line-height: 1.1;
}

.brochure-subtitle {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--kms-yellow-dark);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.brochure-description {
  font-size: 1.05rem;
  color: var(--kms-gray);
  line-height: 1.7;
  margin-bottom: 25px;
}

/* Feature Items */
.brochure-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 25px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--kms-primary);
  font-weight: 500;
}

.feature-item svg {
  color: var(--kms-accent);
  flex-shrink: 0;
}

/* Brochure Meta */
.brochure-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(26, 26, 46, 0.1);
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--kms-gray);
  background: var(--kms-light-gray);
  padding: 8px 15px;
  border-radius: 25px;
}

.meta-item svg {
  color: #e74c3c;
}

/* Action Buttons */
.brochure-actions {
  display: flex;
  gap: 15px;
}

.btn-preview,
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all var(--transition-normal);
  cursor: pointer;
}

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

.btn-preview:hover {
  background: var(--kms-primary);
  color: var(--kms-white);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(26, 26, 46, 0.3);
}

.btn-download {
  background: linear-gradient(135deg, var(--kms-yellow) 0%, var(--kms-yellow-dark) 100%);
  color: var(--kms-primary);
  border: 2px solid transparent;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.35);
}

.btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
  color: var(--kms-primary);
}

.btn-preview svg,
.btn-download svg {
  transition: transform var(--transition-fast);
}

.btn-preview:hover svg {
  transform: scale(1.1);
}

.btn-download:hover svg {
  transform: translateY(2px);
}

/* ===== CTA SECTION ===== */
.catalog-cta-section {
  background: linear-gradient(135deg, var(--kms-primary) 0%, var(--kms-primary-dark) 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.catalog-cta-section::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.catalog-cta-section .cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.catalog-cta-section .cta-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--kms-white);
  margin-bottom: 15px;
}

.catalog-cta-section .cta-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
  margin: 0 auto 30px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 35px;
  background: linear-gradient(135deg, var(--kms-yellow) 0%, var(--kms-yellow-dark) 100%);
  color: var(--kms-primary);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 50px;
  transition: all var(--transition-normal);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.35);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
  color: var(--kms-primary);
}

.cta-btn svg {
  transition: transform var(--transition-fast);
}

.cta-btn:hover svg {
  transform: translateX(5px);
}

/* ===== GET QUOTE CTA BANNER ===== */
.get-quote-cta-section {
  position: relative;
  background: linear-gradient(135deg, #043352, #0b1138);
  overflow: hidden;
}

.get-quote-cta-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(135deg, #ffc107, #ff9800);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

.get-quote-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 30px;
  gap: 20px;
}

.get-quote-cta-text {
  flex: 1;
}

.get-quote-cta-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--kms-white);
  margin: 0 0 8px 0;
}

.get-quote-cta-subtitle {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.get-quote-cta-btn {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--kms-primary) 0%, var(--kms-primary-dark) 100%);
  color: var(--kms-yellow);
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid var(--kms-yellow);
  transition: all var(--transition-normal);
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(26, 26, 46, 0.25);
}

.get-quote-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
  color: var(--kms-yellow);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablets */
@media (max-width: 991px) {
  .catalog-hero-title {
    font-size: 2.5rem;
  }
  
  .brochure-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }
  
  .brochure-image-container {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .brochure-title {
    font-size: 2rem;
  }
  
  .brochure-features {
    grid-template-columns: 1fr;
  }
  
  .catalog-cta-section .cta-content h2 {
    font-size: 1.8rem;
  }

  .get-quote-cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 35px 25px;
  }

  .get-quote-cta-title {
    font-size: 1.5rem;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .catalog-hero {
    min-height: 180px;
  }
  
  .catalog-hero-content {
    padding: 50px 15px;
  }
  
  .catalog-hero-title {
    font-size: 1.8rem;
    letter-spacing: 2px;
  }
  
  .catalog-hero-subtitle {
    font-size: 0.95rem;
  }
  
  .catalog-section {
    padding: 50px 0;
  }
  
  .brochure-showcase {
    padding: 30px 20px;
    gap: 30px;
  }
  
  .brochure-title {
    font-size: 1.8rem;
  }
  
  .brochure-subtitle {
    font-size: 1.1rem;
  }
  
  .brochure-description {
    font-size: 0.95rem;
  }
  
  .brochure-meta {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .brochure-actions {
    flex-direction: column;
  }
  
  .btn-preview,
  .btn-download {
    justify-content: center;
    width: 100%;
  }
  
  .catalog-cta-section {
    padding: 50px 0;
  }
  
  .catalog-cta-section .cta-content h2 {
    font-size: 1.5rem;
  }
  
  .catalog-cta-section .cta-content p {
    font-size: 0.95rem;
    padding: 0 15px;
  }

  .get-quote-cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .get-quote-cta-title {
    font-size: 1.3rem;
  }

  .get-quote-cta-section::after {
    width: 100%;
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .catalog-hero-title {
    font-size: 1.5rem;
  }
  
  .brochure-showcase {
    padding: 25px 15px;
  }
  
  .brochure-title {
    font-size: 1.5rem;
  }
  
  .brochure-subtitle {
    font-size: 1rem;
    letter-spacing: 1px;
  }
  
  .feature-item {
    font-size: 0.9rem;
  }
  
  .btn-preview,
  .btn-download {
    padding: 14px 25px;
    font-size: 0.95rem;
  }
}
