/* ZORIN-STYLE MOCKUPS & OVERLAPPING CAPTURES */

/* 1. App Window Mockup (Mac-style) */
.zorin-window {
  background: var(--bg-surface, #fff);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
  border: 1px solid rgba(0,0,0,0.05);
  width: 100%;
}
[data-theme="dark"] .zorin-window {
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}
.zorin-window-bar {
  height: 28px;
  background: #f1f1f1;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
}
[data-theme="dark"] .zorin-window-bar {
  background: #2a2a2a;
}
.zorin-window-bar i {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.zorin-window-bar i:nth-child(1) { background: #ff5f56; }
.zorin-window-bar i:nth-child(2) { background: #ffbd2e; }
.zorin-window-bar i:nth-child(3) { background: #27c93f; }

.zorin-window img {
  width: 100%;
  display: block;
  height: auto;
}

/* 2. Overlapping Captures (Stacked) for #materias */
.zorin-stacked-captures {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 4rem auto 0;
  height: 500px; /* Base height for the container */
  display: flex;
  justify-content: center;
  align-items: center;
}

.zorin-stacked-captures .zorin-window {
  position: absolute;
  width: 65%;
  transition: transform 0.4s ease, z-index 0.4s ease;
}

/* Base positions */
.zorin-stacked-captures .capture-1 {
  transform: translate(-20%, -15%) scale(0.85);
  z-index: 1;
}
.zorin-stacked-captures .capture-2 {
  transform: translate(20%, -10%) scale(0.9);
  z-index: 2;
}
.zorin-stacked-captures .capture-3 {
  transform: translate(0, 15%) scale(1);
  z-index: 3;
}

/* Hover effects */
.zorin-stacked-captures .zorin-window:hover {
  transform: translate(0, 0) scale(1.05) !important;
  z-index: 10 !important;
  box-shadow: 0 35px 70px rgba(0,0,0,0.25);
}

/* 3. Laptop Mockup for #docente */
.zorin-laptop-mockup {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}
.zorin-laptop-screen {
  background: #000;
  border: 12px solid #222;
  border-radius: 16px 16px 0 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.zorin-laptop-screen img {
  width: 100%;
  display: block;
}
.zorin-laptop-base {
  height: 20px;
  background: #dbdbdb;
  border-radius: 0 0 16px 16px;
  position: relative;
  box-shadow: inset 0 -4px 10px rgba(0,0,0,0.1), 0 20px 40px rgba(0,0,0,0.2);
}
.zorin-laptop-base::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 15%;
  height: 6px;
  background: #b5b5b5;
  border-radius: 0 0 6px 6px;
}
[data-theme="dark"] .zorin-laptop-base {
  background: #444;
}
[data-theme="dark"] .zorin-laptop-base::before {
  background: #2a2a2a;
}

/* Fix mobile scaling for captures */
@media (max-width: 768px) {
  .zorin-stacked-captures {
    height: 350px;
  }
  .zorin-stacked-captures .zorin-window {
    width: 80%;
  }
  .zorin-stacked-captures .capture-1 { transform: translate(-10%, -20%) scale(0.85); }
  .zorin-stacked-captures .capture-2 { transform: translate(10%, -10%) scale(0.9); }
  .zorin-stacked-captures .capture-3 { transform: translate(0, 15%) scale(1); }
}
@media (max-width: 480px) {
  .zorin-stacked-captures {
    height: 250px;
  }
}
