/* === ALBUKARAOQUE WEBSITE - VIDEOS PAGE === */
/* Video page specific styles and components */

/* === VIDEOS PAGE STYLES === */
.videos-hero {
  background: linear-gradient(135deg, #40B5A3 0%, #78D5C7 100%);
  color: white;
  padding: 10rem 0 8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.videos-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 2px, transparent 2px, transparent 4px);
  z-index: 1;
}

.videos-hero::after {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50%;
  height: 70%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
}

.videos-hero .hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 0 2rem;
}

.videos-hero .page-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.5px;
  transform: scale(1);
  transition: transform 0.3s ease;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.videos-hero .page-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.7);
  transition: width 0.5s ease;
}

.videos-hero:hover .page-title::after {
  width: 100%;
}

.videos-hero:hover .page-title {
  transform: scale(1.02);
}

.videos-hero .page-subtitle {
  font-size: 1.5rem;
  opacity: 0.95;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.featured-video-section {
  padding: 4rem 2rem;
  background: #f8f9fa;
}

.featured-video-container {
  max-width: 800px;
  margin: 0 auto;
}

.video-placeholder {
  background: white;
  border-radius: 15px;
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 2px dashed #e9ecef;
}

.video-placeholder .cta-button {
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .video-placeholder .cta-button {
    max-width: 180px;
    font-size: 0.9rem;
    padding: 0.8rem 1.5rem;
  }
}

.placeholder-content h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.placeholder-content p {
  color: #666;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.instagram-gallery-section {
  padding: 4rem 2rem;
}

.gallery-description {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.instagram-post {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.instagram-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.post-placeholder {
  padding: 2rem;
  text-align: center;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-placeholder h4 {
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.post-placeholder p {
  color: #666;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.post-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(45deg, #E4405F, #F56565);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.post-link:hover {
  background: linear-gradient(45deg, #d63384, #e53e3e);
  transform: translateY(-1px);
}

/* Instagram Embed Styles */
.instagram-post .instagram-media {
  margin: 0 !important;
  max-width: 100% !important;
  min-width: auto !important;
  width: 100% !important;
  border-radius: 15px !important;
  overflow: hidden;
}

.instagram-post blockquote {
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
}

.video-categories-section {
  padding: 4rem 2rem;
  background: #f8f9fa;
}

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

.category-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-color: #40B5A3;
}

.category-icon {
  margin-bottom: 1.5rem;
}

.category-icon i {
  font-size: 3rem;
  color: #40B5A3;
}

.category-card h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.category-card p {
  color: #666;
  line-height: 1.6;
}

.videos-cta-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  text-align: center;
}

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

.cta-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

/* === FIX FOR OVERFLOWING INSTAGRAM BUTTON === */
.video-placeholder .cta-button.primary {
  max-width: 200px;
  padding: 0.8rem 1.2rem;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .video-placeholder .cta-button.primary {
    max-width: 160px;
    font-size: 0.85rem;
    padding: 0.7rem 1rem;
  }
}

@media screen and (max-width: 480px) {
  .video-placeholder .cta-button.primary {
    max-width: 140px;
    font-size: 0.8rem;
    padding: 0.6rem 0.8rem;
  }
}

/* === INSTAGRAM BUTTON FIX === */
.placeholder-content .cta-button.primary {
  max-width: 200px;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 auto;
  display: inline-block;
}

@media screen and (max-width: 480px) {
  .placeholder-content .cta-button.primary {
    max-width: 160px;
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
  }
}

/* === RESPONSIVE DESIGN - VIDEOS === */
@media (max-width: 768px) {
  .page-title {
    font-size: 2.5rem;
  }
  
  .page-subtitle {
    font-size: 1.1rem;
  }
  
  .instagram-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .instagram-post .instagram-media {
    min-width: 280px !important;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-button {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .videos-hero {
    padding: 4rem 1rem 3rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .video-placeholder {
    padding: 2rem 1rem;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
}

/* === VIDEOS PAGE NAVIGATION FIXES === */
@media screen and (max-width: 600px) {
  /* Ensure hamburger menu is visible on videos page */
  .videos-hero ~ * .nav .icon,
  body .nav .icon {
    display: block;
    position: absolute;
    right: 15px;
    top: 28px;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 44px;
    z-index: 1001;
    color: #ffffff;
    cursor: pointer;
    font-size: 1.8em;
  }
  
  /* Ensure proper spacing for videos content */
  .videos-hero {
    margin-top: 56px;
  }
}
