/* ==========================================================================
   Sri Sai Balaji Ventures and Construction - Professional Video Platform Stylesheet
   Dark Mode & Light Mode Theme Support
   Solid Colors Only, YouTube-Caliber 2-Column Watch Layout,
   Full Interactive Comments Section, Responsive for Laptop & Mobile
   ========================================================================== */

/* Light Theme Variables (Default & Only) */
:root, body, body.light-theme {
  --bg-main: #f9fafb;
  --bg-header: #ffffff;
  --bg-surface: #ffffff;
  --bg-surface-hover: #f1f5f9;
  --bg-card: #ffffff;
  --border-subtle: #e2e8f0;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --accent-blue: #2563eb;
  --subscribe-bg: #0f172a;
  --subscribe-color: #ffffff;
  --desc-bg: #f1f5f9;
  --pill-bg: #f1f5f9;
  --pill-hover: #e2e8f0;
  --input-bg: #f8fafc;
  --comment-avatar-bg: #e2e8f0;
  --skeleton-bg: #e2e8f0;
  --header-height: 80px;
  --rail-width: 0px;
  --bottom-bar-height: 0px;
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-full: 9999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.15s ease;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-family);
  overflow-x: hidden;
  font-size: 14px;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
}

input {
  font-family: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   Icons & Standard Utilities
   ========================================================================== */
.icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
}

.icon-sm {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.icon-xs {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--text-secondary);
}

.icon-btn:hover {
  background-color: var(--bg-surface-hover);
  color: var(--text-primary);
}

.theme-toggle-btn {
  color: var(--text-primary);
}

.theme-toggle-btn:hover {
  color: var(--accent-blue);
}

/* ==========================================================================
   Header (Liquid Glass Top Navigation)
   ========================================================================== */
.app-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1100px;
  height: 64px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 9999px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 100;
  transition: all 0.3s ease;
}

.header-left {
  display: flex;
  align-items: center;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.brand-link:hover {
  opacity: 0.88;
}

.brand-logo-img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 8px;
  border: 1.5px solid rgba(214, 170, 77, 0.75);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.brand-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #0f172a;
}

/* Header Navigation Links */
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.65);
  position: relative;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.01em;
  text-decoration: none;
}

.nav-link:hover {
  color: #0f172a;
  background-color: rgba(15, 23, 42, 0.06);
}

.nav-link.active {
  color: #8b6508;
  background-color: rgba(139, 101, 8, 0.1);
  border: 1px solid rgba(139, 101, 8, 0.25);
}

.nav-link--contact {
  background-color: rgba(139, 101, 8, 0.08);
  border: 1px solid rgba(139, 101, 8, 0.35);
  color: #8b6508;
  font-weight: 700;
  padding: 8px 20px;
  backdrop-filter: blur(8px);
}

.nav-link--contact:hover {
  background-color: #c9a84c;
  border-color: #c9a84c;
  color: #07090e;
  box-shadow: 0 4px 18px rgba(201, 168, 76, 0.3);
  transform: translateY(-1px);
}

.nav-icon {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* Mobile Quick Contact Button */
.header-mobile-call-btn {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: 9999px;
  background-color: rgba(139, 101, 8, 0.1);
  border: 1px solid rgba(139, 101, 8, 0.35);
  color: #8b6508;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.header-mobile-call-btn:hover {
  background-color: #c9a84c;
  color: #07090e;
}

.header-mobile-call-btn .mobile-call-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }
  .header-mobile-call-btn {
    display: flex;
  }
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: #f3d987;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle-btn:hover {
  background: rgba(214, 170, 77, 0.2);
  border-color: rgba(214, 170, 77, 0.7);
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 0 22px rgba(214, 170, 77, 0.4);
}

body.light-theme .theme-toggle-btn {
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #8b6508;
}

.mobile-search-overlay input {
  flex: 1;
  height: 36px;
  background-color: var(--input-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0 14px;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
}

/* ==========================================================================
   Main Page Shell & Layout Containers
   ========================================================================== */
.page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

.sidebar-rail {
  display: none !important;
}

/* Home View & Feed Shell */
.home-view {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

.home-feed-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 56px 28px 64px;
  width: 100%;
}

.content-view {
  flex: 1;
  margin-left: 0;
  padding: calc(var(--header-height) + 24px) 28px 48px;
  min-width: 0;
  max-width: 1440px;
  margin-inline: auto;
  width: 100%;
}

.feed-section-header {
  margin-bottom: 28px;
}

.feed-section-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #c9a84c;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.feed-heading {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: -0.025em;
}

