/* tab-video.css - Styles for the video tutorial tab */

/* Video container styling */
.video-container {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Responsive video wrapper with aspect ratio */
.responsive-video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.responsive-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Additional info section */
.additional-info {
  margin-top: 30px;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.additional-info h4 {
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--dark);
  font-size: 1.5rem;
  text-align: center;
}

/* Grid layout for info cards */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 15px;
}

/* Card styling */
.info-card {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f0f0f0;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-color: var(--accent-light);
}

/* Icon styling */
.info-icon {
  font-size: 28px;
  margin-bottom: 15px;
  color: var(--accent);
  text-align: center;
}

/* Title styling */
.info-title {
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-size: 1.1rem;
}

/* Description styling */
.info-desc {
  color: var(--medium-gray);
  font-size: 14px;
  line-height: 1.4;
}

/* Color variations for cards */
.info-card:nth-child(1) .info-icon {
  color: #4285F4; /* Blue */
}

.info-card:nth-child(2) .info-icon {
  color: #EA4335; /* Red */
}

.info-card:nth-child(3) .info-icon {
  color: #FBBC05; /* Yellow */
}

.info-card:nth-child(4) .info-icon {
  color: #34A853; /* Green */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .responsive-video-wrapper {
    padding-bottom: 75%; /* More square aspect ratio for mobile */
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .video-container, .additional-info {
    padding: 15px;
  }
  
  .additional-info h4 {
    font-size: 1.3rem;
  }
}