/* Deatextile Digital Printing Page Styles (Zalmon-inspired) */
:root {
  --dea-gold: #cbae78;
  --dea-dark: #333333;
  --dea-light: #f9f9f9;
  --dea-white: #ffffff;
  --dea-text: #444444;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--dea-text);
  overflow-x: hidden;
}

/* =========================================
   HERO SECTION
   ========================================= */
.dp-hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.dp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  /* Dark overlay */
}

.dp-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.dp-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.dp-hero h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 40px;
  color: var(--dea-gold);
}

.dp-hero-icons {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 30px;
}

.dp-icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.dp-icon-round {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--dea-gold);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.dp-icon-text {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =========================================
   STEPS SECTION (ACCORDION STYLE)
   ========================================= */
.dp-steps-section {
  padding: 80px 0;
  background: var(--dea-white);
  overflow: hidden;
}

/* Animated Headline */
.dp-animated-headline {
  text-align: center;
  margin-bottom: 60px;
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dea-dark);
}

.dp-highlight-text {
  position: relative;
  display: inline-block;
  color: var(--dea-dark);
  z-index: 1;
}

.dp-highlight-svg {
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 20px;
  z-index: -1;
  fill: none;
  stroke: var(--dea-gold);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.6;
}

.dp-headline-plain {
  font-weight: 300;
  color: #666;
}

/* Accordion Container */
.accordion-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  height: 500px;
  /* Fixed height for the accordion */
  display: flex;
  justify-content: center;
}

.accordion-container {
  display: flex;
  width: 100%;
  height: 100%;
  gap: 10px;
}

/* Accordion Item */
.accordion-item {
  position: relative;
  flex: 1;
  /* Default collapsed state */
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  isolation: isolate;
}

.accordion-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0));
  opacity: 0.8;
  transition: opacity 0.3s;
}

.accordion-item.active {
  flex: 5;
  /* Expanded state */
}

/* Mobile: Ensure it expands enough but doesn't break layout */

.accordion-item:hover::before {
  opacity: 0.9;
}

/* Collapsed label/icon */
.accordion-label {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
  transition: all 0.3s;
  opacity: 1;
}

.accordion-label-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: var(--dea-gold);
  color: #fff;
  border-radius: 50%;
  font-weight: bold;
  margin-bottom: 10px;
}

.accordion-label-text {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  /* Vertical text for coolness in collapsed state */
  text-orientation: mixed;
  height: 100px;
}

.accordion-item.active .accordion-label {
  opacity: 0;
  pointer-events: none;
}


/* Accordion Content (Visible on Active) */
.accordion-content {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  color: #fff;
  opacity: 0;
  /* Hidden by default */
  transform: translateY(20px);
  transition: all 0.4s ease 0.1s;
  pointer-events: none;
  text-align: left;
}


.accordion-item.active .accordion-content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Inside Content Styling */
.accordion-content .step-num-big {
  font-size: 4rem;
  color: var(--dea-gold);
  font-weight: 700;
  opacity: 0.3;
  position: absolute;
  top: -50px;
  left: 0;
  line-height: 1;
}

.accordion-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.accordion-content p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #e0e0e0;
  max-width: 600px;
  /* Limit width for readability */
}

.accordion-btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--dea-gold);
  border: 1px solid var(--dea-gold);
  color: #fff;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
  /* Slightly grounded */
  text-decoration: none;
  transition: all 0.3s;
}

.accordion-btn:hover {
  background: #b39560;
  border-color: #b39560;
  color: #fff;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
  .accordion-wrapper {
    height: auto;
    display: block;
  }

  .accordion-container {
    flex-direction: column;
    height: auto;
    gap: 15px;
  }

  .accordion-item {
    height: 80px;
    flex: none;
    width: 100%;
    border-radius: 10px;
  }

  .accordion-item.active {
    height: 380px; /* Reduced from 450px for better viewport fit */
    flex: none;
  }

  .accordion-label {
    bottom: 50%;
    transform: translate(-50%, 50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    writing-mode: horizontal-tb;
    width: 90%;
  }

  .accordion-label-text {
    writing-mode: horizontal-tb;
    height: auto;
    font-size: 1rem;
    font-weight: 700;
  }

  .accordion-content {
    bottom: 15px;
    left: 15px;
    right: 15px;
  }

  .accordion-content h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
  }
  
  .accordion-content p {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 15px;
  }
  
  .accordion-btn {
    padding: 10px 20px;
    font-size: 0.8rem;
  }
}


/* =========================================
   CTA SECTION
   ========================================= */
.dp-cta-section {
  padding: 80px 0;
  background: var(--dea-light);
  text-align: center;
}

/* Gallery Strip */
.cta-gallery {
  display: flex;
  gap: 10px;
  overflow: hidden;
  margin-bottom: 50px;
  opacity: 0.8;
}

.cta-gallery img {
  height: 150px;
  width: auto;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 4px;
}

.btn-cta-big {
  display: inline-block;
  background: var(--dea-gold);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 18px 50px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(203, 174, 120, 0.4);
}

.btn-cta-big:hover {
  background: #b39560;
  /* Darker gold */
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(203, 174, 120, 0.6);
  color: #fff;
}