.feed-subheading {
  font-size: 13.5px;
  color: var(--text-secondary);
}

/* ==========================================================================
   Hero Section — Full-Screen Immersive Architectural Experience
   ========================================================================== */
.hero-screen {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
  padding-bottom: 40px;
  padding-inline: 24px;
  background-color: #f8fafc;
  overflow: hidden;
  border-bottom: 1px solid #e2e8f0;
}

.hero-inner-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 880px;
  margin: auto 0;
  padding: 24px 0;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  overflow: hidden;
}

.hero-bg-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.5);
  width: 100vw;
  height: calc(100vw * 16 / 9);
}

@media (max-aspect-ratio: 9/16) {
  .hero-bg-video iframe {
    width: calc(100vh * 9 / 16);
    height: 100vh;
  }
}

.hero-brand-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title-main {
  font-size: clamp(3.2rem, 8.5vw, 6.4rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: #0f172a;
}

.hero-title-sub {
  font-size: clamp(0.9rem, 2.2vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  color: #8b6508;
  margin-top: 16px;
  text-transform: uppercase;
}

.hero-accent-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0 36px;
}

.hero-accent-divider .divider-line {
  width: 52px;
  height: 2px;
  background-color: #c9a84c;
}

.hero-accent-divider .divider-diamond {
  font-size: 9px;
  color: #8b6508;
  opacity: 0.9;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 440px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.hero-btn--primary {
  background-color: #c9a84c;
  color: #07090e;
  border: 1px solid #c9a84c;
  flex: 1;
}

.hero-btn--primary:hover {
  background-color: #dbb95e;
  border-color: #dbb95e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.3);
}

.hero-btn--secondary {
  background-color: #ffffff;
  color: #8b6508;
  border: 1px solid rgba(139, 101, 8, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  flex: 1;
}

.hero-btn--secondary:hover {
  background-color: rgba(139, 101, 8, 0.08);
  border-color: rgba(139, 101, 8, 0.6);
  color: #0f172a;
  transform: translateY(-2px);
}

.hero-btn .btn-icon {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.hero-btn .btn-icon-arrow {
  width: 17px;
  height: 17px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.hero-btn--secondary:hover .btn-icon-arrow {
  transform: translateY(2px);
}

/* Animated Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: rgba(139, 101, 8, 0.7);
  transition: all 0.2s ease;
}

.scroll-mouse {
  width: 20px;
  height: 32px;
  border-radius: 12px;
  border: 1.5px solid rgba(139, 101, 8, 0.4);
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background-color: #c9a84c;
  animation: scrollPulse 1.8s infinite;
}

@keyframes scrollPulse {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(8px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* Light Theme Adjustments for Hero */
body.light-theme .hero-screen {
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

body.light-theme .hero-title-main {
  color: #0f172a;
}

body.light-theme .hero-title-sub {
  color: #8b6508;
}

body.light-theme .hero-btn--secondary {
  background: rgba(255, 255, 255, 0.8);
  color: #8b6508;
  border-color: rgba(139, 101, 8, 0.35);
}

body.light-theme .hero-btn--secondary:hover {
  background: rgba(139, 101, 8, 0.08);
  border-color: rgba(139, 101, 8, 0.6);
  color: #0f172a;
}

/* Mobile Responsiveness for Hero */
@media (max-width: 768px) {
  .brand-link {
    gap: 8px;
    padding: 0;
  }
  .brand-name {
    font-size: 15px;
  }
  .brand-logo-img {
    width: 34px;
    height: 34px;
  }
  .hero-screen {
    padding-top: var(--header-height);
    padding-bottom: 32px;
    padding-inline: 18px;
    justify-content: center;
  }
  .hero-inner-content {
    padding: 16px 0;
  }
  .hero-title-main {
    font-size: clamp(2.5rem, 12vw, 3.6rem);
  }
  .hero-title-sub {
    font-size: 12px;
    letter-spacing: 0.22em;
    margin-top: 12px;
  }
  .hero-accent-divider {
    margin: 22px 0 28px;
  }
  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 100%;
  }
  .hero-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 14.5px;
  }
  .hero-scroll-indicator {
    display: none;
  }
  .home-feed-shell {
    padding: 32px 16px 48px;
  }
}


/* ==========================================================================
   Image Slider Grid (Horizontal Scroll)
   ========================================================================== */
.image-slider-wrapper {
  width: 100%;
  margin-bottom: 36px;
  position: relative;
}

.image-slider-container {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 24px;
  /* Hide scrollbar for cleaner look */
  -ms-overflow-style: none;  
  scrollbar-width: none;  
}

.image-slider-container::-webkit-scrollbar {
  display: none;
}

.slider-card {
  flex: 0 0 420px; /* Increased width for cards */
  scroll-snap-align: center;
  background-color: #ffffff;
  border: 1px solid rgba(214, 170, 77, 0.25);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.slider-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(214, 170, 77, 0.15);
  border-color: rgba(214, 170, 77, 0.6);
}

.slider-media-box {
  width: 100%;
  height: 500px; /* Increased height container */
  background-color: #f8fafc;
  padding: 16px; /* Gap at top and below */
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Keeps aspect ratio neat without stretching to fill */
  border-radius: 12px;
  transition: transform 0.5s ease;
}

.slider-card:hover .slider-img {
  transform: scale(1.05);
}

.slider-actions {
  padding: 16px;
  background-color: #ffffff;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: center;
}

.slider-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background-color: #c9a84c;
  color: #07090e;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(201, 168, 76, 0.2);
}

.slider-contact-btn:hover {
  background-color: #dbb95e;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(201, 168, 76, 0.4);
}

@media (max-width: 768px) {
  .slider-card {
    flex: 0 0 320px;
  }
  .slider-media-box {
    height: 400px;
  }
}

.thumb-canvas {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.post-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  background-color: rgba(12, 17, 23, 0.9);
}

.post-collage__tile {
  min-height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(1.05) contrast(1.06);
}

.post-collage__tile--a {
  background: url('https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
}

.post-collage__tile--b {
  background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
}

.post-collage__tile--c {
  background: url('https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
}

.post-collage__tile--d {
  background: url('https://images.unsplash.com/photo-1448630360428-65456885c650?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
}

.duration-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 7px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
}

.card-details {
  padding: 12px 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.avatar-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #0f171d;
  border: 1px solid rgba(214, 170, 77, 0.5);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.video-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #f5d38a;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.author-name {
  font-size: 12px;
  color: #d9dfe8;
}

.video-stats {
  font-size: 12px;
  color: #acb8c2;
}

.post-card--sunset {
  background-color: #17181c;
}

.post-card--coast {
  background-color: #121824;
}

.post-card--mountain {
  background-color: #14181e;
}

.post-card--city {
  background-color: #12151e;
}

@media (max-width: 820px) {
  .video-cards-grid {
    grid-template-columns: 1fr;
  }
}

.author-name {
  font-size: 12px;
  color: var(--text-secondary);
}

.video-stats {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   Loading Skeletons (Solid Pulse)
   ========================================================================== */
.loading-skeletons-section {
  margin-top: 10px;
}

.skeletons-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.skeletons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px 16px;
}

@keyframes solidPulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.9; }
}

.skeleton-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: solidPulse 1.6s infinite ease-in-out;
}

.skeleton-thumb-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--skeleton-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.skeleton-caption {
  display: flex;
  gap: 10px;
}

.skeleton-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--skeleton-bg);
  flex-shrink: 0;
}

