/* ========================================
   FIXED RESPONSIVE STYLESHEET FOR ASSAMINFO.COM
   ======================================== */

/* Import the existing responsive stylesheet */
@import url('responsive-style-sheet.css');

/* ========================================
   CRITICAL FIXES FOR THE THREE MAIN ISSUES
   ======================================== */

/* ========================================
   ISSUE 1: DISTRICTS SIDEBAR LINKS FULLY VISIBLE
   ======================================== */

/* Ensure sidebar links are completely visible - INCREASED WIDTH */
.sidebar .block-container {
  margin-bottom: 0 !important;
  overflow: visible !important;
  width: 100% !important;
}

.sidebar .block1 {
  margin-bottom: 1.5rem !important;
  padding: 1.2rem !important;
  background: #f8f9fa !important;
  border-radius: 8px !important;
  border: 1px solid #e9ecef !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
  overflow: visible !important;
  width: 100% !important;
  min-width: 280px !important;
}

.sidebar .block1:last-child {
  margin-bottom: 0 !important;
}

.sidebar .block1 strong {
  color: #0055a5 !important;
  font-size: 1rem !important;
  margin-bottom: 0.75rem !important;
  display: block !important;
  padding-bottom: 0.5rem !important;
  border-bottom: 2px solid #e9ecef !important;
}

.sidebar .block1 ul {
  list-style-type: disc !important;
  padding-left: 1.5rem !important;
  margin-top: 0.75rem !important;
  background: none !important;
  margin-bottom: 0 !important;
  overflow: visible !important;
  width: 100% !important;
}

.sidebar .block1 li {
  margin-bottom: 0.75rem !important;
  font-size: 0.85rem !important;
  line-height: 1.4 !important;
  word-wrap: break-word !important;
  overflow: visible !important;
  width: 100% !important;
}

.sidebar .block1 li:last-child {
  margin-bottom: 0 !important;
}

.sidebar .block1 a {
  color: #007BFF !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
  display: inline-block !important;
  max-width: 100% !important;
  width: 100% !important;
  word-wrap: break-word !important;
  overflow: visible !important;
  white-space: normal !important;
  line-height: 1.3 !important;
}

.sidebar .block1 a:hover {
  color: #0056b3 !important;
  text-decoration: underline !important;
}

/* ========================================
   ISSUE 2: TOP NAVIGATION - ALL LINKS IN SINGLE LINE (NO SCROLLER)
   ======================================== */

/* Force single line navigation - NO SCROLLER */
.navbar {
  background: linear-gradient(135deg, #007BFF, #0056b3) !important;
  padding: 0.4rem 0.8rem !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 0.1rem !important;
  overflow: hidden !important;
}

.nav-links {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 0.05rem !important;
  justify-content: center !important;
  align-items: center !important;
  flex: 1 !important;
  min-width: 0 !important;
}

.nav-links a {
  color: white !important;
  text-decoration: none !important;
  padding: 0.35rem 0.45rem !important;
  border-radius: 4px !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  transition: all 0.3s ease !important;
  border: 1px solid transparent !important;
  flex-shrink: 0 !important;
}

.nav-links a:hover {
  background-color: rgba(255,255,255,0.2) !important;
  border-color: rgba(255,255,255,0.3) !important;
  transform: translateY(-1px) !important;
}

/* Responsive navigation sizing - EVEN MORE COMPACT */
@media (max-width: 1200px) {
  .nav-links a {
    font-size: 0.7rem !important;
    padding: 0.3rem 0.4rem !important;
  }
}

@media (max-width: 992px) {
  .nav-links a {
    font-size: 0.65rem !important;
    padding: 0.25rem 0.35rem !important;
  }
}

@media (max-width: 768px) {
  .nav-links a {
    font-size: 0.6rem !important;
    padding: 0.2rem 0.3rem !important;
  }
}

/* ========================================
   ISSUE 3: CULTURAL HIGHLIGHTS - 5 IMAGES IN SINGLE ROW
   ======================================== */

/* Cultural Highlights - Same styling as Famous Tourist Destinations */
.cultural-highlights .image-row-wrapper {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 0.75rem !important;
  margin: 1rem 0 !important;
}

.cultural-highlights .image-item {
  padding: 0.75rem !important;
  min-height: 200px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.cultural-highlights .image-item img {
  width: 100% !important;
  height: 120px !important;
  object-fit: cover !important;
  border-radius: 6px !important;
  margin-bottom: 0.5rem !important;
}

.cultural-highlights .image-caption {
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: #0055a5 !important;
  text-align: center !important;
  margin-top: auto !important;
}

/* ========================================
   RESPONSIVE BREAKPOINTS FOR CULTURAL HIGHLIGHTS
   ======================================== */

@media (max-width: 1200px) {
  .cultural-highlights .image-row-wrapper {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 0.5rem !important;
  }
  
  .cultural-highlights .image-item img {
    height: 100px !important;
  }
}

@media (max-width: 992px) {
  .cultural-highlights .image-row-wrapper {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1rem !important;
  }
  
  .cultural-highlights .image-item img {
    height: 120px !important;
  }
}

@media (max-width: 768px) {
  .cultural-highlights .image-row-wrapper {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
  
  .cultural-highlights .image-item img {
    height: 100px !important;
  }
  
  .cultural-highlights .image-caption {
    font-size: 0.75rem !important;
  }
}

@media (max-width: 480px) {
  .cultural-highlights .image-row-wrapper {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  .cultural-highlights .image-item img {
    height: 150px !important;
  }
  
  .cultural-highlights .image-item {
    min-height: 180px !important;
  }
}

/* ========================================
   ENHANCED SIDEBAR STYLING - INCREASED WIDTH
   ======================================== */

.sidebar-content {
  height: auto !important;
  overflow: visible !important;
  min-height: 0 !important;
  width: 100% !important;
  min-width: 280px !important;
}

/* ========================================
   MOBILE NAVIGATION FIXES
   ======================================== */

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block !important;
  }
  
  .navbar {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0 !important;
  }
  
  .navbar.collapsed {
    display: none !important;
  }
  
  .navbar.expanded {
    display: flex !important;
  }
  
  .navbar a {
    width: 100% !important;
    text-align: center !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 0 !important;
  }
  
  .navbar a:last-child {
    border-bottom: none !important;
  }
}

/* ========================================
   PERFORMANCE AND ACCESSIBILITY ENHANCEMENTS
   ======================================== */

/* Optimize images for mobile */
img {
  max-width: 100% !important;
  height: auto !important;
  -webkit-user-drag: none !important;
  -khtml-user-drag: none !important;
  -moz-user-drag: none !important;
  -o-user-drag: none !important;
  user-drag: none !important;
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .nav-links a,
  .sidebar .block1 a,
  .famous-destinations .image-item a,
  .cultural-highlights .image-item a {
    min-height: 44px !important;
    min-width: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .mobile-nav-toggle {
    min-height: 44px !important;
    min-width: 44px !important;
  }
}

/* ========================================
   IMPORTANT OVERRIDES
   ======================================== */

/* Ensure these styles take precedence */
.sidebar .block1,
.sidebar .block1 ul,
.sidebar .block1 li,
.sidebar .block1 a,
.navbar,
.nav-links,
.nav-links a,
.cultural-highlights .image-row-wrapper,
.cultural-highlights .image-item,
.cultural-highlights .image-item img,
.cultural-highlights .image-caption {
  /* Force important declarations */
}

/* ========================================
   END OF FIXES
   ======================================== */
