/* ==========================================================================
   SOCIAL MEDIA AND CONTACT SECTION - ORGANIZED STYLESHEET
   ========================================================================== */

/* 
 * TABLE OF CONTENTS:
 * 1. Section Container
 * 2. Section Typography
 * 3. Social Media Icons Grid
 * 4. Social Icons Base Styling
 * 5. Platform-Specific Styling
 * 6. Contact Subsection
 * 7. Media Queries (Mobile, Tablet, Desktop, Large Desktop)
 * ========================================================================== */


/* 1. SECTION CONTAINER
   ========================================================================== */

.social-media-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 0;
  overflow: hidden;
  z-index: 10;
  background-color: #000000;
}

.social-media-section .container {
  z-index: 6;
}


/* 2. SECTION TYPOGRAPHY
   ========================================================================== */
.social-section-title {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
}

.social-section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.contact-subtitle {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  font-weight: 600;
  font-family: 'Oswald', sans-serif;
}


/* 3. SOCIAL MEDIA GRID LAYOUT
   ========================================================================== */
.social-media-grid {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 2rem;
}


/* 4. SOCIAL ICONS - BASE STYLING
   ========================================================================== */
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  line-height: 0 !important; /* Prevent line-height issues */
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  margin-bottom: 15px;
  border: 2px solid var(--bronze-accent);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.social-icon i {
  font-size: 1.5rem;
}

.social-platform-name {
  font-size: 0.9rem;
  margin-top: 5px;
  display: block;
  text-align: center;
}

.social-icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-light);
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon-link:hover {
  transform: translateY(-10px);
  color: var(--gold-accent);
}

.social-icon-link:hover .social-icon {
  background-color: rgba(0, 0, 0, 0.8);
  border-color: var(--gold-accent);
}


/* 5. PLATFORM-SPECIFIC STYLING
   ========================================================================== */
/* 5.1 YouTube Icon */
.youtube-link .social-icon {
  width: 80px;
  height: 80px;
  border-width: 3px;
}

.bi-youtube::before {
    line-height: 0 !important; /* Prevent line-height issues */
}

.youtube-link .social-icon i {
  font-size: 2.4rem;
}

.youtube-link .social-platform-name {
  font-size: 1rem;
  margin-top: 8px;
}