.skeleton-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.skeleton-line {
  height: 12px;
  background-color: var(--skeleton-bg);
  border-radius: 3px;
}

.skeleton-line.w-85 { width: 85%; }
.skeleton-line.w-55 { width: 55%; }

/* ==========================================================================
   Lightbox Modal Styles
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(10px);
}

.lightbox-modal.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lightbox-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
  z-index: 2;
}

.lightbox-close-btn:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.lightbox-close-btn .icon {
  width: 24px;
  height: 24px;
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-width: 1200px;
}

.lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 140px); /* Leave space for button */
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  user-select: none;
}

.lightbox-actions {
  margin-top: 24px;
}

.lightbox-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background-color: #c9a84c;
  color: #07090e;
  border-radius: 99px;
  font-weight: 800;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.4);
  transition: all 0.3s ease;
}

.lightbox-contact-btn:hover {
  background-color: #dbb95e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.6);
}

@media (max-width: 768px) {
  .lightbox-modal {
    padding: 24px 16px;
  }
  .lightbox-close-btn {
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
  }
  .lightbox-img {
    max-height: calc(100vh - 120px);
  }
  .lightbox-contact-btn {
    padding: 12px 24px;
    font-size: 15px;
  }
}

/* ==========================================================================
   Projects Section
   ========================================================================== */
.named-projects-section {
  margin-bottom: 60px;
}

.projects-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 85vh;
  background-color: #000;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 2;
  transition: opacity 0.5s ease;
}

.video-thumbnail.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Overlay blocks all interaction with the iframe so YouTube UI cannot be clicked */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  background: transparent;
  pointer-events: auto; /* Catch clicks */
}

/* When video is playing, overlay is still active to prevent pausing */
.video-overlay.playing {
  cursor: default;
}

/* Improved Premium Play Button (No Gradient, Aesthetic Glass) */
.project-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: none;
  color: #111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.project-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: #ffffff;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

.project-play-btn.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.project-play-btn .play-icon {
  width: 40px;
  height: 40px;
  margin-left: 6px; /* Offset to center the triangle optically */
}

/* Stop Button (Aesthetic Dark Glass Pill) */
.project-stop-btn {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background-color: rgba(17, 17, 17, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  padding: 10px 20px;
  border-radius: 99px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.project-stop-btn:hover {
  transform: translateY(-2px);
  background-color: #000;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

.project-stop-btn.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.project-stop-btn .stop-icon {
  width: 16px;
  height: 16px;
}

/* Scaled Iframe to hide YouTube UI */
.iframe-clipper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.project-video-iframe {
  width: 100%;
  height: 100%;
  /* Removed scale to ensure the video layout is never cut or cropped */
  transform: none; 
}

@media (max-width: 768px) {
  .projects-video-grid {
    grid-template-columns: 1fr;
  }
  .project-video-card {
    border-radius: 16px;
    max-height: 70vh;
  }
}

/* ==========================================================================
   VIEW 2: IMPROVED WATCH PAGE (2-COLUMN THEATER LAYOUT)
   ========================================================================== */
.watch-page-wrapper {
  max-width: 1280px;
  margin: 0 auto;
}

.watch-top-bar {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.back-link-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
}

.back-link-btn:hover {
  background-color: var(--bg-surface-hover);
  border-color: var(--accent-blue);
}

/* 2-Column Grid Layout */
.watch-columns-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  align-items: start;
}

.watch-primary-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.watch-secondary-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

/* Video Player Viewport */
.player-viewport {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  background-color: #000000;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

#natureVideoCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Player Controls Bar */
.player-controls-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(18, 18, 18, 0.95);
  border-top: 1px solid #333333;
  padding: 6px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.seek-track {
  width: 100%;
  height: 4px;
  background-color: #383838;
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

.seek-progress {
  width: 0%;
  height: 100%;
  background-color: var(--accent-blue);
  border-radius: 2px;
}

.controls-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.actions-left, .actions-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ctrl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  padding: 2px;
}

.ctrl-btn:hover {
  color: var(--accent-blue);
}

.time-label {
  font-size: 12px;
  color: #cccccc;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

/* ==========================================================================
   Video Info & Channel Header
   ========================================================================== */
.video-info-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.watch-video-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.35;
}

.watch-channel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.channel-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.channel-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #0f171d;
  border: 1.5px solid rgba(214, 170, 77, 0.6);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-meta {
  display: flex;
  flex-direction: column;
}

.channel-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.channel-sub {
  font-size: 12px;
  color: var(--text-secondary);
}

.subscribe-btn {
  background-color: var(--subscribe-bg);
  color: var(--subscribe-color);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-left: 10px;
  transition: opacity 0.15s ease;
}

.subscribe-btn:hover {
  opacity: 0.88;
}

.subscribe-btn.subscribed {
  background-color: var(--pill-bg);
  color: var(--text-primary);
}

.video-action-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.action-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--pill-bg);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: background-color 0.15s ease;
}

.action-pill-btn:hover {
  background-color: var(--pill-hover);
}

.action-pill-btn.liked {
  color: var(--accent-blue);
}

/* Video Description Card */
.video-description-card {
  background-color: var(--desc-bg);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.views-date-row {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.description-text {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.55;
}

/* ==========================================================================
   FULL INTERACTIVE COMMENTS SECTION
   ========================================================================== */
.comments-section {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comments-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.comments-count {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
}

/* Add Comment Box */
.add-comment-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.user-avatar-sm {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #0f171d;
  border: 1px solid rgba(214, 170, 77, 0.4);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.add-comment-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.add-comment-field input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.add-comment-field input:focus {
  border-bottom-color: var(--accent-blue);
}

.comment-actions-row {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.comment-cancel-btn {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

.comment-cancel-btn:hover {
  background-color: var(--bg-surface-hover);
  color: var(--text-primary);
}

.comment-submit-btn {
  background-color: var(--accent-blue);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.comment-submit-btn:hover {
  opacity: 0.9;
}

/* Comments List */
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.comment-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--comment-avatar-bg);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.comment-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.comment-author-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.comment-author {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.comment-time {
  font-size: 12px;
  color: var(--text-muted);
}

.comment-content {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.45;
}

.comment-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.comment-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
}

.comment-like-btn:hover {
  color: var(--text-primary);
}

.comment-like-btn.liked {
  color: var(--accent-blue);
}

.reply-text-btn {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.reply-text-btn:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   RECOMMENDED VIDEOS SIDEBAR (Right Column)
   ========================================================================== */
.sidebar-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.recommended-videos-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.recommended-card {
  display: flex;
  gap: 10px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.recommended-card:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.rec-thumb {
  width: 140px;
  aspect-ratio: 16 / 9;
  background-color: #000000;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.rec-thumb canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.rec-duration {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background-color: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
}

.rec-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  justify-content: center;
  min-width: 0;
}

.rec-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rec-channel {
  font-size: 12px;
  color: var(--text-secondary);
}

.rec-stats {
  font-size: 11px;
  color: var(--text-muted);
}

/* ==========================================================================
   Mobile Bottom Navigation Bar
   ========================================================================== */
.mobile-bottom-bar {
  display: none !important;
}

.mobile-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 1;
  height: 100%;
  color: var(--text-secondary);
}

.mobile-tab-btn.active {
  color: var(--accent-blue);
}

.mobile-tab-btn span {
  font-size: 10px;
  font-weight: 600;
}

.mob-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--accent-blue);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Account Flyout Menu
   ========================================================================== */
.account-flyout {
  position: fixed;
  top: 54px;
  right: 16px;
  width: 220px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 0;
  z-index: 250;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.account-user-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 10px;
}

.user-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.user-handle {
  font-size: 12px;
  color: var(--text-secondary);
}

.menu-divider {
  height: 1px;
  background-color: var(--border-subtle);
  margin: 6px 0;
}

.account-item-btn {
  padding: 9px 14px;
  text-align: left;
  font-size: 13px;
  color: var(--text-primary);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.account-item-btn:hover {
  background-color: var(--bg-surface-hover);
}

/* ==========================================================================
   Toast Notice
   ========================================================================== */
.toast-popup {
  position: fixed;
  bottom: 68px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--bg-header);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  z-index: 500;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Telugu CTA Banner Section
   ========================================================================== */
.telugu-cta-section {
  width: 100%;
  padding: 80px 24px;
  background-color: var(--subscribe-bg); /* Premium deep slate/navy from site theme */
  border-top: 2px solid #c9a84c;
  margin-bottom: 0;
  display: flex;
  justify-content: center;
}

.cta-banner-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.telugu-graceful-text {
  font-family: 'Ramabhadra', 'Tenali Ramakrishna', sans-serif;
  font-size: 44px;
  font-weight: 400;
  color: #c9a84c; /* Solid Elegant Gold */
  line-height: 1.5;
  margin: 0;
  text-shadow: none; /* Removed shadow for flat aesthetic */
  flex: 1 1 500px;
}

.cta-dial-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #c9a84c; /* Solid Elegant Gold */
  color: #0f172a; /* Deep slate text */
  font-size: 18px;
  font-weight: 700;
  padding: 18px 40px;
  border-radius: 99px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  box-shadow: none; /* Flat solid aesthetic */
  border: 2px solid #c9a84c;
  white-space: nowrap;
}

.cta-dial-btn:hover {
  background-color: transparent; /* Inverse hover effect */
  color: #c9a84c;
  transform: translateY(-2px);
}

.cta-dial-btn .phone-icon {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   Site Footer Label
   ========================================================================== */
.site-footer {
  margin-top: 60px;
  padding-top: 40px;
  padding-bottom: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background-color: var(--bg-card); /* Dark panel */
  border-radius: 24px 24px 0 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  margin-bottom: 30px;
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 400px;
}

.footer-heading {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-icon {
  font-size: 16px;
  color: var(--accent);
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-credits {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-text strong {
  color: var(--accent);
  font-weight: 600;
}

.footer-bullet {
  color: rgba(255, 255, 255, 0.2);
}

.footer-demo-pill {
  background: rgba(201, 168, 76, 0.1);
  color: var(--accent);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-copyright {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
.desktop-only {
  display: flex;
}

.mobile-only {
  display: none !important;
}

@media (max-width: 960px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: flex !important;
  }

  .content-view {
    margin-left: 0;
    padding: calc(var(--header-height) + 16px) 16px 36px;
  }

  .watch-columns-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .video-cards-grid {
    grid-template-columns: 1fr;
  }

  .skeletons-grid {
    grid-template-columns: 1fr;
  }

  .watch-video-title {
    font-size: 17px;
  }

  .rec-thumb {
    width: 120px;
  }

  .cta-banner-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .telugu-graceful-text {
    font-size: 26px;
    flex: none;
  }

  .site-footer {
    margin-top: 40px;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}