.youtube-link:hover { color: #ff0000; }

/* 5.2 Contact Icon */
.contact-link .social-icon {
  width: 80px;
  height: 80px;
  border-width: 3px;
}

.bi-envelope::before {
    line-height: 0 !important; /* Prevent line-height issues */
}

.contact-link .social-icon i {
  font-size: 2.4rem;
}

.contact-link .social-platform-name {
  font-size: 1rem;
  margin-top: 8px;
}

.contact-link:hover { color: #17a2b8; }

/* 5.3 Other Platform Colors */
.facebook-link:hover { color: #1877f2; }
.instagram-link:hover { color: #e4405f; }
.twitter-link:hover { color: #1da1f2; }
.tumblr-link:hover { color: #021A35; }

/* 5.4 Tumblr SVG Icon */
.tumblr-svg {
  width: 60px;
  height: 60px;
  filter: invert(100%);
  transition: filter 0.3s ease;
}

.tumblr-link:hover .tumblr-svg {
  filter: brightness(0) saturate(100%) invert(7%) sepia(39%) saturate(4198%) 
          hue-rotate(200deg) brightness(96%) contrast(99%);
}


/* 6. CONTACT SUBSECTION
   ========================================================================== */
.contact-subsection {
  margin-top: 4rem;
}

.contact-grid {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Contact Icon Styling */
.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 75px;
  height: 75px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  margin-bottom: 15px;
  border: 2px solid var(--bronze-accent);
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.contact-icon i {
  font-size: 2.4rem;
  color: var(--text-light);
  transition: color 0.3s ease;
  line-height: 0 !important;
}

.contact-icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-light);
  transition: transform 0.3s ease, color 0.3s ease;
}

.contact-icon-link:hover {
  transform: translateY(-12px);
  color: var(--gold-accent);
}

.contact-icon-link:hover .contact-icon {
  background-color: rgba(0, 0, 0, 0.8);
  border-color: var(--gold-accent);
  transform: scale(1.05);
}

.contact-icon-link:hover .contact-icon i {
  color: var(--gold-accent);
}


/* 7. MEDIA QUERIES
   ========================================================================== */

/* 7.1 Mobile Styles (up to 767px) */
@media (max-width: 767px) {
  /* Section container spacing */
  .social-media-section {
    padding: 5rem 0;
  }
  
  /* Typography */
  .social-section-title {
    font-size: 2.2rem;
  }
  
  .social-section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .contact-subtitle {
    font-size: 1.8rem;
  }
  
  /* Social grid layout - 2x2 grid */
  .social-media-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 2rem;
  }
  
  /* Consistent icon sizes for YouTube and Contact */
  .youtube-link .social-icon,
  .contact-link .social-icon {
    width: 75px;
    height: 75px;
    border-width: 2px;
  }
  
  .youtube-link .social-icon i,
  .contact-link .social-icon i {
    font-size: 2.4rem;
    line-height: 0 !important;
  }
  
  .youtube-link .social-platform-name,
  .contact-link .social-platform-name {
    font-size: 1rem;
    margin-top: 6px;
  }
  
  /* Tumblr icon */
  .tumblr-svg {
    width: 25px;
    height: 25px;
  }
}

/* 7.2 Tablet Styles (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  /* Icon sizing */
  .social-icon {
    width: 70px;
    height: 70px;
    border-width: 2px;
  }
  
  .social-icon i {
    font-size: 2.2rem;
  }
  
  .social-platform-name {
    font-size: 0.95rem;
    margin-top: 7px;
  }
  
  /* Tumblr icon */
  .tumblr-svg {
    width: 28px;
    height: 28px;
  }
  
  /* Contact section */
  .contact-icon {
    width: 85px;
    height: 85px;
    border-width: 3px;
  }
  
  .contact-icon i {
    font-size: 2.8rem;
  }
  
  /* YouTube icon */
  .youtube-link .social-icon {
    width: 85px;
    height: 85px;
    border-width: 3px;
  }
  
  .youtube-link .social-icon i {
    font-size: 2.8rem;
  }
}

/* 7.3 Desktop Styles (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  /* Section typography */
  .social-section-title {
    font-size: 2.8rem;
  }
  
  .social-section-subtitle {
    font-size: 1.2rem;
  }
  
  .contact-subtitle {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }
  
  /* Icon sizing */
  .social-icon {
    width: 80px;
    height: 80px;
    border-width: 3px;
  }
  
  .social-icon i {
    font-size: 2.5rem;
  }
  
  .social-platform-name {
    font-size: 1rem;
    margin-top: 8px;
  }
  
  /* Tumblr icon */
  .tumblr-svg {
    width: 35px;
    height: 35px;
  }
  
  /* Contact section */
  .contact-icon {
    width: 100px;
    height: 100px;
    border-width: 3px;
  }
  
  .contact-icon i {
    font-size: 3rem;
  }
  
  /* YouTube icon */
  .youtube-link .social-icon {
    width: 100px;
    height: 100px;
    border-width: 3px;
  }
  
  .youtube-link .social-icon i {
    font-size: 3rem;
  }
}

/* 7.4 Large Desktop Styles (1200px and up) */
@media (min-width: 1200px) {
  /* Section typography */
  .social-section-title {
    font-size: 3rem;
  }
  
  .social-section-subtitle {
    font-size: 1.2rem;
  }
  
  /* Icon sizing */
  .social-icon {
    width: 90px;
    height: 90px;
    border-width: 3px;
  }
  
  .social-icon i {
    font-size: 3rem;
  }
  
  .social-platform-name {
    font-size: 1.1rem;
    margin-top: 10px;
  }
  
  /* Tumblr icon */
  .tumblr-svg {
    width: 40px;
    height: 40px;
  }
  
  /* Contact and YouTube with consistent large sizing */
  .contact-icon,
  .youtube-link .social-icon {
    width: 110px;
    height: 110px;
    border-width: 4px;
  }
  
  .contact-icon i,
  .youtube-link .social-icon i {
    font-size: 3.5rem;
  }
  
  /* Hover effects */
  .contact-icon-link:hover {
    transform: translateY(-15px);
  }
}

/* Mobile video optimizations */
@media (max-width: 767px) {
  #hero-video {
    width: 100% !important;
    height: auto !important;
    max-height: 100vh !important;
    object-fit: contain !important;
    background-color: var(--dark-bg);
  }
  
  /* Play button for mobile autoplay fallback */
  .mobile-play-button {
    animation: pulse 2s infinite;
  }
  
  @keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
    100% { transform: translate(-50%, -50%) scale(1); }
  }
}

/* Video loading poster */
.video-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark-bg);
  z-index: 0;
}